Function at 0x433860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
mov edi, ecx
cmp word [esi], 0
je 0x433901
mov ecx, esi
call fcn.004828e0
mov ebp, eax
sub ebp, 1
js 0x433890
cmp ebp, 0x14
jl 0x433903
cmp byte [0x4eb7dc], 0
mov ecx, 0x4eb110
je 0x4338bb
push 0
push edi
push 9
push esi
push str.Max_window_number_is_20.
call fcn.004303b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x10
cmp byte [0x4eb7df], 0
je 0x4338e6
push dword [edi + 4]
movzx eax, word [edi + 2]
push eax
push esi
push str.Max_window_number_is_20.
call fcn.004302a0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x10
push edi
push esi
push 9
push str.Max_window_number_is_20.
call fcn.00430430
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x10
xor ebp, ebp
mov eax, dword [esp + 0xc0]
mov ebx, dword [ebp*4 + 0x4ea070]
cmp word [eax], 0
jne 0x43394a
test ebx, ebx
je 0x43392d
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43392d
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp*4 + 0x4ea070], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0x10
mov eax, dword [esp + 0xc4]
cmp word [eax], 0
je 0x433973
mov eax, dword [esp + 0xc8]
cmp word [eax], 0
je 0x433973
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov byte [esp + 0x17], 0
jmp 0x433998
lea eax, [esp + 0x18]
mov byte [esp + 0x17], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add edi, 0x10
mov eax, dword [esp + 0xc8]
add esi, 0x10
mov ecx, dword [esp + 0xc4]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
cmp word [ecx], 0
jne 0x4339b4
cmp word [eax], 0
je 0x4339c6
push 4
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.004838a0
add esp, 4
mov eax, dword [esp + 0xc4]
cmp word [eax], 0
je 0x4339e0
mov ecx, eax
call fcn.004828e0
mov edi, eax
add edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc8]
cmp word [eax], 0
je 0x4339fa
mov ecx, eax
call fcn.004828e0
mov esi, eax
add esi, dword [esp + 0x24]
push 2
push esi
push edi
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [0x4eb94c], 6
ja 0x433a34
cmp dword [0x4eb950], 1
ja 0x433a34
xor cl, cl
jmp 0x433a36
mov cl, 1
test cl, cl
mov dword [esp + 0x70], 0
lea eax, [esp + 0xa4]
mov dword [esp + 0x50], 0x30
lea edx, [esp + 0x94]
mov dword [esp + 0x54], 0x20
cmove eax, edx
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x74], eax
movups xmmword [esp + 0x80], xmm0
movups xmmword [esp + 0x20], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x78], xmm0
test ebx, ebx
je 0x433ab3
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433ab3
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x16], 0
jmp 0x433b03
push 0
push 0
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 3
push 0
push str.tooltips_class32
push 8
mov byte [esp + 0x46], 1
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
lea eax, [esp + 0x50]
push eax
push 0
push 0x432
mov dword [ebp*4 + 0x4ea070], ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call ebp
movups xmm0, xmmword [esp + 0x80]
lea eax, [esp + 0x40]
push eax
push 0
push 0x41f
push ebx
movups xmmword [esp + 0x50], xmm0
call ebp
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
lea eax, [eax + eax*2]
shl eax, 5
cdq
idiv dword [0x4eb0e0]
push eax
push 0
push 0x418
push ebx
call ebp
cmp byte [esp + 0x16], 0
je 0x433b6a
movzx ecx, si
shl ecx, 0x10
movzx eax, di
or ecx, eax
push ecx
push 0
push 0x412
push ebx
call ebp
lea eax, [esp + 0x50]
push eax
push 1
push 0x411
jmp 0x433b88
mov edx, dword [esp + 0xc0]
mov ecx, ebx
call fcn.00483a60
test al, al
jne 0x433b8b
lea eax, [esp + 0x50]
push eax
push 0
push 0x439
push ebx
call ebp
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push ebx
movups xmmword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
lea eax, [edx + edi]
cmp eax, dword [esp + 0x28]
jl 0x433bbf
mov edi, dword [esp + 0x28]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x2c]
jl 0x433bcf
mov esi, dword [esp + 0x2c]
sub esi, ecx
dec esi
cmp byte [esp + 0x17], 0
je 0x433c18
lea eax, [edx + edi]
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], eax
lea eax, [ecx + esi]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], esi
cmp eax, edi
jl 0x433c18
cmp eax, dword [esp + 0x38]
jg 0x433c18
mov eax, dword [esp + 0x1c]
cmp eax, esi
jl 0x433c18
cmp eax, dword [esp + 0x3c]
jg 0x433c18
mov edi, dword [esp + 0x18]
mov esi, eax
sub edi, edx
sub esi, ecx
sub edi, 3
sub esi, 3
movzx ecx, si
shl ecx, 0x10
movzx eax, di
or ecx, eax
push ecx
push 0
push 0x412
push ebx
call ebp
lea eax, [esp + 0x50]
push eax
push 1
push 0x411
push ebx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xac
ret 0x10