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

Disassembly:
sub esp, 0x27c
push ebx
push ebp
push esi
push edi
push 0
push 0x20
lea eax, [esp + 0x38]
push eax
push 3
call dword [0x10051740]
test eax, eax
jne 0x573a2e
push eax
push 0x138
lea ecx, [esp + 0x58]
push ecx
push 2
call dword [0x10051740]
test eax, eax
jne 0x573a2e
movsx eax, byte [0x1005176c]
mov ebp, dword [0x1002b054]
lea edx, [eax + eax*2]
shl edx, 4
push edx
push 0
call ebp
mov edi, dword [0x1002b04c]
push eax
call edi
mov ecx, eax
lea eax, [esp + 0x28]
push eax
movsx eax, byte [0x1005176c]
lea edx, [eax + eax*2]
shl edx, 4
push edx
push ecx
push 8
mov dword [esp + 0x28], ecx
call dword [0x10051740]
test eax, eax
jne 0x573a2e
xor esi, esi
jmp 0x573484
add esi, 0x10000
push esi
push 0
call ebp
push eax
call edi
mov ebx, eax
lea eax, [esp + 0x28]
push eax
push esi
push ebx
push 5
mov dword [esp + 0x3c], ebx
call dword [0x10051740]
cmp eax, 0xc0000004
jne 0x5734bc
push ebx
push 0
call ebp
push eax
call dword [0x1002b050]
jmp 0x573484
push 0x10051718
call dword [0x1002b068]
mov eax, dword [0x10051f28]
mov ecx, 0x4e
lea esi, [esp + 0x50]
mov edi, 0x100515e0
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x5734ec
push eax
push 0
call ebp
push eax
call dword [0x1002b050]
movsx edx, byte [0x1005176c]
fldz
mov eax, dword [esp + 0x18]
fld qword [0x100308b0]
xor esi, esi
cmp edx, 4
mov dword [0x10051f28], eax
mov dword [esp + 0x1c], edx
jl 0x57367b
lea ecx, [edx - 4]
shr ecx, 2
add eax, 8
inc ecx
lea esi, [ecx*4]
fild dword [eax + 0x14]
mov edi, dword [eax + 0x10]
fmul st(1)
fild dword [eax + 0x10]
test edi, edi
jge 0x573539
fadd qword [0x100308b0]
mov edi, dword [eax]
faddp st(1)
fild dword [eax + 4]
fmul st(2)
fild dword [eax]
test edi, edi
jge 0x57354e
fadd qword [0x100308b0]
mov edi, dword [eax + 0x18]
faddp st(1)
faddp st(3)
faddp st(2)
fild dword [eax + 0x1c]
fmul st(1)
fild dword [eax + 0x18]
test edi, edi
jge 0x573569
fadd qword [0x100308b0]
mov edi, dword [eax + 0x30]
faddp st(1)
faddp st(2)
fild dword [eax + 0x34]
fmul st(1)
fild dword [eax + 0x30]
test edi, edi
jge 0x573582
fadd qword [0x100308b0]
mov edi, dword [eax + 0x40]
faddp st(1)
faddp st(2)
fild dword [eax + 0x44]
fmul st(1)
fild dword [eax + 0x40]
test edi, edi
jge 0x57359b
fadd qword [0x100308b0]
mov edi, dword [eax + 0x48]
faddp st(1)
faddp st(2)
fild dword [eax + 0x4c]
fmul st(1)
fild dword [eax + 0x48]
test edi, edi
jge 0x5735b4
fadd qword [0x100308b0]
mov edi, dword [eax + 0x60]
faddp st(1)
faddp st(2)
fild dword [eax + 0x64]
fmul st(1)
fild dword [eax + 0x60]
test edi, edi
jge 0x5735cd
fadd qword [0x100308b0]
mov edi, dword [eax + 0x70]
faddp st(1)
faddp st(2)
fild dword [eax + 0x74]
fmul st(1)
fild dword [eax + 0x70]
test edi, edi
jge 0x5735e6
fadd qword [0x100308b0]
mov edi, dword [eax + 0x78]
faddp st(1)
faddp st(2)
fild dword [eax + 0x7c]
fmul st(1)
fild dword [eax + 0x78]
test edi, edi
jge 0x5735ff
fadd qword [0x100308b0]
mov edi, dword [eax + 0x90]
faddp st(1)
faddp st(2)
fild dword [eax + 0x94]
fmul st(1)
fild dword [eax + 0x90]
test edi, edi
jge 0x573621
fadd qword [0x100308b0]
mov edi, dword [eax + 0xa0]
faddp st(1)
faddp st(2)
fild dword [eax + 0xa4]
fmul st(1)
fild dword [eax + 0xa0]
test edi, edi
jge 0x573643
fadd qword [0x100308b0]
mov edi, dword [eax + 0xa8]
faddp st(1)
faddp st(2)
fild dword [eax + 0xac]
fmul st(1)
fild dword [eax + 0xa8]
test edi, edi
jge 0x573665
fadd qword [0x100308b0]
faddp st(1)
add eax, 0xc0
sub ecx, 1
faddp st(2)
jne 0x573524
mov eax, dword [esp + 0x18]
cmp esi, edx
jae 0x5736dc
lea ecx, [esi + esi*2]
shl ecx, 4
lea eax, [ecx + eax + 8]
sub edx, esi
fild dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
fmul st(1)
fild dword [eax + 0x10]
test ecx, ecx
jge 0x5736a0
fadd qword [0x100308b0]
mov ecx, dword [eax]
faddp st(1)
fild dword [eax + 4]
fmul st(2)
fild dword [eax]
test ecx, ecx
jge 0x5736b5
fadd qword [0x100308b0]
mov ecx, dword [eax + 0x18]
faddp st(1)
faddp st(3)
faddp st(2)
fild dword [eax + 0x1c]
fmul st(1)
fild dword [eax + 0x18]
test ecx, ecx
jge 0x5736d0
fadd qword [0x100308b0]
faddp st(1)
add eax, 0x30
sub edx, 1
faddp st(2)
jne 0x57368b
mov edi, dword [0x10051f58]
fld qword [0x10030890]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, edi
or edx, dword [0x10051f5c]
mov edx, dword [esp + 0x50]
je 0x5737ac
mov ebp, dword [0x10051f6c]
mov esi, dword [0x10051f68]
mov dword [esp + 0x14], ebp
mov ebp, eax
sub ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
fild dword [esp + 0x20]
mov ebp, ecx
sub ebp, esi
mov dword [esp + 0x10], ebp
fmul st(2)
fild dword [esp + 0x10]
test ebp, ebp
jge 0x573738
fadd qword [0x100308b0]
faddp st(1)
mov esi, edx
mov dword [esp + 0x10], esi
fst qword [0x10051730]
fild dword [esp + 0x1c]
fild dword [esp + 0x54]
fmul st(4)
fild dword [esp + 0x10]
test esi, esi
jge 0x57375e
fadd qword [0x100308b0]
faddp st(1)
mov dword [esp + 0x10], edi
fild dword [0x10051f5c]
fmulp st(5)
fild dword [esp + 0x10]
test edi, edi
jge 0x57377a
fadd qword [0x100308b0]
faddp st(5)
mov ebp, dword [0x1002b054]
fsubrp st(4)
fxch st(3)
fdiv st(1)
fmul st(2)
fdiv st(3)
fsubr st(2)
fstp qword [0x10051770]
fld st(3)
fsub qword [0x10051f60]
fdivrp st(1)
fmul st(1)
fdivrp st(2)
fsubrp st(1)
fstp qword [0x10051738]
jmp 0x5737b0
fstp st(1)
fstp st(0)
mov dword [0x10051f6c], eax
fstp qword [0x10051f60]
mov eax, dword [0x10051f24]
mov dword [0x10051f58], edx
mov edx, dword [esp + 0x54]
mov dword [0x10051f20], eax
xor eax, eax
mov dword [0x10051f5c], edx
mov dword [0x10051f68], ecx
mov dword [0x10051f24], eax
mov edx, ebx
test ebx, ebx
je 0x5737f8
mov ecx, dword [edx]
inc eax
test ecx, ecx
je 0x5737f3
add edx, ecx
jne 0x5737e8
mov dword [0x10051f24], eax
mov ecx, dword [0x10051f18]
test ecx, ecx
je 0x573813
push ecx
push 0
call ebp
push eax
call dword [0x1002b050]
mov eax, dword [0x10051f24]
mov ecx, dword [0x10051f1c]
lea edx, [eax + eax*2]
shl edx, 4
push edx
push 0
mov dword [0x10051f18], ecx
call ebp
push eax
call dword [0x1002b04c]
mov ebp, eax
xor eax, eax
mov dword [0x10051f1c], ebp
mov esi, ebx
mov dword [esp + 0x20], eax
cmp dword [0x10051f24], eax
jbe 0x573a13
mov dword [esp + 0x18], eax
mov edx, dword [0x10051f20]
xor ebx, ebx
xor eax, eax
test edx, edx
jbe 0x573882
mov edi, dword [esi + 0x44]
mov ecx, dword [0x10051f18]
cmp dword [ecx], edi
je 0x573876
inc eax
add ecx, 0x30
cmp eax, edx
jb 0x573868
jmp 0x573882
lea ebx, [eax + eax*2]
shl ebx, 4
add ebx, dword [0x10051f18]
mov eax, dword [esp + 0x18]
push 0x30
lea edi, [eax + ebp]
push 0
push edi
call fcn.00589194
mov ecx, dword [esi + 0x44]
add esp, 0xc
mov dword [edi], ecx
test ebx, ebx
je 0x57394d
fild dword [esi + 0x34]
mov edx, dword [esi + 0x30]
fld qword [0x100308b0]
fmul st(1), st(0)
fild dword [esi + 0x30]
test edx, edx
jge 0x5738be
fadd qword [0x100308b0]
mov eax, dword [esi + 0x28]
faddp st(2)
fild dword [esi + 0x2c]
fmul st(1)
fild dword [esi + 0x28]
test eax, eax
jge 0x5738d5
fadd qword [0x100308b0]
mov ecx, dword [ebx + 0x28]
faddp st(1)
faddp st(2)
fild dword [ebx + 0x2c]
fmul st(1)
fild dword [ebx + 0x28]
test ecx, ecx
jge 0x5738ee
fadd qword [0x100308b0]
mov edx, dword [ebx + 0x20]
faddp st(1)
fild dword [ebx + 0x24]
fmulp st(2)
fild dword [ebx + 0x20]
test edx, edx
jge 0x573905
fadd qword [0x100308b0]
faddp st(2)
movsx eax, byte [0x1005176c]
mov dword [esp + 0x1c], eax
faddp st(1)
fsubp st(1)
fdiv qword [0x10051730]
fmul qword [0x10030890]
fild dword [esp + 0x1c]
fnstcw word [esp + 0x1c]
fdivp st(1)
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x10], eax
fldcw word [esp + 0x10]
fistp qword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], ecx
fldcw word [esp + 0x1c]
mov edx, dword [esi + 0x30]
add edx, dword [esi + 0x28]
mov eax, dword [esi + 0x34]
adc eax, dword [esi + 0x2c]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x44]
test eax, eax
je 0x5739d1
push eax
push 0
push 0x20400
call dword [0x1002b05c]
mov edi, eax
test edi, edi
je 0x5739cb
cmp dword [esi + 0x44], 4
je 0x5739c4
lea ecx, [esp + 0x24]
push ecx
push 8
push edi
call dword [0x1002b020]
test eax, eax
je 0x5739c4
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0x100
lea eax, [esp + 0x190]
push eax
push 1
push ecx
mov dword [esp + 0x24], 0
call dword [0x1002b000]
mov edx, dword [esp + 0x24]
push edx
call dword [0x1002b048]
push edi
call dword [0x1002b048]
mov ebp, dword [0x10051f1c]
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
mov dword [eax + ebp + 0x28], ecx
mov edx, dword [esi + 0x2c]
mov dword [eax + ebp + 0x2c], edx
mov ecx, dword [esi + 0x30]
mov dword [eax + ebp + 0x20], ecx
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x20]
mov dword [eax + ebp + 0x24], edx
add esi, dword [esi]
inc ecx
add eax, 0x30
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
cmp ecx, dword [0x10051f24]
jb 0x573851
mov ebx, dword [esp + 0x2c]
push ebx
push 0
call dword [0x1002b054]
push eax
call dword [0x1002b050]
push 0x10051718
call dword [0x1002b060]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x27c
ret