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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c3a8b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x4329e2
mov ecx, dword [ecx + 0x20]
mov eax, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x4c], 8
mov dword [esp + 0x58], 0xe
mov dword [esp + 0x5c], 9
mov dword [esp + 0x60], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
push fcn.004773d0
push fcn.004773a0
push 5
push 4
lea edx, [esp + 0x40]
push edx
sub edi, 2
call fcn.004e6769
push 0x13b
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x90], ebx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x8c], 1
call fcn.00404e20
mov byte [esp + 0x88], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432766
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x13c
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 2
call fcn.00404e20
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4327af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x13d
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8c], 3
call fcn.00404e20
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4327f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x13e
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 4
call fcn.00404e20
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x61f
lea ecx, [esp + 0x20]
push ecx
call fcn.0041d1c0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 5
call fcn.00404e20
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43288a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
push 2
mov dword [esp + 0x18], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub edi, eax
xor esi, esi
lea esp, [esp]
cmp dword [esp + esi*4 + 0x30], ebx
je 0x432964
mov edx, esi
mov ecx, 1
sub edx, ecx
neg edx
sbb edx, edx
and edx, 2
cmp esi, 5
mov dword [esp + 0x5c], 0x1f
mov dword [esp + 0x60], edx
jne 0x4328ef
mov dword [esp + 0x60], ecx
mov eax, dword [esp + esi*4 + 0x30]
lea ebx, [esp + esi*4 + 0x30]
sub eax, 0x10
cmp dword [eax + 0xc], ecx
jle 0x43290a
mov eax, dword [eax + 4]
push eax
mov ecx, ebx
call fcn.004053f0
cmp dword [esp + esi*4 + 0x34], 0
mov ecx, dword [ebx]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], esi
jne 0x432926
mov eax, edi
sub eax, dword [esp + 0x14]
sub eax, 2
jmp 0x432936
mov eax, dword [esp + esi*4 + 0x44]
imul eax, edi
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
add dword [esp + 0x14], eax
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push esi
push 0x101b
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 1
xor ebx, ebx
cmp esi, 5
jl 0x4328c0
xor eax, eax
xor esi, esi
cmp dword [esp + 0x30], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
je 0x4329c4
mov edi, edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x5c]
push edx
push esi
push 0x101a
push ecx
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], ebx
mov dword [esp + 0x80], esi
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 1
cmp dword [esp + esi*4 + 0x30], ebx
jne 0x432990
push fcn.004773d0
push 5
push 4
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x98], 0xffffffff
call fcn.004e6706
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4