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

Disassembly:
sub esp, 0x68
push ebx
push esi
mov esi, dword [esp + 0x80]
cmp byte [esi], 0
push edi
mov ebx, ecx
je 0x4280e0
push esi
call fcn.00407b50
add esp, 4
test al, al
je 0x428080
push 0x10
push 0
push esi
call fcn.0044485e
add esp, 0xc
jmp 0x428089
push esi
call fcn.00444633
add esp, 4
lea edi, [eax - 1]
test edi, edi
mov dword [esp + 0xc], edi
jl 0x4283da
cmp edi, 0x14
jge 0x4283da
mov eax, dword [esp + 0x78]
cmp byte [eax], 0
mov esi, dword [edi*4 + 0x45ddf8]
jne 0x4280ee
test esi, esi
je 0x4280c7
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4280c7
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi*4 + 0x45ddf8], 0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x68
ret 0x10
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0xc]
jmp 0x4280a1
push ebp
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x80]
cmp byte [edi], 0
je 0x42812b
mov edx, dword [esp + 0x84]
cmp byte [edx], 0
je 0x42812b
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x88], 0
jmp 0x42814c
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x8c], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
add ebp, 0x10
add ebx, 0x10
cmp byte [edi], 0
jne 0x42815d
mov ecx, dword [esp + 0x84]
cmp byte [ecx], 0
je 0x42818b
test byte [0x45d629], 4
jne 0x42818b
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
jne 0x42819f
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x68
ret 0x10
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
jmp 0x4281a1
xor eax, eax
cmp byte [edi], 0
je 0x4281d4
push edi
call fcn.00407b50
add esp, 4
test al, al
je 0x4281c2
push 0x10
push 0
push edi
call fcn.0044485e
add esp, 0xc
jmp 0x4281cb
push edi
call fcn.00444633
add esp, 4
mov ecx, dword [esp + 0x2c]
lea ebp, [eax + ecx]
xor eax, eax
mov ecx, dword [esp + 0x84]
cmp byte [ecx], 0
je 0x42821c
push ecx
call fcn.00407b50
add esp, 4
test al, al
je 0x428203
mov edx, dword [esp + 0x84]
push 0x10
push 0
push edx
call fcn.0044485e
add esp, 0xc
jmp 0x428213
mov eax, dword [esp + 0x84]
push eax
call fcn.00444633
add esp, 4
mov ecx, dword [esp + 0x30]
lea ebx, [eax + ecx]
xor eax, eax
cmp esi, eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x4c], 0x2c
mov dword [esp + 0x50], 0x20
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
jne 0x4282d1
push eax
push eax
push eax
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 3
push eax
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x4c]
push edx
push 0
mov esi, eax
push 0x404
push esi
mov dword [ecx*4 + 0x45ddf8], eax
call edi
mov eax, dword [esp + 0x44]
push eax
push 0
push 0x418
push esi
call edi
movzx ecx, bx
movzx edx, bp
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x412
push esi
call edi
lea eax, [esp + 0x4c]
push eax
push 1
push 0x411
jmp 0x4282e2
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x4c]
push ecx
push eax
push 0x40c
push esi
call edi
xor edx, edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edx
push eax
mov dword [esp + 0x28], edx
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x44]
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x428332
sub ecx, eax
dec ecx
mov ebp, ecx
mov ecx, dword [esp + 0x84]
lea edx, [ecx + ebx]
mov ecx, dword [esp + 0x48]
cmp edx, ecx
jl 0x42834e
sub ecx, dword [esp + 0x84]
dec ecx
mov ebx, ecx
mov cl, byte [esp + 0x88]
test cl, cl
je 0x4283a6
mov edx, dword [esp + 0x84]
add edx, ebx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
cmp edx, ebp
lea ecx, [eax + ebp]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
jl 0x4283a6
cmp edx, ecx
jg 0x4283a6
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
jl 0x4283a6
cmp ecx, dword [esp + 0x28]
jg 0x4283a6
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x84]
sub ebp, eax
sub ecx, edx
sub ebp, 3
sub ecx, 3
mov ebx, ecx
movzx eax, bx
movzx ecx, bp
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x412
push esi
call edi
lea edx, [esp + 0x4c]
push edx
push 1
push 0x411
push esi
call edi
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x68
ret 0x10
push esi
push 0
push 0x455cd0
mov ecx, ebx
call fcn.0041e370
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x10