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

Disassembly:
mov eax, 0x7bac
call fcn.00617200
push ebp
mov ebp, ecx
lea eax, [ebp + 0x404]
test eax, eax
je 0x54a0ee
lea ecx, [ebp + 0x2ce1a]
test ecx, ecx
je 0x54a0ee
lea edx, [ebp + 0x28e1a]
test edx, edx
je 0x54a0ee
push ebx
push esi
movzx esi, byte [esp + 0x7bbc]
push edi
movzx edi, byte [esp + 0x7bc4]
lea eax, [esi + edi*8]
imul eax, eax, 0x70
cmp byte [eax + ebp + 0x6a62d], 0
lea ebx, [eax + ebp + 0x6a5e8]
mov dword [esp + 0x9c], ebx
je 0x54a0eb
mov ecx, dword [ebp + 0x6a5bc]
fld dword [ecx + 0xbc4]
mov ecx, ebx
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fld1
fdivrp st(1)
fstp dword [esp + 0x44]
fmul qword [0x68d4b0]
fstp dword [esp + 0x70]
call fcn.00537ad0
shl edi, 4
mov eax, edi
mov edx, eax
imul edx, edx, 0x83
shl esi, 4
add edx, esi
lea ecx, [ebp + edx*2 + 0x50c]
mov edx, eax
imul edx, edx, 0x81
mov dword [esp + 0x48], ecx
lea edx, [edx + esi + 0xef5e]
lea ecx, [ebp + edx*2]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov ecx, eax
shl ecx, 7
add ecx, esi
lea edx, [ecx + ebp + 0x28e1a]
movzx ecx, word [ebp + 0x6a570]
mov dword [esp + 0x6c], edx
imul ecx, ecx, 0x6400
mov edx, esi
imul edx, edx, 0xc8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x80], esi
fild dword [esp + 0x1c]
fild dword [esp + 0x18]
test edx, edx
jge 0x549a69
fadd dword [0x68a3b0]
movzx ecx, word [ebp + 0x6a572]
faddp st(1)
imul ecx, ecx, 0x6400
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esp + 0xa0]
mov edx, eax
imul edx, edx, 0xc8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
fild dword [esp + 0x1c]
fild dword [esp + 0x18]
test edx, edx
jge 0x549aa9
fadd dword [0x68a3b0]
faddp st(1)
xor edx, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x40]
mov dword [esp + 0x38], edx
mov byte [esp + 0x17], dl
fst dword [ebx]
mov dword [esp + 0x60], edx
fld qword [0x68d1a8]
lea edx, [eax + 0x10]
fadd st(1), st(0)
lea edi, [esp + 0xa4]
fxch st(1)
lea ecx, [esp + 0x1bbc]
mov dword [esp + 0x64], edi
fstp dword [ebx + 4]
mov dword [esp + 0x28], eax
fld dword [esp + 0x40]
mov dword [esp + 0x1c], edx
fst dword [ebx + 8]
faddp st(1)
fstp dword [ebx + 0xc]
fld dword [0x68d4ac]
fstp dword [esp + 0x50]
fld dword [0x68d4a8]
fstp dword [esp + 0x58]
cmp eax, edx
ja 0x54a08b
fld dword [esp + 0x70]
fld qword [0x68d4a0]
fld qword [0x67c430]
mov eax, dword [esp + 0x48]
fld dword [esp + 0xa0]
mov edx, dword [esp + 0x5c]
fstp dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x54], esi
cmp esi, eax
ja 0x54a042
fld dword [esp + 0x40]
lea eax, [edi + 0xc]
fchs
mov dword [esp + 0x68], eax
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
movzx eax, word [ebx]
add ebx, 2
mov dword [esp + 0x74], ebx
movsx ebx, byte [edx]
neg ebx
mov dword [esp + 0x20], ebx
movsx ebx, byte [edx + 1]
fild dword [esp + 0x20]
inc edx
mov dword [esp + 0x20], ebx
movsx ebx, byte [edx + 1]
fmul st(3)
fstp dword [esp + 0x84]
inc edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x84]
movzx eax, ax
fmul st(3)
mov dword [esp + 0x10], eax
fstp dword [esp + 0x88]
inc edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], edx
fmul st(3)
fstp dword [esp + 0x8c]
fld dword [esp + 0x24]
fst dword [esp + 0x90]
mov eax, dword [esp + 0x90]
fxch st(1)
mov dword [edi], eax
fst dword [esp + 0x94]
mov eax, dword [esp + 0x94]
fild dword [esp + 0x10]
mov dword [edi + 4], eax
fmul dword [ebp + 0x39138]
fstp dword [esp + 0x98]
mov eax, dword [esp + 0x98]
fld dword [esp + 0x8c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x68]
fcom qword [0x676648]
mov dword [eax], ebx
mov ebx, dword [esp + 0x88]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [eax + 8], ebx
fnstsw ax
test ah, 5
jp 0x549c47
inc dword [esp + 0x38]
fstp st(0)
jmp 0x549c5e
fcomp qword [0x68d498]
fnstsw ax
test ah, 5
jp 0x549c5a
inc dword [esp + 0x3c]
jmp 0x549c5e
inc dword [esp + 0x4c]
fld dword [esp + 0x98]
fld dword [esp + 0x58]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x549c76
fst dword [esp + 0x58]
fld dword [esp + 0x50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x549c89
fstp dword [esp + 0x50]
jmp 0x549c8b
fstp st(0)
mov ebx, dword [esp + 0x54]
cmp ebx, 0x80
jae 0x54a011
cmp dword [esp + 0x28], 0x80
jae 0x54a011
lea eax, [esi + 0x10]
cmp eax, ebx
je 0x54a011
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x1c], eax
je 0x54a011
mov ebx, dword [esp + 0x7c]
mov al, byte [ebx]
inc ebx
mov dword [esp + 0x7c], ebx
cmp al, 0xff
je 0x54a011
movzx eax, al
mov ebx, dword [ebp + eax*4 + 0x4a144]
mov dword [esp + 0x18], ebx
cmp ebx, 0xffffffff
je 0x54a011
fstp st(1)
mov edx, ebx
sub edx, dword [esp + 0x10]
fstp st(0)
fstp st(0)
fstp st(0)
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x549d17
fst dword [esp + 0x34]
fldz
fcom dword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x549d28
fst dword [esp + 0x34]
mov edx, dword [esp + 0x74]
movzx eax, word [edx + 0x104]
mov esi, ebx
sub esi, eax
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x549d58
fxch st(1)
fst dword [esp + 0x30]
fxch st(1)
fcom dword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x549d67
fst dword [esp + 0x30]
movzx eax, word [edx]
mov esi, ebx
sub esi, eax
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x549d8f
fxch st(1)
fst dword [esp + 0x2c]
fxch st(1)
fcom dword [esp + 0x2c]
fnstsw ax
test ah, 1
jne 0x549d9e
fst dword [esp + 0x2c]
movzx edx, word [edx + 0x106]
sub ebx, edx
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x549dc8
fxch st(1)
fstp dword [esp + 0x10]
jmp 0x549dca
fstp st(1)
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x549ddb
fstp dword [esp + 0x10]
jmp 0x549ddd
fstp st(0)
fld dword [esp + 0x34]
fmul dword [esp + 0x44]
fmul qword [0x676650]
fstp dword [0x7507d0]
fld dword [0x7507d0]
fistp dword [0x7507d4]
fild dword [0x7507d4]
mov edx, dword [0x7507d4]
fld dword [0x7507d0]
fcompp
fnstsw ax
test ah, 5
jp 0x549e19
dec edx
fld dword [esp + 0x30]
fmul dword [esp + 0x44]
fmul qword [0x676650]
fstp dword [0x7507d0]
fld dword [0x7507d0]
fistp dword [0x7507d4]
fild dword [0x7507d4]
mov edi, dword [0x7507d4]
fld dword [0x7507d0]
fcompp
fnstsw ax
test ah, 5
jp 0x549e55
dec edi
fld dword [esp + 0x2c]
fmul dword [esp + 0x44]
fmul qword [0x676650]
fstp dword [0x7507d0]
fld dword [0x7507d0]
fistp dword [0x7507d4]
fild dword [0x7507d4]
mov esi, dword [0x7507d4]
fld dword [0x7507d0]
fcompp
fnstsw ax
test ah, 5
jp 0x549e91
dec esi
fld dword [esp + 0x10]
fmul dword [esp + 0x44]
fmul qword [0x676650]
fstp dword [0x7507d0]
fld dword [0x7507d0]
fistp dword [0x7507d4]
fild dword [0x7507d4]
fld dword [0x7507d0]
fcompp
fnstsw ax
test ah, 5
mov eax, dword [0x7507d4]
jp 0x549ecc
dec eax
mov ebx, edx
shl ebx, 8
or ebx, edi
shl ebx, 8
or ebx, esi
shl ebx, 8
or ebx, eax
je 0x549fe2
fld dword [esp + 0x24]
shl edx, 0x18
fst dword [ecx]
add ecx, 0x10
fld dword [esp + 0x78]
or edx, 0xff
fst dword [ecx - 0xc]
mov dword [ecx - 4], edx
fild dword [esp + 0x18]
shl edi, 0x18
add ecx, 0x10
mov edx, edi
fmul dword [ebp + 0x39138]
or edx, 0xffffff
shl esi, 0x18
add ecx, 0x10
fstp dword [esp + 0x18]
or esi, 0xffffff
fld dword [esp + 0x18]
mov edi, dword [esp + 0x64]
fst dword [ecx - 0x28]
mov dword [ecx - 0x14], edx
fxch st(2)
add ecx, 0x10
fst dword [ecx - 0x30]
add ecx, 0x10
fld st(1)
shl eax, 0x18
fld qword [0x67c430]
or eax, 0xffffff
fsub st(1), st(0)
add ecx, 0x10
fxch st(1)
add dword [esp + 0x60], 6
mov byte [esp + 0x17], 1
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx - 0x4c]
fxch st(4)
fst dword [ecx - 0x48]
mov dword [ecx - 0x34], esi
fld st(2)
fadd st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ecx - 0x40]
fxch st(4)
fst dword [ecx - 0x3c]
fxch st(1)
fst dword [ecx - 0x38]
mov dword [ecx - 0x24], esi
fxch st(4)
mov esi, dword [esp + 0x80]
fst dword [ecx - 0x30]
fxch st(1)
fst dword [ecx - 0x2c]
fxch st(4)
fst dword [ecx - 0x28]
mov dword [ecx - 0x14], edx
mov edx, dword [esp + 0x20]
fxch st(3)
fst dword [ecx - 0x20]
fxch st(5)
fst dword [ecx - 0x1c]
fxch st(3)
fst dword [ecx - 0x18]
mov dword [ecx - 4], eax
fxch st(1)
fstp dword [ecx - 0x10]
fxch st(2)
fstp dword [ecx - 0xc]
fxch st(1)
fstp dword [ecx - 8]
fld dword [esp + 0x70]
fld qword [0x68d4a0]
fxch st(1)
fxch st(4)
fxch st(1)
fxch st(3)
jmp 0x54a011
fld dword [esp + 0x70]
mov esi, dword [esp + 0x80]
fld dword [esp + 0x24]
mov edx, dword [esp + 0x20]
fld qword [0x68d4a0]
mov edi, dword [esp + 0x64]
fld qword [0x67c430]
fld dword [esp + 0x78]
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
mov ebx, dword [esp + 0x54]
fxch st(1)
add dword [esp + 0x68], 0x18
fadd st(2)
inc ebx
add edi, 0x18
lea eax, [esi + 0x10]
fstp dword [esp + 0x24]
mov dword [esp + 0x64], edi
mov dword [esp + 0x54], ebx
cmp ebx, eax
jbe 0x549b6c
mov ebx, dword [esp + 0x9c]
fstp st(0)
fld dword [esp + 0x40]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
fadd st(1)
add dword [esp + 0x48], 0x106
add dword [esp + 0x5c], 0x183
sub dword [esp + 0x6c], 0xffffff80
fstp dword [esp + 0x40]
cmp dword [esp + 0x28], eax
jbe 0x549b29
mov ecx, dword [esp + 0x3c]
fstp st(0)
mov edx, dword [esp + 0x38]
fstp st(0)
fstp st(0)
cmp cx, dx
jbe 0x54a093
movzx eax, cx
jmp 0x54a096
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
movzx eax, dx
cmp word [esp + 0x4c], ax
ja 0x54a0a8
cmp dx, cx
seta cl
inc cl
mov byte [ebx + 0x44], cl
fld dword [esp + 0x50]
mov dl, byte [esp + 0x17]
fstp dword [ebx + 0x10]
lea eax, [esp + 0xa4]
fld dword [esp + 0x58]
push eax
mov ecx, ebx
fstp dword [ebx + 0x14]
mov byte [ebx + 0x19], dl
call fcn.00537e90
cmp byte [esp + 0x17], 0
je 0x54a0e7
mov ecx, dword [esp + 0x60]
push ecx
lea edx, [esp + 0x1bc0]
push edx
mov ecx, ebx
call fcn.00537900
mov byte [ebx + 0x45], 0
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x7bac
ret 8