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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x68
call fcn.00517620
push 0
push 8
call fcn.005a43c0
pop ecx
pop ecx
push 1
push 6
call fcn.005a43c0
pop ecx
pop ecx
push 1
push 0xc
call fcn.005a43c0
movzx ebp, word [0x95ccee]
xor eax, eax
pop ecx
pop ecx
test ebp, ebp
jle 0x514151
cmp ebp, 8
lea ecx, [ebp - 8]
jle 0x514129
mov edx, 0x779058
nop
mov esi, eax
mov bl, byte [edx + 0x2a]
inc esi
and bl, 0xfd
mov byte [edx + 0x2a], bl
lea esi, [esi + esi*2]
add esi, esi
add edx, 0x180
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 2]
lea esi, [esi + esi*2]
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 3]
lea esi, [esi + esi*2]
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 4]
lea esi, [esi + esi*2]
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 5]
lea esi, [esi + esi*2]
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 6]
lea esi, [esi + esi*2]
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
mov byte [esi*8 + 0x779082], bl
lea esi, [eax + 7]
lea esi, [esi + esi*2]
add eax, 8
add esi, esi
mov bl, byte [esi*8 + 0x779082]
and bl, 0xfd
cmp eax, ecx
mov byte [esi*8 + 0x779082], bl
jl 0x514060
mov ebp, eax
imul ebp, ebp, 0x30
movzx esi, word [0x95ccee]
add ebp, 0x779058
jmp 0x51414d
mov bl, byte [ebp + 0x2a]
and bl, 0xfd
mov byte [ebp + 0x2a], bl
add ebp, 0x30
inc eax
cmp eax, esi
jl 0x514140
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0x779058
jmp 0x51457f
mov eax, dword [esp + 0x34]
mov al, byte [eax + 0x2a]
shr al, 1
and al, 1
jne 0x514571
mov eax, dword [esp + 0x30]
mov al, byte [eax + 0x77907e]
push eax
call fcn.00513fc0
mov eax, dword [esp + 0x34]
pop ecx
mov esi, dword [eax + 0x779084]
mov eax, dword [esi]
push eax
push 1
call fcn.005a43c0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], 0x779058
mov dword [esp + 0x34], eax
pop ecx
imul eax, eax, 0x30
pop ecx
add dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jmp 0x51455b
mov eax, dword [esp + 0x28]
mov bl, byte [eax + 0x77907e]
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x77907e]
cmp bl, al
fldz
fldz
fldz
jne 0x5145d0
mov eax, dword [esp + 0x28]
mov ebp, dword [eax + 0x779084]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x779084]
cmp ebp, eax
jne 0x5145e0
mov eax, dword [esp + 0x18]
fld dword [eax + 0x77906c]
fstp st(3)
fld st(2)
fcomp dword [0x5fed34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x514232
fld st(2)
fchs
jmp 0x514234
fld st(2)
fstp st(3)
mov eax, dword [esp + 0x18]
fld dword [eax + 0x779064]
fstp st(2)
fld st(1)
fcomp dword [0x5fed34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x514260
fld st(1)
fchs
jmp 0x514262
fld st(1)
fstp st(2)
mov eax, dword [esp + 0x18]
fld st(1)
fadd st(3)
fstp st(3)
fld dword [eax + 0x779070]
fstp st(2)
fld st(1)
fcomp dword [0x5fed34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x514290
fld st(1)
fchs
jmp 0x514292
fld st(1)
fstp st(2)
mov eax, dword [esp + 0x18]
fld dword [eax + 0x779068]
fst st(1)
fcomp dword [0x5fed34]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5142b2
fchs
mov eax, dword [esp + 0x18]
fld st(0)
fadd st(2)
fstp st(2)
fld dword [eax + 0x779058]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x5c]
fld dword [eax + 0x77905c]
mov eax, dword [esp + 0x18]
fstp dword [esp + 0x60]
fld dword [eax + 0x779060]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fsub st(3)
fstp dword [esp + 0x40]
fld dword [esp + 0x5c]
fadd st(3)
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fstp st(3)
fld st(2)
fsub st(2)
fstp dword [esp + 0x48]
fld st(2)
fadd st(2)
fstp dword [esp + 0x4c]
fld dword [esp + 0x40]
fmul dword [0x5fed84]
fadd dword [0x5fed88]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 8], eax
jg 0x51434d
mov dword [esp + 8], 0
fld dword [esp + 0x48]
fmul dword [0x5fed84]
fadd dword [0x5fed88]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov esi, dword [esp + 0x50]
test esi, esi
jg 0x514384
xor esi, esi
fld dword [esp + 0x44]
fmul dword [0x5fed84]
fadd dword [0x5fed88]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
cmp eax, 0x63
mov dword [esp + 0x14], eax
jl 0x5143c6
mov dword [esp + 0x14], 0x63
fld dword [esp + 0x4c]
fmul dword [0x5fed84]
fadd dword [0x5fed88]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
fldcw word [esp + 0x3c]
mov eax, dword [esp + 0x50]
cmp eax, 0x63
mov dword [esp + 0x1c], eax
jl 0x514408
mov dword [esp + 0x1c], 0x63
cmp word [0x95cc64], 0xffff
jae 0x514420
inc word [0x95cc64]
jmp 0x5145c2
fcompp
fstp st(0)
call fcn.004b1f60
mov word [0x95cc64], 1
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
jg 0x51453d
lea eax, [esi + esi*2]
mov dword [esp + 0xc], eax
shl dword [esp + 0xc], 5
mov ecx, dword [esp + 0xc]
lea eax, [ecx + esi*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
nop
mov edi, dword [esp + 8]
mov eax, edi
cmp eax, dword [esp + 0x14]
jg 0x514526
mov ebx, edi
add ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x20]
lea eax, [eax]
mov esi, ebx
mov dl, byte [ebp + 0x29]
imul esi, esi, 0x28
mov al, byte [ebp + 0x28]
mov cl, byte [ebp + 0x27]
push 0
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edx
push eax
mov ax, word [ebp + 0x24]
push ecx
push eax
lea eax, [esp + 0x78]
push dword [ebp + 0x18]
add esi, 0x665608
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push esi
call fcn.00514c90
mov al, byte [ebp + 0x28]
add esp, 0x44
mov dl, byte [ebp + 0x29]
mov cl, byte [ebp + 0x27]
push 0
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push edx
push eax
mov ax, word [ebp + 0x24]
push ecx
add esi, 4
push eax
lea eax, [esp + 0x78]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x7c]
push esi
call fcn.00514c90
inc edi
add esp, 0x44
inc ebx
cmp edi, dword [esp + 0x14]
jle 0x514480
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], 0x64
cmp eax, dword [esp + 0x1c]
jle 0x514460
mov eax, dword [esp + 0x24]
mov dl, byte [eax + 0x2a]
and dl, 0xfd
or dl, 2
mov byte [eax + 0x2a], dl
add dword [esp + 0x24], 0x30
add dword [esp + 0x18], 0x30
inc dword [esp + 0x2c]
movzx eax, word [0x95ccee]
cmp dword [esp + 0x2c], eax
jl 0x5141d0
call fcn.005177c0
add dword [esp + 0x30], 0x30
add dword [esp + 0x34], 0x30
inc dword [esp + 0x38]
movzx eax, word [0x95ccee]
cmp dword [esp + 0x38], eax
jl 0x514170
push 0
push 0xc
call fcn.005a43c0
pop ecx
pop ecx
push 1
push 8
call fcn.005a43c0
pop ecx
pop ecx
push 1
push 6
call fcn.005a43c0
pop ecx
pop ecx
add esp, 0x68
mov word [0x95ccee], 0
pop ebp
pop edi
pop esi
pop ebx
ret
fcompp
fstp st(0)
jmp 0x514432
fcompp
fstp st(0)
jmp 0x51454d
fcompp
fstp st(0)
jmp 0x51454d