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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
push edi
mov edi, ecx
cmp byte [esi], 0
je 0x43056f
mov ecx, esi
call fcn.0040dd10
mov ebp, eax
dec ebp
js 0x430556
cmp ebp, 0x14
jl 0x430571
push esi
push 0
push str.Max_window_number_is_20.
mov ecx, edi
call fcn.0042cbc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
xor ebp, ebp
mov eax, dword [esp + 0x78]
mov ebx, dword [ebp*4 + 0x4ad2b0]
cmp byte [eax], 0
jne 0x4305b1
test ebx, ebx
je 0x430597
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x430597
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp*4 + 0x4ad2b0], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
lea ecx, [esp + 0x30]
call fcn.004729e0
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x4305e1
mov eax, dword [esp + 0x80]
cmp byte [eax], 0
je 0x4305e1
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x84], 0
jmp 0x430609
lea eax, [esp + 0x10]
mov byte [esp + 0x84], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add edi, 0x10
mov eax, dword [esp + 0x80]
add esi, 0x10
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
cmp byte [ecx], 0
jne 0x430627
cmp byte [eax], 0
je 0x430635
mov edx, 4
lea ecx, [esp + 0x18]
call fcn.00472960
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x43064b
mov ecx, eax
call fcn.0040dd10
mov edi, eax
add edi, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
cmp byte [eax], 0
je 0x430664
mov ecx, eax
call fcn.0040dd10
mov esi, eax
add esi, dword [esp + 0x1c]
push 0x2c
lea eax, [esp + 0x48]
push 0
push eax
call fcn.0048e820
mov eax, dword [esp + 0x84]
add esp, 0xc
mov dword [esp + 0x40], 0x2c
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x64], eax
test ebx, ebx
je 0x4306a3
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x430728
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 3
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push 0
push 0x404
mov dword [ebp*4 + 0x4ad2b0], ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
call ebp
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0
push 0x418
push ebx
call ebp
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 + 0x40]
push eax
push 1
push 0x411
push ebx
call ebp
jmp 0x43072e
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x40]
push eax
push 0
push 0x40c
push ebx
call ebp
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
push ebx
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esp + 0x38]
jl 0x430772
mov edi, dword [esp + 0x38]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x3c]
jl 0x430782
mov esi, dword [esp + 0x3c]
sub esi, ecx
dec esi
cmp byte [esp + 0x84], 0
je 0x4307ce
lea eax, [edx + edi]
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
lea eax, [ecx + esi]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], esi
cmp eax, edi
jl 0x4307ce
cmp eax, dword [esp + 0x28]
jg 0x4307ce
mov eax, dword [esp + 0x14]
cmp eax, esi
jl 0x4307ce
cmp eax, dword [esp + 0x2c]
jg 0x4307ce
mov edi, dword [esp + 0x10]
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 + 0x40]
push eax
push 1
push 0x411
push ebx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x10