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

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x1d8]
xor ecx, ecx
cmp eax, ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
jle 0x52b828
lea esp, [esp]
mov eax, dword [edi + 0x1d0]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x38]
mov dword [eax + 0x3c], edx
mov edx, dword [eax + 0x40]
mov dword [eax + 0x44], edx
mov edx, dword [eax + 0x70]
mov dword [eax + 0x54], edx
mov edx, dword [eax + 0x74]
mov dword [eax + 0x58], edx
mov edx, dword [eax + 0x78]
mov dword [eax + 0x5c], edx
mov edx, dword [eax + 0x7c]
mov dword [eax + 0x60], edx
mov edx, dword [eax + 0x80]
mov dword [eax + 0x64], edx
mov edx, dword [eax + 0x84]
mov dword [eax + 0x68], edx
fld dword [eax + 0x68]
fadd dword [eax + 0x60]
mov dl, byte [eax + 4]
test dl, dl
fadd dword [eax + 0x54]
fmul dword [0x5f39a8]
fstp dword [eax + 0xf8]
je 0x52b81d
fld dword [eax + 0x3c]
fadd dword [edi + 0x38]
fstp dword [edi + 0x38]
fld dword [edi + 0x3c]
fadd dword [eax + 0x44]
fstp dword [edi + 0x3c]
mov eax, dword [edi + 0x1d8]
inc ecx
cmp ecx, eax
jl 0x52b7b0
fld dword [edi + 0x3c]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52b8c2
fld dword [0x617dbc]
push ebx
fdiv dword [edi + 0x3c]
mov ebx, dword [edi + 0x1d8]
dec ebx
fstp dword [edi + 0x40]
js 0x52b8c1
push ebp
push esi
mov eax, dword [edi + 0x1d0]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 0x28]
xor ebp, ebp
test eax, eax
jle 0x52b8bc
jmp 0x52b870
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + ebp*4]
cmp word [eax + 6], 0
jne 0x52b8b4
mov cl, byte [eax + 4]
test cl, cl
je 0x52b8b4
fld dword [eax + 0x3c]
add eax, 0x50
fadd dword [esi + 0x3c]
push eax
lea ecx, [esi + 0x50]
fstp dword [esi + 0x3c]
fld dword [eax - 0xc]
fadd dword [esi + 0x44]
fstp dword [esi + 0x44]
fld dword [eax + 0xa8]
fadd dword [esi + 0xf8]
fstp dword [esi + 0xf8]
call fcn.00527d50
mov eax, dword [esi + 0x28]
inc ebp
cmp ebp, eax
jl 0x52b870
dec ebx
jns 0x52b854
pop esi
pop ebp
pop ebx
mov eax, dword [edi + 0x1d8]
xor ecx, ecx
test eax, eax
jle 0x52b900
mov edi, edi
mov edx, dword [edi + 0x1d0]
mov edx, dword [edx + ecx*4]
fld dword [edx + 0x44]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
jne 0x52b8f5
fld dword [0x617dbc]
fdiv dword [edx + 0x44]
fstp dword [edx + 0x48]
mov eax, dword [edi + 0x1d8]
inc ecx
cmp ecx, eax
jl 0x52b8d0
mov eax, dword [edi + 0x1e8]
mov dword [edi + 0x1e4], eax
mov ecx, edi
pop edi
jmp fcn.0052b050
push ecx
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1e0]
mov eax, dword [ecx + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1d4]
test eax, eax
push edi
je 0x52bfaa
mov eax, dword [esi + 0x1d8]
xor ebx, ebx
test eax, eax
jle 0x52c166
mov edi, edi
mov ecx, dword [esi + 0x1d0]
mov edx, dword [ecx + ebx*4]
mov edi, dword [edx + 8]
mov eax, dword [esi + 0x1e0]
mov ebp, dword [eax + 0xc]
lea ecx, [edi + edi*2]
shl ecx, 6
add ecx, ebp
call fcn.005b3090
mov ecx, dword [esi + 0x1d4]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov eax, dword [esi + 0x1d8]
inc ebx
cmp ebx, eax
jl 0x52bf60
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x52b790
call fcn.005b3390
mov dword [esi + 0x1dc], eax
shl eax, 2
push eax
call fcn.00445250
mov ecx, dword [esi + 0x1dc]
shl ecx, 2
mov edx, ecx
shr ecx, 2
mov edi, eax
xor eax, eax
mov dword [esi + 0x1d4], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x1d8]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x52c010
mov edi, edi
mov ecx, dword [esi + 0x1d0]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx + 8]
mov edi, dword [esi + 0x1d4]
mov dword [edi + edx*4], ecx
mov ecx, dword [esi + 0x1d8]
inc eax
cmp eax, ecx
jl 0x52bff0
mov eax, dword [esi + 0x1d8]
xor ebp, ebp
test eax, eax
jle 0x52c166
mov eax, dword [esi + 0x1d0]
mov eax, dword [eax + ebp*4]
mov ebx, dword [eax + 8]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + 0x18]
mov edx, ebx
imul edx, edx, 0xf0
mov edi, dword [edx + edi + 8]
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x1d4]
cmp dword [eax + edi*4], 0
je 0x52c052
cmp ebx, edi
jne 0x52c065
mov edx, dword [ecx + 0x18]
imul edi, edi, 0xf0
mov edi, dword [edi + edx + 8]
test edi, edi
jg 0x52c048
jmp 0x52c0a7
mov ecx, dword [esi + 0x1d0]
mov edx, dword [ecx + ebp*4]
mov eax, dword [eax + edi*4]
mov dword [edx + 0x1c], eax
mov ecx, dword [esi + 0x1d8]
mov edx, dword [esi + 0x1d4]
push ecx
mov ecx, dword [edx + edi*4]
add ecx, 0x20
call fcn.0052ab00
mov eax, dword [esi + 0x1d0]
mov ecx, dword [eax + ebp*4]
mov edx, dword [esi + 0x1d4]
push ecx
mov ecx, dword [edx + edi*4]
add ecx, 0x20
call fcn.0052ac30
test ebp, ebp
jle 0x52c0ff
test edi, edi
jne 0x52c0ff
mov eax, dword [esi + 0x1d4]
mov ecx, dword [eax]
test ecx, ecx
je 0x52c0ff
mov edx, dword [esi + 0x1d0]
mov eax, dword [edx + ebp*4]
mov edx, dword [eax + 0x1c]
test edx, edx
jne 0x52c0ff
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x1d4]
mov eax, dword [esi + 0x1d8]
mov ecx, dword [ecx]
push eax
add ecx, 0x20
call fcn.0052ab00
mov edx, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1d4]
mov eax, dword [edx + ebp*4]
mov ecx, dword [ecx]
push eax
add ecx, 0x20
call fcn.0052ac30
mov edx, dword [esi + 0x1d0]
mov ecx, dword [edx + ebp*4]
fld dword [ecx + 0xec]
fcomp dword [0x617db0]
fnstsw ax
test ah, 0x41
je 0x52c12b
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x52c132
cmp byte [eax + 0xf7], 1
jne 0x52c132
mov byte [ecx + 0xf7], 1
mov eax, dword [esi + 0x1e0]
mov edx, dword [eax + 0xc]
lea ecx, [ebx + ebx*2]
shl ecx, 6
add ecx, edx
call fcn.005b3090
mov ecx, dword [esi + 0x1d4]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov eax, dword [esi + 0x1d8]
inc ebp
cmp ebp, eax
jl 0x52c020
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 4
jmp 0x52b790