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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x67b006
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [edi + 4], 0
mov byte [edi + 0x388], 0xff
mov eax, dword [ebx + 4]
test eax, eax
jle 0x558685
mov eax, dword [edi]
mov ecx, dword [eax + 0x814]
mov dword [esp + 0xd0], ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x3d4]
mov edx, dword [0x6f2830]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
mov dword [esp + 0x2c], edx
call dword [eax + 0x50]
fmul dword [esp + 0x20]
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 0x41
jne 0x557bb6
fstp dword [esp + 0x3c]
jmp 0x557bc0
mov ecx, dword [esp + 0x2c]
fstp st(0)
mov dword [esp + 0x3c], ecx
mov esi, dword [edi]
mov edx, dword [esi + 0x3d4]
mov eax, edx
push eax
mov dword [esp + 0x24], edx
call fcn.00453eb0
fstp dword [esp + 0xd8]
mov eax, dword [edi]
fld dword [eax + 0x70]
mov ecx, dword [eax + 0x78]
fld dword [eax + 0x74]
mov edx, ecx
fxch st(1)
mov dword [esp + 0xec], edx
fstp dword [esp + 0xe4]
mov dword [esp + 0x24], ecx
add esp, 4
fstp dword [esp + 0xe4]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov esi, dword [eax + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 0x68]
cmp byte [esi + 0x424], 0xff
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], ecx
jne 0x557c39
push 1
mov eax, esi
call fcn.0055c180
movsx edx, byte [esi + 0x424]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], edx
push ecx
mov ecx, dword [edi]
lea edx, [esp + 0x50]
push edx
mov eax, ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x40], 0
call fcn.00580d30
mov ecx, dword [ebx + eax*4 + 8]
call fcn.005818f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00547140
mov edx, 0x4000
add esp, 8
lea ecx, [esp + 0x190]
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x74], 0
sub edx, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3f800000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x3f800000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0x3f800000
call fcn.0040ab30
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.0059fcbc
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x148]
push edx
call fcn.0059f3cf
mov ebx, dword [0x72cd64]
mov eax, 0x72cd64
call fcn.0058a1c0
cmp ebx, eax
mov dword [esp + 0x30], eax
je 0x5584d4
lea eax, [edi + 0x20]
lea ecx, [edi + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
jmp 0x557db0
mov edi, dword [ebp + 8]
lea ecx, [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 0x82c]
mov ecx, dword [ebx + 0x1d4]
cmp ecx, eax
sete al
test al, al
mov byte [esp + 0x2b], al
je 0x557dd3
mov dword [esp + 0x4c], 0x10
mov eax, dword [ecx]
call dword [eax + 0x20]
test al, al
jne 0x557de8
mov al, byte [esp + 0x2b]
test al, al
je 0x5584c8
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x34], ecx
jge 0x5584c8
mov eax, dword [ebx + 0x1d4]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x557e10
mov ecx, esi
call fcn.0059c2a0
fld dword [esi + 0x40]
mov edx, dword [esi + 0x48]
fld dword [esi + 0x44]
mov eax, dword [ebx + 0x1d4]
mov esi, dword [eax + 0x1c]
fxch st(1)
fsub dword [esp + 0xbc]
mov eax, dword [esi + 0xe4]
test eax, eax
mov dword [esp + 0xc4], edx
fstp dword [esp + 0x1c]
fsub dword [esp + 0xc8]
fstp dword [esp + 0x24]
fld dword [esp + 0xc4]
fsub dword [esp + 0xcc]
fstp dword [esp + 0x18]
je 0x557e64
mov ecx, esi
call fcn.0059c2a0
fld dword [esi + 0x90]
mov eax, dword [esi + 0x98]
fld dword [esi + 0x94]
mov dword [esp + 0xb8], eax
fxch st(1)
mov ecx, dword [ebp + 8]
fsub dword [esp + 0xe0]
mov edi, dword [ecx]
mov esi, dword [ebx + 0x1d4]
add edi, 0x90
fstp dword [esp + 0x14]
fsub dword [esp + 0xe4]
fld dword [esp + 0xb8]
fsub dword [esp + 0xe8]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fstp dword [esp + 0x1c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fstp st(2)
fstp st(0)
fsqrt
fstp dword [esp + 0x18]
call fcn.00556800
fld dword [eax + 4]
fmul dword [edi + 4]
fld dword [eax]
fmul dword [edi]
faddp st(1)
fcomp dword [0x6bda00]
fnstsw ax
test ah, 5
jp 0x557f18
fld dword [esp + 0x18]
fchs
fstp dword [esp + 0x18]
mov ecx, dword [ebx + 0x1d4]
add ecx, 0x1c
call fcn.00436420
cmp eax, 4
jne 0x557f36
mov edx, dword [ebx + 0x1d0]
fld dword [edx + 0x14]
jmp 0x557f41
mov ecx, dword [ebx + 0x1d4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [0x72c0b8]
fsub dword [esp + 0xd0]
test eax, eax
jle 0x557f9a
mov ecx, dword [0x72c0bc]
mov al, byte [ecx + 1]
test al, al
je 0x557f9a
fld dword [0x72c0b0]
fmul dword [0x6bdb70]
fld st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x557f7d
fadd dword [0x72c0b0]
jmp 0x557f9a
fld dword [0x72c0b0]
fmul dword [0x6bda38]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x557f9a
fsub dword [0x72c0b0]
fabs
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jnp 0x557fdb
mov edx, dword [esp + 0xd4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push edx
mov edx, dword [ebp + 8]
push eax
mov eax, dword [edx]
push ecx
push eax
mov eax, ebx
call fcn.00454030
add esp, 0x14
test al, al
je 0x5584c8
fld dword [esp + 0x3c]
fmul dword [0x6bda08]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 1
jne 0x5584c8
mov eax, dword [ebx + 0x1d4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xe4]
test eax, eax
mov dword [esp + 0x44], 0
je 0x558014
call fcn.0059c2a0
mov eax, dword [ebx + 0x1d4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xe4]
test eax, eax
je 0x55802c
call fcn.0059c2a0
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
push ebx
push esi
xor edi, edi
call fcn.00580d90
push edi
mov edi, dword [esp + 0x48]
push edi
xor eax, eax
mov ecx, esi
call fcn.00580e00
mov ecx, dword [esp + 0xdc]
push ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + eax*4 + 8]
push edi
mov dword [esp + 0x2c], eax
push eax
mov eax, ebx
call fcn.00581aa0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x2c]
fstp dword [edx]
mov dword [esp + 0x18], 0xb
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 6
lea esp, [esp]
mov eax, dword [ebx + 0x1d4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0xe4]
test eax, eax
je 0x5580a8
call fcn.0059c2a0
mov eax, dword [ebx + 0x1d4]
mov edi, dword [eax + 0x1c]
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x5580c2
mov ecx, edi
call fcn.0059c2a0
mov esi, dword [ebx + 0x1d4]
call fcn.00556800
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x68]
test eax, eax
lea ecx, [edi + 0x40]
je 0x5580e4
mov edx, dword [esp + 0x18]
push edx
mov esi, eax
jmp 0x5580e9
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00581940
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp dword [eax]
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc ecx
dec eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x558090
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov dword [edi - 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x18], edx
mov al, byte [ecx + 0x5c]
cmp al, 0xff
je 0x558165
mov dx, word [ecx + 0x5e]
cmp dx, 0xffff
je 0x558165
movsx eax, al
test eax, eax
jl 0x558147
mov eax, dword [eax*4 + 0x76ca00]
jmp 0x558149
xor eax, eax
movsx edx, dx
imul edx, edx, 0x88
lea eax, [edx + eax + 0x27c]
test eax, eax
je 0x558165
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
jmp 0x558167
xor eax, eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.00547140
mov ecx, 0x4000
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
sub ecx, eax
lea eax, [ecx + 0x4000]
push eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0x3f800000
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0x3f800000
call fcn.00546ea0
fstp dword [esp + 0x20]
push ecx
call fcn.00546ea0
fst dword [esp + 0x104]
mov ecx, dword [esp + 0x24]
fchs
add esp, 0x10
fstp dword [esp + 0x100]
mov edx, ecx
lea eax, [esp + 0xf0]
mov dword [esp + 0xf0], ecx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x108], edx
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0x3f800000
call fcn.0059fcbc
mov eax, dword [ebx + 0x1d4]
mov esi, dword [eax + 0x1c]
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x558316
mov ecx, esi
call fcn.0059c2a0
lea eax, [esp + 0x70]
push eax
add esi, 0x90
push esi
lea ecx, [esp + 0x138]
push ecx
call fcn.0059f3cf
fld dword [esp + 0x130]
fsub dword [esp + 0x140]
fld dword [esp + 0x134]
fsub dword [esp + 0x144]
fxch st(1)
fstp dword [edi - 0x18]
fstp dword [edi - 0x14]
mov ecx, dword [ebx + 0x1d4]
mov edx, dword [ecx]
call dword [edx + 0x28]
test eax, eax
je 0x5583db
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
dec ecx
je 0x5583c8
sub ecx, 2
je 0x5583b9
dec ecx
jne 0x55840b
fld dword [eax + 0x30]
mov ecx, dword [eax + 0x38]
fld dword [eax + 0x34]
mov edx, ecx
fxch st(1)
mov dword [esp + 0x68], edx
fstp dword [esp + 0x60]
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0x64]
fld dword [eax + 0x30]
fld dword [eax + 0x34]
mov eax, dword [eax + 0x38]
fxch st(1)
mov ecx, eax
fstp dword [esp + 0x50]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x58], ecx
fstp dword [esp + 0x54]
jmp 0x55840b
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
call fcn.0046b1f0
jmp 0x55840b
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0x64]
push ecx
mov esi, eax
call fcn.0046bb10
jmp 0x55840b
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
fld dword [esp + 0x54]
mov edx, dword [ebp + 8]
fsub dword [esp + 0x64]
mov eax, dword [edx]
mov cx, word [eax + 0x3b4]
mov esi, dword [ebx + 0x1d4]
fmul dword [0x6bda38]
mov word [esp + 0x24], cx
fstp dword [esp + 0x1c]
fld dword [esp + 0x50]
fsub dword [esp + 0x60]
fmul dword [0x6bda38]
fstp dword [esp + 0x14]
call fcn.00556800
mov esi, dword [ebx + 0x1d4]
mov dword [esp + 0x38], eax
call fcn.00556800
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push edx
push ecx
call fcn.00547140
sub eax, dword [esp + 0x2c]
add eax, 0x4000
push eax
call fcn.00546ea0
fld st(0)
fmulp st(1)
mov edx, dword [esp + 0x40]
fld dword [0x6bda18]
mov ecx, dword [esp + 0x4c]
fsub st(1)
add esp, 0xc
fld dword [esp + 0x14]
inc edx
add ecx, 0x38
fmul st(1)
mov dword [edi + 0x1c], ebx
fld st(2)
add edi, 0x38
fmul dword [esp + 0x1c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], edi
faddp st(1)
fstp dword [edi - 0x48]
fxch st(1)
fmul dword [esp + 0x14]
fxch st(1)
fmul dword [esp + 0x1c]
faddp st(1)
fstp dword [edi - 0x44]
mov ebx, dword [ebx]
cmp ebx, dword [esp + 0x30]
jne 0x557daa
mov edx, dword [esp + 0x34]
mov ebx, dword [ebp + 8]
push fcn.0058a1c0
push 0x447770
push 0x10
push 0x38
lea eax, [esp + 0x1e0]
push eax
mov dword [ebx + 4], edx
call fcn.00665c1a
mov eax, dword [ebx + 4]
lea esi, [ebx + 8]
mov ecx, 0xe0
lea edi, [esp + 0x1d0]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
test eax, eax
jle 0x558594
mov esi, dword [ebp + 0x10]
mov edi, eax
lea edx, [esp + 0x1d0]
test esi, esi
fld dword [edx + 0x10]
fsub dword [esp + 0x48]
mov dword [esp + ecx*4 + 0x190], edx
jl 0x55853f
cmp esi, 5
jge 0x55853f
fld dword [edx + 0x14]
jmp 0x558555
cmp esi, 0xb
jl 0x55854f
cmp esi, 0x11
jge 0x55854f
fld dword [edx + esi*4 - 0x14]
jmp 0x558555
fld dword [0x6bda00]
fsub dword [esp + 0x20]
fld st(0)
fmulp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fst dword [esp + 0x30]
fstp dword [esp + ecx*4 + 0x150]
fcomp dword [0x6bda00]
fnstsw ax
test ah, 5
jp 0x55858c
fld dword [esp + 0x30]
fmul dword [0x6bdaf8]
fstp dword [esp + ecx*4 + 0x150]
inc ecx
add edx, 0x38
cmp ecx, edi
jl 0x558523
mov eax, dword [ebx + 4]
test eax, eax
jle 0x558618
mov esi, dword [ebx + 4]
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], esi
jmp 0x5585b0
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
jle 0x558612
lea edx, [esi - 1]
lea ecx, [ecx]
fld dword [esp + ecx*4 + 0x154]
fcomp dword [esp + ecx*4 + 0x150]
fnstsw ax
test ah, 0x41
jne 0x55860d
mov eax, dword [esp + ecx*4 + 0x190]
fld dword [esp + ecx*4 + 0x150]
mov edi, dword [esp + ecx*4 + 0x194]
mov dword [esp + ecx*4 + 0x194], eax
mov eax, dword [esp + ecx*4 + 0x154]
fstp dword [esp + ecx*4 + 0x154]
mov dword [esp + ecx*4 + 0x190], edi
mov dword [esp + ecx*4 + 0x150], eax
inc ecx
cmp ecx, edx
jl 0x5585c0
dec dword [esp + 0x20]
jne 0x5585b0
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
jle 0x558664
lea edx, [ebx + 0x3c]
jmp 0x558630
mov esi, dword [esp + eax*4 + 0x190]
lea edi, [edx - 0x34]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
mov esi, dword [edx]
mov ecx, dword [ecx + 0x82c]
cmp dword [esi + 0x1d4], ecx
jne 0x558659
mov byte [ebx + 0x388], al
mov ecx, dword [ebx + 4]
inc eax
add edx, 0x38
cmp eax, ecx
jl 0x558630
push fcn.0058a1c0
push 0x10
push 0x38
lea edx, [esp + 0x1dc]
push edx
mov dword [esp + 0x56c], 0xffffffff
call fcn.00665bba
mov ecx, dword [esp + 0x554]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc