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

Disassembly:
sub esp, 0x450
push ebx
mov ebx, dword [esp + 0x458]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x528b36
fld dword [0x60477c]
pop ebp
pop ebx
add esp, 0x450
ret 0x1c
mov eax, dword [ebp]
push esi
xor ecx, ecx
push edi
mov esi, dword [eax + 0x20]
test esi, esi
setne cl
push ecx
mov ecx, dword [0x680038]
call fcn.005365d0
mov dword [esp + 0x60], eax
mov ecx, 0x32
xor eax, eax
lea edi, [esp + 0x398]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x47c]
test eax, eax
je 0x528b85
push ebx
mov ecx, ebp
call fcn.005272f0
movsx edx, ax
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
jmp 0x528b97
movsx ecx, word [ebp + 0x18]
mov eax, dword [ebp]
mov dword [esp + 0x34], ecx
fld dword [eax + 0x24]
fimul dword [esp + 0x34]
mov eax, dword [esp + 0x474]
mov ecx, dword [ebp]
fstp dword [esp + 0x3c]
test eax, eax
je 0x528bad
push 3
jmp 0x528baf
push 1
call fcn.0052b280
mov edx, dword [esp + 0x468]
mov dword [esp + 0x34], eax
test edx, edx
jne 0x528bf1
mov eax, dword [0x68b18c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], edx
fild dword [eax + 0x41a38]
fst dword [esp + 0x44]
fild dword [eax + 0x41a3c]
fst dword [esp + 0x54]
fstp dword [esp + 0x2c]
fstp dword [esp + 0x48]
jmp 0x528c88
mov eax, dword [edx + 4]
cmp eax, 0x7fffffff
mov dword [esp + 0x24], eax
jne 0x528c09
mov dword [esp + 0x40], 0
jmp 0x528c11
fild dword [esp + 0x24]
fstp dword [esp + 0x40]
mov eax, dword [edx]
cmp eax, 0x7fffffff
mov dword [esp + 0x24], eax
jne 0x528c28
mov dword [esp + 0x28], 0
jmp 0x528c30
fild dword [esp + 0x24]
fstp dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [0x68b18c]
cmp eax, 0x7fffffff
jne 0x528c46
mov eax, dword [ecx + 0x41a3c]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 8]
fild dword [esp + 0x2c]
cmp eax, 0x7fffffff
fstp dword [esp + 0x2c]
jne 0x528c68
mov ecx, dword [ecx + 0x41a38]
mov dword [esp + 0x14], ecx
jmp 0x528c6c
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fst dword [esp + 0x48]
fsub dword [esp + 0x28]
fstp dword [esp + 0x44]
fld dword [esp + 0x2c]
fsub dword [esp + 0x40]
fstp dword [esp + 0x54]
mov al, byte [ebx]
test al, al
je 0x528cb6
push eax
mov ecx, ebp
call fcn.005274c0
fcomp dword [esp + 0x44]
fnstsw ax
and eax, 0x4100
jne 0x528cb6
fld dword [0x60477c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret 0x1c
mov al, byte [ebx]
xor esi, esi
test al, al
mov dword [esp + 0x30], esi
je 0x528ebe
cmp esi, 0x32
jge 0x528ebe
mov al, byte [ebx]
mov dword [esp + 0x10], 0
cmp al, 0x20
mov dword [esp + 0x20], 0
jne 0x528ced
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x528ce5
mov dword [esp + esi*4 + 0x2d0], ebx
mov dword [esp + esi*4 + 0x78], ebx
mov dword [esp + 0x14], 3
mov dl, byte [ebx]
test dl, dl
je 0x528e8e
cmp dl, 0xa
je 0x528e67
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x14], 0
cmp ecx, 1
movsx ax, dl
jne 0x528da2
test ah, 0xff
jne 0x528da2
mov ecx, eax
and ecx, 0xffff
mov esi, dword [ebp + ecx*4 + 0x44]
test esi, esi
jne 0x528da2
cmp ax, 0xa
je 0x528da2
cmp dl, 0x20
je 0x528d67
mov esi, dword [ebp + 0x24]
and eax, 0xffff
mov ecx, eax
and eax, 0xff
shr ecx, 8
mov edi, dword [esi + ecx*4]
xor ecx, ecx
mov cx, word [edi + eax*2]
cmp ecx, 0xffffffff
jne 0x528d72
mov edx, dword [ebp]
fld dword [edx + 0x24]
jmp 0x528df3
movsx eax, dl
mov edx, dword [esi]
mov si, word [ebp + 0x38]
imul si, cx
mov ax, word [edx + eax*2]
mov ecx, dword [ebp + 0x3c]
add ax, si
and eax, 0xffff
movsx edx, byte [eax + ecx]
mov eax, dword [ebp]
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
fmul dword [eax + 0x24]
jmp 0x528df6
fld dword [0x60477c]
or ecx, 0xffffffff
cmp dl, 0x20
je 0x528dcf
movsx ax, dl
mov edx, dword [ebp + 0x24]
and eax, 0xffff
mov ecx, eax
and eax, 0xff
shr ecx, 8
mov edx, dword [edx + ecx*4]
xor ecx, ecx
mov cx, word [edx + eax*2]
cmp ecx, dword [ebp + 4]
jl 0x528de6
cmp ecx, dword [ebp + 8]
jg 0x528de6
push ecx
mov ecx, dword [ebp]
fstp st(0)
call fcn.0052b590
jmp 0x528df6
cmp ecx, 0xffffffff
jne 0x528df6
mov eax, dword [ebp]
fstp st(0)
fld dword [eax + 0x24]
fimul dword [ebp + 0xc]
fld dword [esp + 0x10]
mov al, byte [ebx]
fadd st(1)
cmp al, 0x20
fstp dword [esp + 0x10]
je 0x528e10
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x528e12
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [esp + 0x44]
fnstsw ax
and eax, 0x4100
je 0x528e8e
mov al, byte [ebx + 1]
inc ebx
cmp al, 0x20
je 0x528e33
test al, al
jne 0x528d00
mov eax, dword [esp + 0x30]
fld dword [esp + 0x10]
mov ecx, dword [esp + eax*4 + 0x398]
mov dword [esp + eax*4 + 0x78], ebx
fstp dword [esp + eax*4 + 0x140]
fld dword [esp + 0x20]
inc ecx
fstp dword [esp + eax*4 + 0x208]
lea eax, [esp + eax*4 + 0x398]
mov dword [eax], ecx
jmp 0x528d00
mov eax, dword [esp + 0x30]
inc ebx
fld dword [esp + 0x10]
mov dword [esp + 0x14], 1
mov dword [esp + eax*4 + 0x78], ebx
fstp dword [esp + eax*4 + 0x140]
fld dword [esp + 0x20]
fstp dword [esp + eax*4 + 0x208]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + esi*4 + 0x78]
mov eax, dword [esp + esi*4 + 0x2d0]
cmp ecx, eax
jne 0x528eac
cmp dword [esp + 0x14], 1
je 0x528eac
mov dword [esp + esi*4 + 0x78], ebx
mov ebx, dword [esp + esi*4 + 0x78]
inc esi
mov dword [esp + 0x30], esi
cmp byte [ebx], 0
jne 0x528cc6
mov edx, dword [ebp]
xor ecx, ecx
test esi, esi
mov eax, dword [edx + 0x40]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ecx
jle 0x5291ec
mov eax, dword [esp + 0x46c]
lea edi, [esi - 1]
mov edx, eax
mov ebx, eax
and edx, 3
and ebx, 0x10
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x14], edi
jmp 0x528f10
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x6c]
cmp edx, 3
mov dword [esp + 0x58], 0
jne 0x528f46
cmp ecx, edi
jge 0x528f46
fld dword [esp + 0x48]
fsub dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], 1
mov dword [esp + 0x18], edx
fsub dword [esp + ecx*4 + 0x208]
fstp dword [esp + 0x20]
jmp 0x528f7e
test al, 1
je 0x528f54
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], edx
jmp 0x528f7e
test al, 2
je 0x528f65
fld dword [esp + 0x48]
fsub dword [esp + ecx*4 + 0x140]
jmp 0x528f7a
fld dword [esp + 0x44]
fsub dword [esp + ecx*4 + 0x140]
fmul dword [0x5da2f8]
fadd dword [esp + 0x28]
fstp dword [esp + 0x18]
test ebx, ebx
je 0x528f97
lea edx, [ecx + 1]
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
fmul dword [esp + 0x3c]
fadd dword [esp + 0x40]
jmp 0x528fd0
test al, 0x20
je 0x528fa9
fild dword [esp + 0x14]
fmul dword [esp + 0x3c]
fsubr dword [esp + 0x2c]
jmp 0x528fd0
fild dword [esp + 0x30]
lea edx, [ecx + 1]
mov dword [esp + 0x38], edx
fmul dword [esp + 0x3c]
fsubr dword [esp + 0x54]
fmul dword [0x5da2f8]
fild dword [esp + 0x38]
fmul dword [esp + 0x3c]
faddp st(1)
fadd dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + ecx*4 + 0x2d0]
fstp dword [esp + 0x1c]
mov edi, dword [esp + ecx*4 + 0x78]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
mov edx, dword [esp + ecx*4 + 0x398]
dec edx
cmp ebx, edi
mov dword [esp + 0x38], edx
je 0x529103
mov eax, edi
mov dword [esp + 0x68], eax
mov al, byte [ebx]
cmp al, 0xa
je 0x5290ef
cmp al, 0x20
je 0x52903b
movsx ax, al
mov edi, dword [ebp + 0x24]
and eax, 0xffff
mov esi, eax
and eax, 0xff
shr esi, 8
mov edi, dword [edi + esi*4]
xor esi, esi
mov si, word [edi + eax*2]
cmp esi, 0xffffffff
jne 0x52907e
cmp dword [esp + 0x58], 1
jne 0x529073
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], 0
fild qword [esp + 0x70]
dec edx
mov dword [esp + 0x38], edx
fdivr dword [esp + 0x20]
fld dword [esp + 0x18]
fadd st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fsub st(1)
fstp dword [esp + 0x20]
fstp st(0)
jmp 0x5290eb
mov eax, dword [ebp]
fld dword [eax + 0x24]
fimul dword [ebp + 0xc]
jmp 0x5290e3
cmp esi, dword [ebp + 4]
jl 0x5290eb
cmp esi, dword [ebp + 8]
jg 0x5290eb
mov eax, dword [esp + 0x478]
test eax, eax
jne 0x5290c9
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x5290a8
mov ecx, dword [ebp]
push esi
call fcn.0052b160
movsx edi, ax
jmp 0x5290aa
xor edi, edi
fld dword [esp + 0x1c]
call fcn.0058c3f0
fld dword [esp + 0x18]
push eax
call fcn.0058c3f0
mov ecx, dword [ebp]
sub eax, edi
push eax
push esi
call fcn.0052b7b0
movsx cx, byte [ebx + 1]
movsx dx, byte [ebx]
push ecx
push edx
mov ecx, ebp
call fcn.00527630
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x68]
inc ebx
cmp ebx, eax
jne 0x529009
mov eax, dword [esp + 0x46c]
mov edx, dword [esp + 0x478]
test edx, edx
jne 0x5291d6
mov bl, byte [esp + 0x470]
test bl, 1
je 0x52917b
mov eax, dword [esp + 0x24]
push 0
fld dword [esp + 0x1c]
fsub dword [esp + 0x50]
mov ecx, eax
push 1
shr ecx, 0x18
mov edx, eax
push ecx
push eax
shr edx, 8
shr eax, 0x10
push edx
push eax
push 2
call fcn.0058c3f0
fld dword [esp + 0x58]
fmul dword [0x5e6c40]
push eax
fsubr dword [esp + 0x70]
call fcn.0058c3f0
fld dword [esp + 0x6c]
push eax
call fcn.0058c3f0
mov ecx, dword [0x6800cc]
push eax
call fcn.004dafa0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x46c]
test bl, 2
je 0x5291d6
mov eax, dword [esp + 0x24]
push 0
fld dword [esp + 0x1c]
fsub dword [esp + 0x50]
mov ecx, eax
push 1
shr ecx, 0x18
mov edx, eax
push ecx
push eax
shr edx, 8
shr eax, 0x10
push edx
push eax
push 2
call fcn.0058c3f0
fld dword [esp + 0x6c]
push eax
call fcn.0058c3f0
fld dword [esp + 0x6c]
add eax, 2
push eax
call fcn.0058c3f0
mov ecx, dword [0x6800cc]
push eax
call fcn.004dafa0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x46c]
mov edi, dword [esp + 0x14]
inc ecx
dec edi
cmp ecx, esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
jl 0x528f04
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp]
push eax
call fcn.0052b280
mov esi, dword [esp + 0x478]
test esi, esi
je 0x529227
mov eax, dword [esp + 0x468]
fld dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.0058c3f0
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, dword [0x680038]
call fcn.005365d0
fld dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x450
ret 0x1c