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

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push ebp
xor eax, eax
mov ebp, dword [ebx + 0x380]
mov dword [esp + 0xc], ebx
cmp ebp, eax
jne 0x559403
pop ebp
pop ebx
add esp, 0x80
ret
cmp dword [ebx + 0x350], eax
jne 0x559416
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret
mov ecx, dword [ebx + 0x1c]
xor edx, edx
push esi
cmp ecx, eax
push edi
jle 0x559477
mov edi, 0x501502f9
mov esi, 0xd01502f9
mov ecx, dword [ebx + 0x350]
mov dword [eax + ecx + 0x50], edi
mov dword [eax + ecx + 0x4c], edi
mov dword [eax + ecx + 0x48], edi
lea ecx, [eax + ecx + 0x48]
inc edx
mov ecx, dword [ebx + 0x350]
mov dword [eax + ecx + 0x5c], esi
mov dword [eax + ecx + 0x58], esi
mov dword [eax + ecx + 0x54], esi
lea ecx, [eax + ecx + 0x54]
add eax, 0x334
mov ecx, dword [ebx + 0x350]
mov dword [eax + ecx - 0x308], 0
mov ecx, dword [ebx + 0x1c]
cmp edx, ecx
jl 0x55942b
xor eax, eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x10], eax
cmp ecx, eax
jle 0x55958b
add ebp, 0x10
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x10]
xor edi, edi
test eax, eax
jle 0x559572
mov eax, dword [ecx + 0x20]
xor esi, esi
test eax, eax
jle 0x559563
test esi, esi
je 0x5594c3
mov edx, dword [ecx + 0x28]
fld dword [edx + esi*4]
fcomp dword [0x5a83f0]
fnstsw ax
and eax, 0x4100
jne 0x559557
mov eax, dword [ecx + 0x24]
mov eax, dword [eax + esi*4]
lea edx, [eax + eax*4]
lea eax, [eax + edx*8]
mov edx, dword [ebx + 0x350]
lea eax, [eax + eax*4]
fld dword [edx + eax*4 + 0x54]
lea edx, [edx + eax*4]
mov dword [edx + 0x2c], 1
fcomp dword [ecx]
fnstsw ax
test ah, 5
jp 0x5594f4
mov eax, dword [ecx]
mov dword [edx + 0x54], eax
fld dword [edx + 0x48]
fcomp dword [ecx]
fnstsw ax
and eax, 0x4100
jne 0x559507
mov eax, dword [ecx]
mov dword [edx + 0x48], eax
fld dword [edx + 0x58]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 5
jp 0x55951a
mov eax, dword [ecx + 4]
mov dword [edx + 0x58], eax
fld dword [edx + 0x4c]
fcomp dword [ecx + 4]
fnstsw ax
and eax, 0x4100
jne 0x55952f
mov eax, dword [ecx + 4]
mov dword [edx + 0x4c], eax
fld dword [edx + 0x5c]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 5
jp 0x559542
mov eax, dword [ecx + 8]
mov dword [edx + 0x5c], eax
fld dword [edx + 0x50]
fcomp dword [ecx + 8]
fnstsw ax
and eax, 0x4100
jne 0x559557
mov eax, dword [ecx + 8]
mov dword [edx + 0x50], eax
mov eax, dword [ecx + 0x20]
inc esi
cmp esi, eax
jl 0x5594a6
mov eax, dword [ebp]
inc edi
add ecx, 0x2c
cmp edi, eax
jl 0x559499
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
inc eax
add ebp, 0x3c
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x559489
xor eax, eax
mov ecx, dword [ebx + 0x1c]
mov esi, dword [ebx + 0x350]
cmp ecx, eax
mov dword [esp + 0x10], eax
jle 0x55982c
add esi, 0x94
jmp 0x5595aa
xor eax, eax
cmp dword [esi - 0x68], eax
je 0x5597d5
fld dword [esi - 0x40]
fsub dword [esi - 0x4c]
lea eax, [esi - 0x4c]
lea ecx, [esi - 0x34]
fstp dword [esp + 0x18]
fld dword [esi - 0x3c]
fsub dword [esi - 0x48]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x1c]
fld dword [esi - 0x38]
fsub dword [esi - 0x44]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], edx
fstp dword [esp + 0x20]
fld dword [esp + 0x18]
fmul dword [0x5a83e8]
mov edx, dword [esp + 0x20]
mov dword [ecx + 8], edx
lea ecx, [esi - 0x28]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [0x5a83e8]
mov edx, dword [esp + 0x24]
mov dword [ecx], edx
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [0x5a83e8]
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], edx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [ecx + 8], edx
lea edx, [esi - 0x10]
mov ecx, eax
mov edi, edx
fld dword [esp + 0x18]
mov ebx, dword [ecx]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fxch st(2)
mov dword [edi], ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ecx, dword [esi - 0x48]
fadd dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi - 0x44]
mov dword [esp + 0x38], ecx
lea ecx, [esi - 4]
mov edi, ecx
fstp dword [esp + 0x30]
mov ebx, dword [esp + 0x30]
mov dword [edi], ebx
mov ebx, dword [esp + 0x34]
fxch st(1)
fld st(0)
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [edi + 8], ebx
mov edi, dword [ecx]
fadd dword [esi + 4]
mov dword [esp + 0x3c], edi
mov edi, dword [esi]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x40], edi
lea edi, [esi + 8]
fstp dword [esp + 0x44]
mov ebx, edi
mov dword [ebx], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [ebx + 8], ebp
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [esi - 0x48]
mov ebp, dword [esp + 0x48]
fadd dword [esi - 0x44]
mov dword [esp + 0x4c], eax
lea eax, [esi + 0x14]
mov ebx, eax
fstp dword [esp + 0x50]
mov dword [ebx], ebp
mov ebp, dword [esp + 0x4c]
fld st(0)
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x50]
mov dword [ebx + 8], ebp
mov edx, dword [edx]
fadd dword [esi - 0xc]
mov dword [esp + 0x54], edx
mov edx, dword [esi - 8]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
lea edx, [esi + 0x20]
lea ebp, [esi + 0x170]
fstp dword [esp + 0x58]
mov dword [edx], ebx
mov ebx, dword [esp + 0x58]
fld st(0)
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [edx + 8], ebx
mov ecx, dword [ecx]
fadd dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x60]
lea ecx, [esi + 0x2c]
mov ebx, 8
fstp dword [esp + 0x64]
mov dword [ecx], edx
mov edx, dword [esp + 0x64]
fld st(0)
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 8], edx
mov ecx, dword [edi]
fadd dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
lea ecx, [esi + 0x38]
lea edi, [esi + 0x90]
fstp dword [esp + 0x70]
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov eax, dword [eax]
fadd dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
lea edx, [esi + 0x44]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x78], eax
mov dword [edx], eax
mov eax, dword [esp + 0x80]
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
lea ecx, [edi - 0xa0]
push ebp
lea edx, [esp + 0x88]
push ecx
push edx
call fcn.004773e0
mov edx, dword [eax]
mov ecx, edi
add esp, 0xc
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
dec ebx
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
jne 0x55979f
mov ebx, dword [esp + 0x14]
jmp 0x559812
mov dword [esi - 0x2c], eax
mov dword [esi - 0x30], eax
mov dword [esi - 0x34], eax
mov dword [esi - 0x20], eax
mov dword [esi - 0x24], eax
mov dword [esi - 0x28], eax
mov dword [esi - 0x38], eax
mov dword [esi - 0x3c], eax
mov dword [esi - 0x40], eax
mov dword [esi - 0x44], eax
mov dword [esi - 0x48], eax
mov dword [esi - 0x4c], eax
mov ecx, 0x18
xor eax, eax
lea edi, [esi - 0x10]
rep stosd dword es:[edi], eax
mov ecx, 0x18
lea edi, [esi + 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x1c]
inc eax
add esi, 0x334
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x5595a8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret