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

Disassembly:
sub esp, 0x1dc
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x53ab5a
cmp dword [ebx + 0x2c], ebp
je 0x53ab5a
push esi
mov esi, dword [esp + 0x1ec]
cmp esi, ebp
je 0x53ab59
cmp dword [esi + 8], ebp
je 0x53ab59
mov eax, dword [0x21f42f8]
mov ecx, dword [eax]
push 0x2000
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebx + 0x1c]
shl edx, 5
push edx
push ebp
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x53ab59
cmp dword [ebx + 0x1c], ebp
mov dword [esp + 0x14], ebp
jle 0x53ab4e
mov eax, dword [esp + 0x10]
push edi
jmp 0x53a680
mov esi, dword [esp + 0x1f0]
lea esp, [esp]
mov ecx, dword [ebx + 8]
fld dword [0x6a92f8]
add ecx, ebp
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
lea eax, [edx + ebp + 0x14]
mov edx, dword [eax]
add ecx, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + ebp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x18], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + ebp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], edx
mov ecx, dword [ebx + 8]
fsub dword [ecx + ebp + 0xc]
lea eax, [ecx + ebp]
movzx eax, byte [eax + 0x11]
mov ecx, dword [esi + 8]
mov esi, dword [ebx + 0x2c]
fstp dword [esp + 0x10]
mov edx, eax
imul edx, edx, 0x118
shl eax, 6
lea edx, [edx + ecx + 0xc0]
push edx
add eax, esi
push eax
lea eax, [esp + 0x174]
push eax
call fcn.005d268c
mov ecx, 0x10
lea esi, [esp + 0x16c]
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0xdc]
fmul dword [esp + 0x10]
fstp dword [esp + 0x1c]
fld dword [esp + 0xe0]
fmul dword [esp + 0x10]
fstp dword [esp + 0x20]
fld dword [esp + 0xe4]
fmul dword [esp + 0x10]
fstp dword [esp + 0x24]
fld dword [esp + 0xe8]
fmul dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0xec]
fmul dword [esp + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0xf0]
fmul dword [esp + 0x10]
fstp dword [esp + 0x30]
fld dword [esp + 0xf4]
fmul dword [esp + 0x10]
fstp dword [esp + 0x34]
fld dword [esp + 0xf8]
fmul dword [esp + 0x10]
fstp dword [esp + 0x38]
fld dword [esp + 0xfc]
fmul dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x100]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x104]
fmul dword [esp + 0x10]
fstp dword [esp + 0x44]
fld dword [esp + 0x108]
mov ecx, dword [ebx + 8]
fmul dword [esp + 0x10]
movzx eax, byte [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x1f0]
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x48]
mov edx, eax
fld dword [esp + 0x10c]
imul edx, edx, 0x118
fmul dword [esp + 0x10]
fstp dword [esp + 0x4c]
fld dword [esp + 0x110]
fmul dword [esp + 0x10]
fstp dword [esp + 0x50]
fld dword [esp + 0x114]
lea edx, [edx + ecx + 0xc0]
fmul dword [esp + 0x10]
push edx
mov edx, dword [ebx + 0x2c]
shl eax, 6
fstp dword [esp + 0x58]
add eax, edx
fld dword [esp + 0x11c]
push eax
fmul dword [esp + 0x18]
lea eax, [esp + 0x1b4]
push eax
fstp dword [esp + 0x64]
call fcn.005d268c
mov ecx, 0x10
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
fld dword [ecx + ebp + 0xc]
fld dword [esp + 0x11c]
fmul st(1)
fld dword [esp + 0x120]
fmul st(2)
fstp dword [esp + 0x60]
fld dword [esp + 0x124]
fmul st(2)
fstp dword [esp + 0x64]
fld dword [esp + 0x128]
fmul st(2)
fstp dword [esp + 0x68]
fld dword [esp + 0x12c]
fmul st(2)
fstp dword [esp + 0x6c]
fld dword [esp + 0x130]
fmul st(2)
fstp dword [esp + 0x70]
fld dword [esp + 0x134]
fmul st(2)
fstp dword [esp + 0x74]
fld dword [esp + 0x138]
fmul st(2)
fstp dword [esp + 0x78]
fld dword [esp + 0x13c]
fmul st(2)
fstp dword [esp + 0x7c]
fld dword [esp + 0x140]
fmul st(2)
fstp dword [esp + 0x80]
fld dword [esp + 0x144]
fmul st(2)
fstp dword [esp + 0x84]
fld dword [esp + 0x148]
fmul st(2)
fstp dword [esp + 0x88]
fld dword [esp + 0x14c]
fmul st(2)
fstp dword [esp + 0x8c]
fld dword [esp + 0x150]
fmul st(2)
fstp dword [esp + 0x90]
fld dword [esp + 0x154]
fmul st(2)
fstp dword [esp + 0x94]
fld dword [esp + 0x158]
fmul st(2)
mov edx, dword [esp + 0x200]
push edx
lea eax, [esp + 0xa0]
fstp dword [esp + 0x9c]
push eax
mov ecx, eax
fadd dword [esp + 0x24]
push ecx
fstp dword [esp + 0xa8]
fstp st(0)
fld dword [esp + 0x6c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0xac]
fld dword [esp + 0x70]
fadd dword [esp + 0x30]
fstp dword [esp + 0xb0]
fld dword [esp + 0x74]
fadd dword [esp + 0x34]
fstp dword [esp + 0xb4]
fld dword [esp + 0x78]
fadd dword [esp + 0x38]
fstp dword [esp + 0xb8]
fld dword [esp + 0x7c]
fadd dword [esp + 0x3c]
fstp dword [esp + 0xbc]
fld dword [esp + 0x80]
fadd dword [esp + 0x40]
fstp dword [esp + 0xc0]
fld dword [esp + 0x84]
fadd dword [esp + 0x44]
fstp dword [esp + 0xc4]
fld dword [esp + 0x88]
fadd dword [esp + 0x48]
fstp dword [esp + 0xc8]
fld dword [esp + 0x8c]
fadd dword [esp + 0x4c]
fstp dword [esp + 0xcc]
fld dword [esp + 0x90]
fadd dword [esp + 0x50]
fstp dword [esp + 0xd0]
fld dword [esp + 0x94]
fadd dword [esp + 0x54]
fstp dword [esp + 0xd4]
fld dword [esp + 0x98]
fadd dword [esp + 0x58]
fstp dword [esp + 0xd8]
fld dword [esp + 0x9c]
fadd dword [esp + 0x5c]
fstp dword [esp + 0xdc]
fld dword [esp + 0xa0]
fadd dword [esp + 0x60]
fstp dword [esp + 0xe0]
fld dword [esp + 0xa4]
fadd dword [esp + 0x64]
fstp dword [esp + 0xe4]
call fcn.005d268c
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0xa0]
push eax
mov ecx, 0x21f3fa0
call fcn.0052be00
mov ecx, dword [esp + 0x1fc]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x164]
push eax
call fcn.005d1c43
fld dword [0x6a92f8]
fdiv dword [esp + 0x164]
mov ecx, dword [esp + 0x1f4]
fld dword [esp + 0x15c]
fmul st(1)
fabs
fld st(0)
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x53aacd
fstp dword [ecx]
jmp 0x53aacf
fstp st(0)
fmul dword [esp + 0x160]
mov ecx, dword [esp + 0x1f8]
fabs
fld st(0)
fcomp dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x53aaee
fstp dword [ecx]
jmp 0x53aaf0
fstp st(0)
mov ecx, dword [esp + 0x14]
add ecx, 0xc
push ecx
lea edx, [esp + 0xa0]
push edx
mov ecx, 0x21f3fa0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
call fcn.0052be00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x1c]
add eax, 0x20
inc ecx
add ebp, 0x28
cmp ecx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jl 0x53a672
pop edi
mov eax, dword [0x21f42f8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
pop esi
pop ebp
pop ebx
add esp, 0x1dc
ret 0x14