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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
cmp eax, 0
jne 0x557644
mov eax, 1
mov edi, eax
push 0
call fcn.00537539
add esp, 4
mov esi, eax
cmp esi, 0x671c40
jne 0x557664
mov eax, 0x671c40
jmp 0x557b2b
add dword [0x6865a8], 1
mov eax, ebx
inc dword [eax + 4]
mov ebx, eax
mov eax, dword [esi + 0xf4]
dec dword [eax + 4]
jne 0x557686
push eax
call fcn.004c1de0
add esp, 4
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xc], 0x4a
mov dword [esi + 0x90], edi
push 1
fld dword [ebp + 0x78]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
push eax
call fcn.0065e049
add esp, 8
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a06f0]
fld dword [0x6a06f4]
fld dword [ebp + 0x74]
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
je 0x5576de
fstp st(0)
jmp 0x557708
fld dword [0x6a06f8]
sub esp, 8
fstp qword [esp]
fld dword [ebp + 0x74]
fmul dword [0x6a06fc]
fsubrp st(1)
sub esp, 8
fstp qword [esp]
call fcn.004c18c0
add esp, 0x10
fstp dword [esi + 0x70]
jmp 0x55770d
fldz
fstp dword [esi + 0x70]
fld dword [ebp + 0x80]
fstp dword [esi + 0xa8]
fld dword [ebp + 0x2c]
fstp dword [esi + 0x6c]
fld dword [esi + 0x6c]
fstp qword [ebp - 8]
fldz
sub esp, 8
fstp qword [esp]
fld dword [ebp + 0x7c]
sub esp, 8
fstp qword [esp]
call fcn.0065e008
add esp, 0x10
fld qword [ebp - 8]
faddp st(1)
fstp qword [ebp - 8]
fld qword [ebp - 8]
fstp dword [esi + 0x78]
fld dword [ebp + 0x54]
fstp dword [esi + 0x74]
fld dword [esi + 0x74]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
setbe al
movzx eax, al
cmp eax, 0
jne 0x55776e
fldz
fstp dword [esi + 0x6c]
mov eax, dword [ebp + 0x64]
mov dword [esi + 0xd8], eax
mov eax, dword [ebp + 0x84]
mov dword [esi + 0xdc], eax
cmp dword [ebp + 0x8c], 0
jne 0x557798
mov dword [esi + 0xe0], 2
jmp 0x5577b9
cmp dword [ebp + 0x8c], 0xffffffff
jne 0x5577ad
mov dword [esi + 0xe0], 0
jmp 0x5577b9
mov eax, dword [ebp + 0x8c]
mov dword [esi + 0xe0], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0x40]
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0x44]
fld dword [esi + 0x40]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [esi + 0xcc], eax
fld dword [esi + 0x44]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
mov dword [esi + 0xd0], eax
fld dword [ebp + 0x4c]
fld dword [ebp + 0x4c]
fmul dword [ebp + 0x60]
faddp st(1)
sub esp, 8
fstp qword [esp]
fld dword [ebp + 0x4c]
sub esp, 8
fstp qword [esp]
call fcn.0065e008
add esp, 0x10
fstp dword [esi + 0x64]
fld dword [ebp + 0x4c]
fstp dword [esi + 0x68]
fld dword [ebp + 0x50]
fstp dword [esi + 0xac]
fld dword [ebp + 0x5c]
fstp dword [esi + 0xb0]
fldz
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x64]
fadd dword [esi + 0xac]
sub esp, 8
fstp qword [esp]
call fcn.004c18c0
add esp, 0x10
fstp dword [esi + 0x64]
fld dword [esi + 0xb0]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x64]
sub esp, 8
fstp qword [esp]
call fcn.004c18a0
add esp, 0x10
fstp dword [esi + 0x64]
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a0700]
fstp dword [esi + 0x50]
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0x60]
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0x58]
fldz
fstp dword [esi + 0x5c]
cmp dword [ebp + 0x40], 0
jne 0x5578d2
push 1
push 0x168
call fcn.0065e049
add esp, 8
mov edx, eax
jmp 0x55792e
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a0704]
faddp st(1)
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
push eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a0708]
fsubp st(1)
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
push eax
call fcn.0065e049
add esp, 8
mov edx, eax
cmp edx, 0
jge 0x557939
add edx, 0x168
fld dword [esi + 0x58]
fld dword [0x6a070c]
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
jne 0x55796a
fld dword [esi + 0x58]
fld dword [0x6a0710]
fxch st(1)
fucompp
fnstsw ax
sahf
sete al
movzx eax, al
cmp eax, 0
je 0x5579a1
mov dword [ebp - 0xc], edx
fild dword [ebp - 0xc]
fstp dword [esi + 0x60]
fld dword [esi + 0x60]
fldz
fxch st(1)
fucompp
fnstsw ax
sahf
setae al
movzx eax, al
cmp eax, 0
jne 0x55799b
fld dword [esi + 0x60]
fadd dword [0x6a0714]
fstp dword [esi + 0x60]
fld dword [esi + 0x60]
fstp dword [esi + 0x5c]
push 0x167
push edx
call fcn.004c17f0
add esp, 8
mov edx, eax
mov eax, dword [0x686f58]
fld dword [eax + edx*4 + 0x18]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmulp st(1)
fstp dword [esi + 0x84]
mov eax, dword [0x686f50]
fld dword [eax + edx*4 + 0x18]
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmulp st(1)
fstp dword [esi + 0x88]
fld dword [ebp + 0x68]
fmul dword [0x6a0718]
fstp dword [esi + 0xa0]
fld dword [ebp + 0x6c]
fmul dword [0x6a071c]
fstp dword [esi + 0xa4]
mov eax, dword [ebp + 0x70]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp + 0x48]
mov dword [esi + 0x80], eax
mov ebx, dword [ebp + 0xc]
inc dword [ebx + 4]
mov eax, dword [esi + 0x10]
dec dword [eax + 4]
jne 0x557a29
push eax
call fcn.004c1de0
add esp, 4
mov dword [esi + 0x10], ebx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x94], eax
mov ebx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a0720]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
push eax
mov eax, dword [ebp + 0x24]
neg eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fmul dword [0x6a0724]
sub esp, 8
fstp qword [esp]
call fcn.006617e4
add esp, 8
push eax
call fcn.0065e049
add esp, 8
add ebx, eax
mov dword [esi + 0x98], ebx
mov eax, dword [ebp + 0x88]
mov dword [esi + 0x18], eax
cmp dword [ebp + 0x10], 0
jle 0x557ac2
push 1
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
call fcn.0065e049
add esp, 8
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0x14]
cmp dword [esi + 0x98], 0
jne 0x557ac2
mov dword [esi + 0x94], 0
cmp dword [ebp + 0x10], 1
jg 0x557ad7
mov dword [esi + 0x94], 0
fldz
fstp dword [esi + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0xb4]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0xb8]
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp dword [esi + 0xbc]
fldz
fstp dword [esi + 0x3c]
mov dword [esi + 0xc4], 0x661724
mov dword [esi + 0xc8], 0x661724
mov dword [esi + 0xe8], 0
mov eax, esi
jmp 0x557b2b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret