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

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
push 0x1050d
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x3c], eax
lea esi, [eax + eax*2]
mov eax, dword [0x614720]
shl esi, 2
push esi
call dword [eax + 0x108]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 8
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea edx, [esp + 0x30]
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax]
add edx, edx
push edx
push 0
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp + 4]
lea edi, [ebp + 0x40]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
mov ecx, dword [edi + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [ebp + 0xc]
lea esi, [edx + ecx*2]
mov ecx, dword [edi]
cmp eax, 5
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ecx
jne 0x544b1f
sub ecx, 2
mov dword [esp + 0x28], ecx
xor eax, eax
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x544daf
lea edx, [esi + 4]
lea ebp, [esi + 2]
mov dword [esp + 0x14], edx
jmp 0x544b45
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x74]
cmp dword [ecx + 0xc], 4
jne 0x544b86
mov edi, dword [edi + 4]
xor ecx, ecx
mov cx, word [esi + eax*2]
xor esi, esi
mov si, word [edx]
mov eax, ecx
xor ecx, ecx
add eax, edi
mov cx, word [ebp]
add esi, edi
add ecx, edi
mov edi, dword [esp + 0x10]
add edi, 3
add ebp, 6
add edx, 6
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edx
jmp 0x544c00
xor ecx, ecx
test al, 1
je 0x544bb0
mov edi, dword [edi + 4]
mov cx, word [ebp]
xor eax, eax
add ecx, edi
mov ax, word [edx]
mov edx, dword [esp + 0x20]
add eax, edi
mov edi, dword [esp + 0x10]
xor esi, esi
mov si, word [edx + edi*2]
mov edi, dword [esp + 0x18]
jmp 0x544bc8
mov cx, word [esi + eax*2]
mov esi, dword [edi + 4]
mov eax, ecx
xor ecx, ecx
mov cx, word [ebp]
add eax, esi
add ecx, esi
xor esi, esi
mov si, word [edx]
mov edx, dword [edi + 4]
add ebp, 2
add esi, edx
mov edx, dword [esp + 0x10]
inc edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
add edx, 2
cmp eax, ecx
mov dword [esp + 0x14], edx
je 0x544d9b
cmp eax, esi
je 0x544d9b
cmp ecx, esi
je 0x544d9b
mov ebx, dword [esp + 0x6c]
lea edi, [ecx + ecx*2]
lea edx, [eax + eax*2]
lea ebp, [esi + esi*2]
shl edi, 2
shl edx, 2
fld dword [edi + ebx]
fsub dword [edx + ebx]
mov ebx, dword [esp + 0x70]
shl ebp, 2
fstp dword [esp + 0x48]
fld dword [ebx + ecx*8]
fsub dword [ebx + eax*8]
fld dword [ebx + ecx*8 + 4]
fsub dword [ebx + eax*8 + 4]
lea ecx, [ebx + eax*8 + 4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x6c]
fstp dword [esp + 0x50]
fld dword [ecx + ebp]
fsub dword [edx + ecx]
fstp dword [esp + 0x54]
fld dword [ebx + esi*8]
fsub dword [ebx + eax*8]
mov eax, dword [esp + 0x34]
fld dword [ebx + esi*8 + 4]
fsub dword [eax]
mov ebx, dword [esp + 0x24]
fst dword [esp + 0x5c]
fmulp st(2)
fmul dword [esp + 0x50]
fsubp st(1)
fld st(0)
fld dword [esp + 0x54]
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul dword [esp + 0x48]
fsubp st(1)
fstp dword [esp + 0x40]
fld st(0)
fabs
fcomp dword [0x5bb5d8]
fnstsw ax
and eax, 0x4100
jne 0x544cb9
fdivr dword [0x5b5af8]
fmul dword [esp + 0x40]
fld dword [edx + ebx]
fsub st(1)
fstp dword [edx + ebx]
fld dword [edi + ebx]
fsub st(1)
fstp dword [edi + ebx]
fld dword [ebx + ebp]
fsub st(1)
fstp dword [ebx + ebp]
mov ecx, dword [esp + 0x6c]
fstp st(0)
fld dword [edi + ecx + 4]
fsub dword [edx + ecx + 4]
fld dword [ecx + ebp + 4]
fsub dword [edx + ecx + 4]
fld st(2)
fstp dword [esp + 0x3c]
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul st(2)
fsubp st(1)
fstp st(1)
fld dword [esp + 0x3c]
fabs
fcomp dword [0x5bb5d8]
fnstsw ax
and eax, 0x4100
jne 0x544d22
fld dword [0x5b5af8]
fdiv dword [esp + 0x3c]
fmulp st(1)
fld dword [edx + ebx + 4]
fsub st(1)
fstp dword [edx + ebx + 4]
fld dword [edi + ebx + 4]
fsub st(1)
fstp dword [edi + ebx + 4]
fld dword [ebx + ebp + 4]
fsub st(1)
fstp dword [ebx + ebp + 4]
fstp st(0)
fld dword [edi + ecx + 8]
fsub dword [edx + ecx + 8]
fld dword [ecx + ebp + 8]
fsub dword [edx + ecx + 8]
fxch st(2)
fstp dword [esp + 0x3c]
lea eax, [edx + ecx + 8]
fxch st(1)
fmul dword [esp + 0x50]
fld dword [esp + 0x5c]
fmul st(2)
fsubp st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x3c]
fabs
fcomp dword [0x5bb5d8]
fnstsw ax
and eax, 0x4100
jne 0x544d91
fld dword [0x5b5af8]
fdiv dword [esp + 0x3c]
lea edx, [edx + ebx + 8]
lea edi, [edi + ebx + 8]
lea ebp, [ebx + ebp + 8]
fmulp st(1)
fld dword [edx]
fsub st(1)
fstp dword [edx]
fld dword [edi]
fsub st(1)
fstp dword [edi]
fld dword [ebp]
fsub st(1)
fstp dword [ebp]
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
fstp st(0)
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jl 0x544b39
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
add edi, 0x24
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], eax
jne 0x544afc
mov ebp, dword [ebp + 8]
push ebp
mov edx, dword [ebp]
call dword [edx + 0x30]
mov ebp, dword [esp + 0x38]
test ebp, ebp
jle 0x544e2b
lea esi, [ebx + 8]
mov edi, ebp
fld dword [esi - 4]
fld dword [esi - 8]
fld dword [esi]
fld st(2)
fmul st(3)
fld st(2)
fmul st(3)
faddp st(1)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fstp st(0)
fstp st(0)
fstp st(0)
push eax
call fcn.0056e180
fld st(0)
fmul dword [esi - 8]
add esp, 4
add esi, 0xc
dec edi
fstp dword [esi - 0x14]
fld dword [esi - 0x10]
fmul st(1)
fstp dword [esi - 0x10]
fld dword [esi - 0xc]
fmul st(1)
fstp dword [esi - 0xc]
fstp st(0)
jne 0x544ddc
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
push ecx
push ebp
push ebx
push edx
push eax
call fcn.00542880
mov ecx, dword [0x614720]
push ebx
mov esi, eax
call dword [ecx + 0x10c]
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret