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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, ecx
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x12c]
test ecx, ecx
je 0x52dd8b
push edi
mov edi, dword [eax + 0x258]
test edi, edi
je 0x52dd8a
push esi
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x52dd89
cmp dword [ebp + 0x28], 0
je 0x52dd89
push ebx
mov ebx, dword [ecx + 0x78]
mov dword [ebp + 0x24], ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00514df0
push eax
push esi
lea eax, [ebp - 0x24]
push 0x609ccc
push eax
call fcn.0051e360
add esp, 0x10
test eax, eax
je 0x52d7a7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x12c]
call fcn.00514df0
push eax
push esi
lea eax, [ebp - 0x24]
push 0x60a23c
push eax
call fcn.0051e360
add esp, 0x10
test eax, eax
je 0x52d7e5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x1c]
cdq
sub eax, edx
sar eax, 1
neg eax
add ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x14], ecx
mov dword [eax], ecx
jmp 0x52d7eb
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x14], eax
mov eax, dword [edi + 0x74]
mov edi, dword [ebp - 4]
mov ecx, edi
push dword [eax]
call fcn.005273d0
push 1
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.00528110
xor ecx, ecx
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0xc], ecx
movlpd qword [ebp - 0x24], xmm0
mov eax, 0x38e38e39
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x52db5d
xor eax, eax
mov dword [ebp + 0x1c], eax
nop dword [eax]
mov eax, dword [esi + eax]
mov ecx, 0x62a144
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x52d86e
test dx, dx
je 0x52d86a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x52d86e
add eax, 4
add ecx, 4
test dx, dx
jne 0x52d848
xor esi, esi
jmp 0x52d873
sbb esi, esi
or esi, 1
mov ecx, dword [edi + 0x12c]
call fcn.00514df0
push eax
push dword [ebp - 0x10]
test esi, esi
mov ecx, 0x60a23c
mov eax, 0x60a2c0
cmovne eax, ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0051e360
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [eax]
add edx, ecx
mov eax, dword [ebx + 4]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [esi]
add edi, esi
mov dword [ebx + eax + 0x18], ecx
mov ecx, ebx
mov ebx, dword [ebp + 0x24]
mov dword [ecx + eax + 0x1c], esi
mov dword [ecx + eax + 0x20], edx
mov dword [ecx + eax + 0x24], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
add dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 4]
mov edi, dword [ecx + eax + 4]
mov ecx, 0x62a144
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x52d918
test dx, dx
je 0x52d914
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x52d918
add eax, 4
add ecx, 4
test dx, dx
jne 0x52d8f2
xor eax, eax
jmp 0x52d91d
sbb eax, eax
or eax, 1
test eax, eax
je 0x52da48
mov ecx, 0x6096a8
mov eax, edi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x52d956
test dx, dx
je 0x52d952
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x52d956
add eax, 4
add ecx, 4
test dx, dx
jne 0x52d930
xor eax, eax
jmp 0x52d95b
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 4]
test eax, eax
mov esi, dword [ebp - 0x10]
cmove esi, dword [ebp + 0x28]
mov ecx, dword [ecx + 0x12c]
call fcn.00514df0
push eax
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0051e360
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov ecx, dword [ebp + 0x24]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add esi, edx
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x1c]
add ecx, eax
lea eax, [edi + ebx]
mov dword [ecx + 0x2c], edi
mov edi, dword [ebp - 8]
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x28], edx
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x30], esi
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x24]
add edi, esi
mov eax, dword [ecx]
cmp eax, edi
cmovle eax, edi
mov dword [ecx], eax
mov ecx, 0x6096a8
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 4]
mov eax, dword [edx + eax + 4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x52d9f9
test dx, dx
je 0x52d9f5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x52d9f9
add eax, 4
add ecx, 4
test dx, dx
jne 0x52d9d3
xor eax, eax
jmp 0x52d9fe
sbb eax, eax
or eax, 1
test eax, eax
je 0x52da33
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x12c]
call fcn.00510c50
cmp dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 0x10]
cmovg ebx, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
add eax, ebx
mov ebx, dword [ebp + 0x24]
add dword [ecx], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x14]
add eax, ecx
mov dword [ebp - 8], ecx
mov dword [edi], eax
jmp 0x52da4b
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0xa]
mov ebx, dword [ebp + 0x24]
add dword [ecx], eax
add edi, 0xc
mov dword [ebp - 8], edi
mov edi, ecx
jmp 0x52da4b
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ecx + eax + 0x14]
mov ecx, 0x62a144
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x52da86
test dx, dx
je 0x52da82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x52da86
add eax, 4
add ecx, 4
test dx, dx
jne 0x52da60
xor eax, eax
jmp 0x52da8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x52db19
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x12c]
call fcn.00514df0
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.0051e360
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x1c]
mov edi, dword [eax]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add esi, edx
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [edi + ebx]
mov dword [ecx + 0x38], edx
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x3c], edi
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0x40], esi
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x24]
cmp eax, ecx
cmovle eax, ecx
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x12c]
call fcn.00510c50
cmp dword [ebp - 0x14], ebx
mov esi, dword [ebp + 0x10]
cmovg ebx, dword [ebp - 0x14]
add eax, ebx
mov ebx, dword [ebp + 0x24]
add dword [esi], eax
jmp 0x52db1c
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov edi, dword [ebp - 4]
mov ecx, dword [edi + 0x12c]
call fcn.00510c50
add dword [esi], eax
mov eax, 0x38e38e39
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
sub ecx, esi
inc dword [ebp - 0xc]
add dword [ebp + 0x1c], 0x48
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
jl 0x52d840
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, 0x38e38e39
mov dword [ebp + 0x10], 0
xor ecx, ecx
mov dword [ebp + 0x1c], 0
movups xmmword [esi], xmm0
mov edx, dword [ebx + 8]
sub edx, dword [ebx + 4]
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x52dd7a
mov eax, dword [sym.imp.USER32.dll_OffsetRect]
xor ebx, ebx
mov dword [ebp + 0xc], eax
nop
mov eax, dword [edi + 0x258]
mov edx, dword [eax + 0x84]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0x34]
sub eax, dword [ecx + ebx + 0x2c]
test edx, edx
je 0x52dbcd
mov edi, dword [ecx + ebx + 0x24]
sub edi, dword [ecx + ebx + 0x1c]
cmp edi, eax
cmovle edi, eax
jmp 0x52dbcf
mov edi, eax
test edx, edx
je 0x52dbf5
mov eax, dword [ecx + ebx + 0x1c]
sub eax, dword [ecx + ebx + 0x24]
inc eax
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ecx + 0x18]
push 0
add eax, ebx
push eax
call dword [ebp + 0xc]
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx + 0x2c]
sub eax, dword [ecx + ebx + 0x34]
inc eax
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ecx + 0x28]
push 0
add eax, ebx
push eax
call dword [ebp + 0xc]
mov ecx, dword [ebp + 0x24]
inc edi
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + ebx + 0x3c]
sub eax, dword [ecx + ebx + 0x44]
add eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ecx + 0x38]
push 0
add eax, ebx
push eax
call dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 0x24]
mov eax, dword [ecx + 0x258]
mov ecx, dword [edi + 4]
add ecx, ebx
cmp dword [ebp + 0x10], 0
mov eax, dword [eax + 0x84]
mov dword [ebp + 0x28], eax
jne 0x52dcae
mov dword [ebp + 0x10], 1
test eax, eax
je 0x52dc6a
mov edx, dword [ecx + 0x1c]
cmp edx, dword [ecx + 0x2c]
cmovge edx, dword [ecx + 0x2c]
jmp 0x52dc6d
mov edx, dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
mov dword [esi + 4], edx
mov edx, dword [edi + 4]
add edx, ebx
mov eax, dword [eax + 0x258]
cmp dword [eax + 0x84], 0
je 0x52dc9e
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x34]
cmovle ecx, dword [edx + 0x34]
mov edx, edi
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 4]
jmp 0x52dd32
mov ecx, dword [edx + 0x34]
mov edx, edi
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 4]
jmp 0x52dd32
test eax, eax
je 0x52dcbf
mov edi, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x2c]
cmp edi, edx
cmovge edi, edx
jmp 0x52dcc4
mov edi, dword [ecx + 0x2c]
mov edx, edi
mov eax, dword [esi + 4]
cmp eax, edi
jl 0x52dcdd
cmp dword [ebp + 0x28], 0
je 0x52dcdb
mov eax, dword [ecx + 0x1c]
cmp eax, edx
cmovge eax, edx
jmp 0x52dcdd
mov eax, edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x258]
mov ecx, dword [eax + 0x84]
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x28], ecx
mov edi, dword [eax + 4]
add edi, ebx
test ecx, ecx
je 0x52dd0b
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x34]
cmp edx, eax
cmovle edx, eax
jmp 0x52dd10
mov edx, dword [edi + 0x34]
mov eax, edx
mov ecx, dword [esi + 0xc]
cmp ecx, edx
jg 0x52dd29
cmp dword [ebp + 0x28], 0
je 0x52dd27
mov ecx, dword [edi + 0x24]
cmp ecx, eax
cmovle ecx, eax
jmp 0x52dd29
mov ecx, eax
mov edx, dword [ebp + 0x24]
mov dword [esi + 0xc], ecx
mov eax, dword [edx + 4]
mov eax, dword [ebx + eax + 0x44]
cmp ecx, eax
mov edi, dword [ebp + 0x1c]
cmovle ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0xc], ecx
inc edi
mov dword [esi], 0
add ebx, 0x48
mov dword [ebp + 0x1c], edi
mov eax, dword [eax]
mov dword [esi + 8], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
sub edx, eax
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov edi, dword [ebp - 4]
jl 0x52dba0
mov eax, dword [ebp + 0x20]
add eax, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
add dword [esi + 8], eax
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x24