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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53b8ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x52f708]
call fcn.0040440c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 0x114]
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x118]
sub esi, ebx
jl 0x53b88f
inc esi
mov eax, dword [ebp - 0x28]
push dword [eax + 0x50]
mov eax, ebx
pop edx
mov ecx, edx
cdq
idiv ecx
test edx, edx
jne 0x53b887
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0053b96c
test al, al
jne 0x53b887
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0053bdd4
cmp dword [ebp - 4], 0
je 0x53b887
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
mov edx, ebx
call fcn.00538430
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x10], 0
je 0x53b887
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
call fcn.00520ac0
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x2ec], 0
je 0x53b6d0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x53b6d0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2f0]
cmp byte [eax + 0x3c], 0
je 0x53b6d0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0x38], 0x64
je 0x53b6d0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edi, dword [eax + 8]
push 0
push 1
mov eax, edi
call fcn.00436fe8
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x2f0]
fild dword [eax + 0x38]
fld xword [0x53b8bc]
fmulp st(1)
fmulp st(1)
call fcn.004035b4
push edx
push eax
call fcn.0043196c
mov edx, eax
mov eax, edi
call fcn.00437004
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x80]
cmp byte [eax + 0x29], 0
jne 0x53b70c
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
call fcn.0053df1c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, 0x53b8d0
mov ecx, dword [eax]
call dword [ecx + 0x7c]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x53b72c
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, dword [ebp - 4]
call fcn.0051eb2c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, 0x53b8d0
mov ecx, dword [eax]
call dword [ecx + 0x78]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 0x64]
test edi, edi
je 0x53b770
mov eax, edi
call fcn.00541c18
test al, al
je 0x53b770
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, 0x53b8d0
mov ecx, dword [eax]
call dword [ecx + 0x7c]
sub eax, 4
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0xc]
mov eax, edi
call fcn.004373ac
mov ecx, eax
mov edx, edi
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edi, dword [eax]
call dword [edi + 0x38]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0xc]
cmp byte [edi + 0x28], 0
je 0x53b7ac
mov eax, edi
call fcn.004374ec
add eax, eax
add dword [ebp - 0xc], eax
add dword [ebp - 0x10], eax
jmp 0x53b7b2
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov edx, ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xd], eax
mov edx, ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x11], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xd]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 0x11]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xd]
mov edx, dword [ebp - 0xc]
sar edx, 1
jns 0x53b80c
adc edx, 0
sub eax, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x11]
sub eax, dword [ebp - 0x10]
inc eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], eax
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x64]
test edx, edx
je 0x53b873
lea edi, [edx + 0x31]
add eax, 2
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, 2
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, 0x53b8d0
mov ecx, dword [eax]
call dword [ecx + 0x7c]
add eax, dword [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x304]
mov edx, 0x53b8d0
mov ecx, dword [eax]
call dword [ecx + 0x7c]
add eax, dword [edi]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x84]
inc ebx
dec esi
jne 0x53b5d6
mov eax, dword [ebp - 0x14]
call fcn.0040443c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53b8b4
lea eax, [ebp - 4]
call fcn.00405480
ret