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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10c4
call fcn.00681971
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, esp
mov dword [esp + reloc.MSVCRT.dll_strncpy], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x4c]
push esi
mov esi, dword [ebp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x50]
push edi
mov edi, dword [ebp + 0x30]
mov dword [esp + 0x14], eax
call fcn.00645cc1
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.00645cc1
mov ecx, dword [ebp + 0x40]
mov ebx, eax
mov eax, dword [esp + 0x18]
mov edx, edi
mov dword [reloc.MSVCRT.dll_strncpy], ecx
mov ecx, dword [ebp + 0x54]
mov dword [reloc.MSVCRT.dll_strncpy], ecx
mov ecx, dword [ebp + 0xc]
mov dword [reloc.MSVCRT.dll_strncpy], eax
mov eax, dword [ebp + 8]
mov dword [reloc.MSVCRT.dll_strncpy], ecx
mov ecx, 0x100e2370
mov dword [reloc.MSVCRT.dll_strncpy], eax
call fcn.00645541
mov ecx, dword [ebp + 0x28]
test ecx, ecx
mov esi, dword [esp + 0x14]
mov eax, esi
mov edi, dword [esp + 0x10]
setne byte [0x100e2351]
and eax, 0xefffffff
or esi, 0x10000000
test ecx, ecx
cmove esi, eax
mov eax, esi
or esi, 0x8000000
and eax, 0xf7ffffff
cmp dword [ebp + 0x2c], 0
cmove esi, eax
cmp dword [ebp + 0x3c], 0
je 0x66008b
and edi, 0xffffff7f
or edi, 0x40000
jmp 0x660097
and edi, 0xfffbffff
or edi, 0x80
mov eax, edi
or edi, 8
and eax, 0xfffffff7
cmp dword [ebp + 0x38], 0
push 0
cmove edi, eax
call dword [0x100c41ac]
mov ecx, dword [ebp + 0x48]
xorps xmm0, xmm0
push 0x100cb360
or ecx, 0xb
mov dword [esp + 0x14], eax
push eax
mov dword [esp + 0x40], 0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], eax
call dword [0x100c4258]
push 0x7f00
push 0
mov dword [esp + 0x50], eax
call dword [0x100c42bc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], 5
mov dword [esp + 0x54], 0
mov dword [esp + 0x38], 0x1009df90
test eax, eax
jne 0x6601a9
test ebx, ebx
jne 0x66013f
mov ecx, 0x100cf638
call fcn.00645d61
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [0x100c4250]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x66015e
add eax, 8
jmp 0x660160
xor eax, eax
push dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
push dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push eax
lea eax, [ebx + 8]
cmove eax, ecx
push eax
push edi
call dword [0x100c424c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 1
jne 0x6602bb
or esi, 0x80000000
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x6601cc
mov ecx, 0x100cf650
call fcn.00645d61
mov ebx, eax
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6601fb
lea ecx, [eax + 8]
jmp 0x6601fd
xor ecx, ecx
push dword [esp + 0x18]
mov esi, dword [esp + 0x20]
push dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push 0
push esi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
push ecx
xor ecx, ecx
lea eax, [ebx + 8]
test ebx, ebx
cmove eax, ecx
push eax
push edi
call dword [0x100c424c]
mov edi, eax
test edi, edi
je 0x6602a2
test esi, esi
je 0x660254
push esi
push 0x100cf5e0
push edi
call dword [0x100c41f0]
push 0
push esi
call dword [0x100c42ec]
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x78]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x6602a2
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x78]
push eax
call ebx
lea eax, [esp + 0x78]
push eax
call dword [0x100c429c]
push edi
call dword [0x100c4308]
test eax, eax
je 0x6602a2
push 0
push 0
push 0
lea eax, [esp + 0x84]
push eax
call esi
test eax, eax
jne 0x660271
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 2
jne 0x6603b3
or esi, 0x80000000
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x6602de
mov ecx, 0x100cf650
call fcn.00645d61
mov ebx, eax
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x66030d
lea ecx, [eax + 8]
jmp 0x66030f
xor ecx, ecx
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
push ecx
xor ecx, ecx
lea eax, [ebx + 8]
test ebx, ebx
cmove eax, ecx
push eax
push edi
call dword [0x100c424c]
mov edi, eax
test edi, edi
je 0x6602a2
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x94]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x6602a2
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x94]
push eax
call ebx
lea eax, [esp + 0x94]
push eax
call dword [0x100c429c]
push edi
call dword [0x100c4308]
test eax, eax
je 0x6602a2
push 0
push 0
push 0
lea eax, [esp + 0xa0]
push eax
call esi
test eax, eax
jne 0x660373
jmp 0x6602a2
cmp eax, 3
jne 0x6603c3
or esi, 0x80000000
jmp 0x66012f
cmp eax, 4
jne 0x660459
mov eax, esi
or eax, 0x40000000
cmp dword [esp + 0x1c], 0
cmove eax, esi
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x6603ef
mov ecx, 0x100cf638
call fcn.00645d61
mov ebx, eax
lea eax, [esp + 0x34]
lea esi, [ebx + 8]
push eax
mov dword [esp + 0x5c], esi
call dword [0x100c4250]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x66040e
add eax, 8
jmp 0x660410
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x34]
push eax
xor eax, eax
test ebx, ebx
cmove esi, eax
push esi
push edi
call dword [0x100c424c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 5
jne 0x6605b3
mov dword [esp + 0x40], 0x1e
test ebx, ebx
jne 0x66047a
mov ecx, 0x100cf674
call fcn.00645d61
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [0x100c4250]
test ax, ax
jne 0x6604af
mov ecx, 0x100cf674
call fcn.00645d61
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [0x100c4250]
push 0x100a
lea eax, [esp + 0xbe]
push 0
push eax
call fcn.00669231
add esp, 0xc
mov dword [esp + 0xb0], esi
xor eax, eax
mov dword [esp + 0xb4], edi
mov word [esp + 0xb8], ax
lea eax, [ebx + 8]
push dword [ebx + 4]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0066ae41
mov eax, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
je 0x660522
lea ecx, [eax + 8]
test ecx, ecx
je 0x660522
mov eax, dword [eax + 4]
test eax, eax
je 0x660522
push eax
mov eax, dword [ebx + 4]
push ecx
lea ecx, [esp + 0xcc]
add eax, ecx
push eax
call fcn.0066ae41
add esp, 0xc
call dword [0x100c4208]
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
mov esi, eax
movsx edi, si
push edi
push 4
push dword [esp + 0x38]
call ebx
shr esi, 0x10
movsx esi, si
push esi
push 8
push dword [esp + 0x34]
mov word [esp + 0xc6], ax
call ebx
push edi
push 4
push dword [esp + 0x30]
mov word [esp + 0xc8], ax
call ebx
push esi
push 8
push dword [esp + 0x2c]
mov word [esp + 0xca], ax
call ebx
push dword [esp + 0x18]
mov word [esp + 0xc4], ax
lea eax, [esp + 0xb4]
push 0x1009e460
push dword [esp + 0x24]
push eax
push dword [esp + 0x20]
call dword [0x100c4234]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50
cmp eax, 9
jne 0x6602a2
test ebx, ebx
jne 0x6605cc
mov ecx, 0x100cf698
call fcn.00645d61
mov ebx, eax
lea eax, [ebx + 8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x34]
push eax
call dword [0x100c4250]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6605eb
add eax, 8
jmp 0x6605ed
xor eax, eax
push dword [esp + 0x18]
xor ecx, ecx
test ebx, ebx
push dword [esp + 0x14]
push 0
push dword [esp + 0x28]
push dword [esp + 0x34]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push eax
lea eax, [ebx + 8]
cmove eax, ecx
push eax
push edi
call dword [0x100c424c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x6602a2
mov esi, dword [reloc.MSVCRT.dll_strncpy]
lea eax, [esp + 0x5c]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x66069c
mov edi, dword [reloc.MSVCRT.dll_strncpy]
mov ebx, dword [reloc.MSVCRT.dll_strncpy]
nop dword [eax]
cmp dword [esp + 0x60], 0x12
je 0x660692
lea eax, [esp + 0x5c]
push eax
call edi
lea eax, [esp + 0x5c]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x68]
push eax
call esi
test eax, eax
jne 0x660651
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50
push dword [esp + 0x64]
call dword [0x100c425c]
mov ecx, dword [esp + reloc.MSVCRT.dll_strncpy]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00667949
mov esp, ebp
pop ebp
ret 0x50