Function at 0x42be70
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 word [esi], 0
je 0x42beff
mov ecx, esi
call fcn.0047b060
mov ebp, eax
sub ebp, 1
js 0x42be99
cmp ebp, 0x14
jl 0x42bf01
cmp byte [0x4dd434], 0
mov ecx, 0x4dcd68
je 0x42bebf
push edi
push 9
push esi
push str.Max_window_number_is_20.
call fcn.00428b60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
cmp byte [0x4dd437], 0
je 0x42bee7
push dword [edi + 4]
movzx eax, word [edi + 2]
push eax
push esi
push str.Max_window_number_is_20.
call fcn.00428a60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
push edi
push esi
push 9
push str.Max_window_number_is_20.
call fcn.00428bd0
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 + 0x4dbe38]
cmp word [eax], 0
jne 0x42bf42
test ebx, ebx
je 0x42bf28
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42bf28
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp*4 + 0x4dbe38], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
mov dword [esp + 0x28], eax
test eax, eax
je 0x42bf76
push 0x4c
call esi
add dword [esp + 0x28], eax
push 0x4d
mov dword [esp + 0x24], eax
call esi
push 0x4f
mov dword [esp + 0x28], eax
call esi
add eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x42bf88
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x7c]
movzx eax, word [eax]
test ax, ax
je 0x42bfbc
mov eax, dword [esp + 0x80]
cmp word [eax], 0
je 0x42bfbc
mov esi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edi, dword [esp + 0x18]
mov byte [esp + 0x84], 0
movlpd qword [esp + 0x10], xmm0
jmp 0x42c007
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x7c]
xorps xmm0, xmm0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
add edi, 0x10
add esi, 0x10
movlpd qword [esp + 0x10], xmm0
movzx eax, word [eax]
mov byte [esp + 0x84], 1
test ax, ax
jne 0x42c007
mov eax, dword [esp + 0x80]
mov byte [esp + 0x84], 1
cmp word [eax], 0
je 0x42c04d
push 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.0047c010
mov ecx, dword [esp + 0x80]
add esp, 4
movzx eax, word [ecx]
test ax, ax
je 0x42c033
call fcn.0047b060
mov edi, eax
add edi, dword [esp + 0x10]
mov eax, dword [esp + 0x80]
cmp word [eax], 0
je 0x42c04d
mov ecx, eax
call fcn.0047b060
mov esi, eax
add esi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 0x20
mov dword [esp + 0x64], eax
test ebx, ebx
je 0x42c09b
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42c120
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_CreateWindowExW]
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push 0
push 0x432
mov dword [ebp*4 + 0x4dbe38], ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
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 0x42c126
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x40]
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 0x42c169
mov edi, dword [esp + 0x28]
sub edi, edx
dec edi
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x2c]
jl 0x42c179
mov esi, dword [esp + 0x2c]
sub esi, ecx
dec esi
cmp byte [esp + 0x84], 0
je 0x42c1c5
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 0x42c1c5
cmp eax, dword [esp + 0x38]
jg 0x42c1c5
mov eax, dword [esp + 0x1c]
cmp eax, esi
jl 0x42c1c5
cmp eax, dword [esp + 0x3c]
jg 0x42c1c5
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 + 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