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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d6188
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x70]
push edi
test eax, eax
je 0x532afc
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.005326e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov edi, eax
jg 0x5328ea
mov ebp, dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + 0x80]
mov esi, dword [ecx + edi*4]
mov edx, esi
shr edx, 0x10
je 0x5328e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test eax, eax
je 0x5328e1
push esi
mov ecx, ebx
call fcn.00532800
test eax, eax
jge 0x5328e1
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x5328cd
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
jmp 0x5328d5
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x58]
sub ecx, eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jle 0x532883
lea ecx, [esp + 0x34]
call fcn.00592472
mov dword [esp + 0x34], 0x5f3688
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
mov dword [esp + 0x54], 0
call fcn.00532770
mov ebp, dword [esp + 0x3c]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ecx
test ebp, ebp
mov edi, 2
jle 0x53299b
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x5c]
mov eax, dword [esi]
test ecx, ecx
je 0x53293b
mov ecx, dword [eax + 0x78]
jmp 0x532941
mov ecx, dword [eax + 0x84]
mov ebp, dword [esp + 0x14]
add ebp, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x5c]
test ebp, ebp
je 0x53295b
mov ecx, dword [eax + 0xa0]
jmp 0x532961
mov ecx, dword [eax + 0xa4]
add edi, ecx
test ebp, ebp
je 0x53296c
mov ecx, dword [eax + 0x7c]
jmp 0x532972
mov ecx, dword [eax + 0x80]
cmp edx, ecx
jg 0x532985
test ebp, ebp
je 0x53297f
mov edx, dword [eax + 0x7c]
jmp 0x532985
mov edx, dword [eax + 0x80]
mov eax, dword [esp + 0x18]
add esi, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x53292c
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x58]
cmp edi, esi
jle 0x532a06
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
mov eax, dword [esp + 0x10]
jl 0x5329b7
cmp ecx, eax
jge 0x5329ee
mov ecx, dword [ebx + 0x70]
push 1
inc eax
push ebx
push eax
add ecx, 0x7c
call fcn.005924d2
mov ecx, dword [esp + 0x10]
push 1
inc ecx
push 0
push ecx
mov ecx, dword [ebx + 0x70]
add ecx, 0x7c
call fcn.005924d2
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x70]
push 1
push edx
add ecx, 0x7c
call fcn.00592564
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.005924a5
xor eax, eax
jmp 0x532b01
xor eax, eax
test ebp, ebp
jle 0x532a2f
mov edi, dword [esp + 0x5c]
test edi, edi
mov edi, dword [esp + 0x38]
mov edi, dword [edi + eax*4]
je 0x532a20
mov dword [edi + 0x7c], edx
jmp 0x532a26
mov dword [edi + 0x80], edx
mov ebp, dword [esp + 0x3c]
inc eax
cmp eax, ebp
jl 0x532a0c
cmp ecx, esi
je 0x532aeb
sub esi, ecx
je 0x532aeb
xor ebx, ebx
mov dword [esp + 0x58], esi
test ebp, ebp
jle 0x532ac4
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
test edi, edi
mov eax, dword [eax + ebx*4]
je 0x532a63
mov edx, dword [eax + 0xa0]
mov ecx, dword [eax + 0x78]
jmp 0x532a6f
mov edx, dword [eax + 0xa4]
mov ecx, dword [eax + 0x84]
cmp ecx, edx
jne 0x532a77
test esi, esi
jl 0x532ab1
mov ecx, dword [eax + 0xcc]
test ecx, ecx
jne 0x532ab1
test esi, esi
jne 0x532a89
xor ecx, ecx
jmp 0x532a95
xor ecx, ecx
test esi, esi
setge cl
dec ecx
and ecx, 0xfffffffe
inc ecx
test edi, edi
je 0x532a9e
add eax, 0x78
jmp 0x532aa3
add eax, 0x84
mov edx, dword [eax]
add edx, ecx
sub esi, ecx
mov dword [eax], edx
mov ebp, dword [esp + 0x3c]
je 0x532ab6
inc ebx
cmp ebx, ebp
jl 0x532a49
cmp dword [esp + 0x58], esi
je 0x532ac4
test esi, esi
jne 0x532a3f
xor ecx, ecx
xor eax, eax
cmp ebp, ecx
jle 0x532ae3
mov edx, dword [esp + 0x38]
inc eax
mov edx, dword [edx + eax*4 - 4]
mov dword [edx + 0xcc], ecx
mov ebp, dword [esp + 0x3c]
cmp eax, ebp
jl 0x532acc
cmp esi, ecx
jne 0x532a3f
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xffffffff
call fcn.005924a5
mov eax, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8