Function at 0x431a10
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 0x431a4f
mov ecx, esi
call fcn.0040ee90
mov ebp, eax
dec ebp
js 0x431a36
cmp ebp, 0x14
jl 0x431a51
push esi
push 0
push str.Max_window_number_is_20.
mov ecx, edi
call fcn.0042e0a0
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 + 0x4af270]
cmp byte [eax], 0
jne 0x431a91
test ebx, ebx
je 0x431a77
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431a77
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp*4 + 0x4af270], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
lea ecx, [esp + 0x30]
call fcn.00473ec0
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x431ac1
mov eax, dword [esp + 0x80]
cmp byte [eax], 0
je 0x431ac1
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x84], 0
jmp 0x431ae9
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 0x431b07
cmp byte [eax], 0
je 0x431b15
mov edx, 4
lea ecx, [esp + 0x18]
call fcn.00473e40
mov eax, dword [esp + 0x7c]
cmp byte [eax], 0
je 0x431b2b
mov ecx, eax
call fcn.0040ee90
mov edi, eax
add edi, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
cmp byte [eax], 0
je 0x431b44
mov ecx, eax
call fcn.0040ee90
mov esi, eax
add esi, dword [esp + 0x1c]
push 0x2c
lea eax, [esp + 0x48]
push 0
push eax
call fcn.0048fd00
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 0x431b83
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x431c08
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 + 0x4af270], 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 0x431c0e
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 0x431c52
mov edi, dword [esp + 0x38]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x3c]
jl 0x431c62
mov esi, dword [esp + 0x3c]
sub esi, ecx
dec esi
cmp byte [esp + 0x84], 0
je 0x431cae
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 0x431cae
cmp eax, dword [esp + 0x28]
jg 0x431cae
mov eax, dword [esp + 0x14]
cmp eax, esi
jl 0x431cae
cmp eax, dword [esp + 0x2c]
jg 0x431cae
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