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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf0
push esi
mov esi, ecx
mov ecx, dword [esi + 0x18]
lea eax, [ecx + 0x100]
mov dword [esp + 0xc], eax
test dword [ecx + 0x14], 0x800000
mov eax, dword [esi + 0xc]
push edi
mov dword [esp + 0x88], eax
jne 0x55e35d
add eax, 0xc
mov dword [esp + 0x74], 0xc
jmp 0x55e368
add eax, 0x1c
mov dword [esp + 0x74], 0x10
mov ecx, dword [ecx + 0x138]
mov edx, dword [0x8b8f28]
mov edi, dword [edx + 0x120]
add ecx, 0x154
push ecx
lea ecx, [esp + 0x40]
push ecx
lea ecx, [edi + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
push ecx
push eax
mov dword [esp + 0x58], edi
call dword [edx]
mov ecx, dword [esi + 0x18]
mov ecx, dword [ecx + 0x138]
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
add ecx, 0x154
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push eax
call dword [edx]
mov eax, dword [esi]
add esp, 0x20
test ah, 1
je 0x55e4d4
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x10c]
test ecx, ecx
jle 0x55e4d4
test ecx, ecx
mov edi, dword [eax + 0x110]
mov dword [esp + 0x8c], 1
mov dword [esp + 0x84], 0
jle 0x55e48d
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea eax, [esp + 0xc0]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi]
push eax
push 0
call dword [edx + 0x18]
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea eax, [esp + 0xb0]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [edi]
push eax
call dword [edx + 0x14]
fld dword [esp + 0xb0]
fadd dword [esp + 0xc0]
mov eax, dword [esp + 0x84]
add edi, 0x38
inc eax
fstp dword [edi - 0x24]
mov dword [esp + 0x84], eax
fld dword [esp + 0xb4]
fadd dword [esp + 0xc4]
fstp dword [edi - 0x20]
fld dword [esp + 0xb8]
fadd dword [esp + 0xc8]
fstp dword [edi - 0x1c]
mov ecx, dword [esi + 0x18]
cmp eax, dword [ecx + 0x10c]
jl 0x55e403
mov edi, dword [esp + 0x48]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x9c]
mov edx, ecx
and edx, 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0xe0], edx
je 0x55e508
test ecx, 0x4000000
je 0x55e4e1
mov edx, dword [eax + 0x64]
mov ecx, dword [eax + 0x68]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x6c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0xac], edx
jmp 0x55e508
mov dword [esp + 0x8c], 0
jmp 0x55e491
fld dword [eax + 0x64]
fmul dword [edi + 0x24]
fstp dword [esp + 0xa8]
fld dword [eax + 0x68]
fmul dword [edi + 0x24]
fstp dword [esp + 0x94]
fld dword [eax + 0x6c]
fmul dword [edi + 0x24]
fstp dword [esp + 0xac]
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [0x8b8f24]
push eax
mov eax, dword [0x8b8f28]
push edi
push eax
call dword [edx + 0x18]
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esi + 4]
push eax
push edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
test ah, 0x40
je 0x55e561
mov ecx, dword [esi + 4]
fld dword [ecx + 0x50]
fmul dword [edi + 0x24]
fmul dword [0x59fec8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp word [esp + 0x70]
jmp 0x55e579
mov edx, dword [esi + 4]
fld dword [edx + 0x50]
fmul dword [0x59fec8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fistp word [esp + 0x70]
mov cx, word [esp + 0x70]
mov word [esp + 0xa6], cx
mov word [esp + 0x7e], cx
fld dword [esp + 0x5c]
fistp word [esp + 0x10]
mov cx, word [esp + 0x10]
mov word [esp + 0x78], cx
fld dword [esp + 0x60]
fistp word [esp + 0x10]
mov dx, word [esp + 0x10]
mov word [esp + 0x7a], dx
fld dword [esp + 0x64]
fistp word [esp + 0x10]
mov cx, word [esp + 0x10]
movq mm0, qword [0x8b6c20]
mov edx, dword [esi + 8]
mov word [esp + 0x7c], cx
movq mm1, qword [esp + 0x78]
xor ecx, ecx
cmp edx, ecx
packuswb mm1, mm0
movd dword [esp + 0x10], mm1
mov word [esp + 0xc6], cx
emms
mov dword [esp + 0x84], ecx
jle 0x55eb26
mov edx, dword [esp + 0x74]
and eax, 0x80
mov dword [esp + 0xe4], eax
lea eax, [edx*4]
mov word [esp + 0x7e], cx
mov dword [esp + 0xec], eax
xor edi, edi
jmp 0x55e620
xor ecx, ecx
lea esp, [esp]
cmp dword [esp + 0x8c], ecx
mov word [esp + 0x7c], cx
mov word [esp + 0x7a], cx
mov word [esp + 0x78], cx
je 0x55e7c6
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 0x138]
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
add edx, 0x1a0
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x90]
push edx
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x110]
mov eax, dword [eax + 0x10c]
xor edx, edx
add esp, 0x10
cmp eax, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x90], edx
jle 0x55e755
fld dword [esp + 0x90]
mov dword [esp + 0xc], eax
fld dword [esp + 0x74]
fld dword [esp + 0x48]
mov edx, dword [ecx]
fld dword [edx + 0x40]
mov eax, dword [edx + 0x50]
fsub dword [esp + 0x20]
mov dword [esp + 0x9c], eax
fld dword [edx + 0x3c]
fsub dword [esp + 0x1c]
fld dword [edx + 0x38]
fsub dword [esp + 0x18]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [esp + 0x48]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x9c]
fmul dword [esp + 0x9c]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x55e732
mov eax, dword [edx]
test ah, 1
je 0x55e710
fxch st(2)
fadd dword [ecx + 0x14]
fxch st(2)
fxch st(1)
fadd dword [ecx + 0x18]
fxch st(1)
fadd dword [ecx + 0x1c]
jmp 0x55e732
fld dword [esp + 0x48]
fsqrt
fmul dword [ecx + 0x10]
fsubr dword [0x59e43c]
fld st(0)
fmul dword [ecx + 0x14]
faddp st(4)
fld st(0)
fmul dword [ecx + 0x18]
faddp st(3)
fmul dword [ecx + 0x1c]
faddp st(1)
mov eax, dword [esp + 0xc]
add ecx, 0x38
dec eax
mov dword [esp + 0xc], eax
jne 0x55e6a2
fstp dword [esp + 0x48]
xor edx, edx
fstp dword [esp + 0x74]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fistp word [esp + 0x70]
mov cx, word [esp + 0x70]
mov word [esp + 0x78], cx
fld dword [esp + 0x74]
fistp word [esp + 0xf4]
mov eax, dword [esp + 0xf4]
mov word [esp + 0x7a], ax
fld dword [esp + 0x48]
fistp word [esp + 0x98]
mov cx, word [esp + 0x98]
mov word [esp + 0x7c], cx
xor ecx, ecx
cmp word [esp + 0x98], dx
setge cl
xor edx, edx
test ax, ax
setge dl
xor eax, eax
or ecx, edx
cmp word [esp + 0x70], ax
setge al
or ecx, eax
mov dword [esp + 0x14], ecx
je 0x55e9a7
mov ecx, dword [esp + 0x6c]
fld dword [esp + 0x3c]
fmul dword [ecx]
fchs
fld dword [esp + 0x40]
fmul dword [ecx + 4]
fsubp st(1)
fld dword [esp + 0x44]
fmul dword [ecx + 8]
fsubp st(1)
fst dword [esp + 0xc]
fcomp qword [0x59e430]
fnstsw ax
test ah, 0x41
jne 0x55e8a2
fld dword [esp + 0x4c]
fmul dword [esp + 0xc]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xd0]
fld dword [esp + 0x50]
mov dx, word [esp + 0xd0]
fmul dword [esp + 0xc]
mov word [esp + 0xa0], dx
fadd dword [esp + 0x60]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xd8]
fld dword [esp + 0x54]
mov ax, word [esp + 0xd8]
fmul dword [esp + 0xc]
mov word [esp + 0xa2], ax
fadd dword [esp + 0x64]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xe8]
mov dx, word [esp + 0xe8]
movq mm0, qword [0x8b6c20]
movq mm1, qword [esp + 0x78]
mov word [esp + 0xa4], dx
movq mm2, qword [esp + 0xa0]
mov edx, dword [esi + 0x20]
paddsw mm2, mm1
packuswb mm2, mm0
movd eax, mm2
mov dword [edi + edx + 0x18], eax
emms
jmp 0x55e8ad
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x10]
mov dword [edi + eax + 0x18], edx
mov eax, dword [esp + 0xe0]
test eax, eax
je 0x55e9c1
fld dword [esp + 0x30]
fmul dword [ecx]
fld dword [esp + 0x38]
fmul dword [ecx + 8]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [ecx + 4]
faddp st(1)
fst dword [esp + 0xc]
fcomp qword [0x59e430]
fnstsw ax
test ah, 0x41
jne 0x55e99a
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0xb4]
push eax
call fcn.0053ac40
fst dword [esp + 0xc]
fmul dword [esp + 0xac]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xf0]
fld dword [esp + 0xc]
mov dx, word [esp + 0xf0]
fmul dword [esp + 0x94]
mov word [esp + 0xc0], dx
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xd4]
fld dword [esp + 0xc]
mov ax, word [esp + 0xd4]
fmul dword [esp + 0xa8]
mov word [esp + 0xc2], ax
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp word [esp + 0xdc]
movq mm0, qword [0x8b6c20]
mov cx, word [esp + 0xdc]
mov eax, dword [esi + 0x20]
mov word [esp + 0xc4], cx
movq mm1, qword [esp + 0xc0]
packuswb mm1, mm0
movd edx, mm1
mov dword [edi + eax + 0x1c], edx
emms
jmp 0x55e9bd
mov edx, dword [esi + 0x20]
mov dword [edi + edx + 0x1c], 0
jmp 0x55e9c1
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [edi + eax + 0x18], ecx
mov edx, dword [esi + 0x20]
mov dword [edi + edx + 0x1c], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x55eaec
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x55ea0a
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 0x138]
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
add edx, 0x1a0
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x90]
push edx
push eax
call dword [ecx + 4]
mov ecx, dword [esp + 0x7c]
add esp, 0x10
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0x138]
add eax, 0x114
push eax
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [0x8b8f24]
push ecx
call dword [edx]
fld dword [esp + 0x28]
mov eax, dword [ebp + 8]
fadd dword [eax + 0x24]
mov edx, dword [esi + 0x20]
fld dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
fadd dword [eax + 0x28]
add esp, 0x10
fld dword [esp + 0x20]
fadd dword [eax + 0x2c]
fst dword [esp + 0xb8]
fmul dword [esp + 0xb8]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fdivr dword [0x59e43c]
fst dword [esp + 0xc]
fmul st(2)
fstp dword [esp + 0xb0]
fld dword [esp + 0xc]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0xc]
fmul dword [esp + 0xb8]
fmul dword [esp + 0x2c]
fld dword [esp + 0x28]
fmul st(2)
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0xb0]
faddp st(1)
fadd st(0), st(0)
fld dword [esp + 0x24]
fmul st(1)
fsub dword [esp + 0xb0]
fmul dword [0x59e450]
fadd dword [0x59e450]
fstp dword [edi + edx + 0x28]
mov eax, dword [esi + 0x20]
fld dword [esp + 0x28]
fmul st(1)
fsub st(2)
fmul dword [0x59e450]
fadd dword [0x59e450]
fstp dword [edi + eax + 0x2c]
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0xec]
mov edx, dword [esp + 0x88]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esi + 8]
inc eax
add edi, 0x40
cmp eax, ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
jl 0x55e61a
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4