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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xor eax, esp
mov dword [esp + 0xa4], eax
cmp dword [reloc.MSVCRT.dll_strncpy], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x74], eax
je 0x198db6b
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198db6b
test eax, eax
jne 0x198c9c0
cmp dword [reloc.MSVCRT.dll_strncpy], ecx
jne 0x198db6b
mov esi, dword [reloc.MSVCRT.dll_strncpy]
push 1
push 0x1018a5d8
mov dword [esp + 0x84], esi
call esi
push 0
push 0x1018a5b4
call esi
mov eax, dword [reloc.MSVCRT.dll_strncpy]
xorps xmm0, xmm0
mov esi, dword [reloc.MSVCRT.dll_strncpy]
push 0
push 0
push 0
push 0
push dword [0x1018a698]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2f], 1
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0x94], xmm0
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
mov dword [esp + 0x24], eax
call eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x1c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x40], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x5c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x34], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x3c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x58], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x68], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x6c], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x60], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x70], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x64], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x78], eax
mov edi, esi
mov dword [esp + 0x54], edi
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], ecx
mov dword [esi + 0xf0], 0
test ecx, ecx
je 0x198cabf
mov edx, dword [ecx + 0xd4]
or edx, dword [esi + 0xd0]
jmp 0x198cac5
mov edx, dword [esi + 0xd0]
mov dword [esi + 0xd4], edx
mov ah, byte [esi + 0xe8]
mov byte [esp + 0xf], ah
mov al, ah
test dl, 8
je 0x198cb6e
mov dh, byte [esi + 0x3c]
test dh, dh
je 0x198cb11
test ecx, ecx
je 0x198cb0d
cmp byte [ecx + 0xe8], 0
je 0x198cb03
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x198cb03
mov eax, 1
jmp 0x198cb05
xor eax, eax
test eax, eax
mov ah, byte [esp + 0xf]
je 0x198cb11
mov dl, 1
jmp 0x198cb13
xor dl, dl
cmp byte [0x1018a574], 0
mov al, dl
mov byte [esi + 0xe8], dl
je 0x198cb3e
test ecx, ecx
je 0x198cb3e
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x198cb3e
cmp dword [ecx + 0x1c], 0
je 0x198cb3e
mov byte [esi + 0xe8], 0
xor al, al
cmp al, ah
je 0x198cb69
push 0
xor eax, eax
test dh, dh
push 0
push dword [esi + 0xd0]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov al, byte [esi + 0xe8]
mov ah, byte [esp + 0xf]
mov byte [esp + 0xe], 1
mov ecx, dword [esi + 0xd4]
test cl, 6
je 0x198d194
test ah, ah
je 0x198cbcd
cmp dword [esi + 0x9c], 0
je 0x198cbcd
cmp dword [esi + 0xa0], 0
je 0x198cbcd
push dword [esi + 0x98]
mov byte [esp + 0x11], 1
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x198cd5e
mov eax, dword [esi + 0x48]
add eax, dword [edx + 0x84]
mov dword [esp + 0x38], eax
mov ecx, eax
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x4c]
add eax, dword [edx + 0x88]
mov dword [esi + 0x88], eax
mov edi, dword [edx + 0xac]
mov dword [esp + 0x20], eax
cmp ecx, edi
jge 0x198cc27
mov dword [esi + 0x8c], edi
mov eax, dword [edx + 0xac]
sub eax, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
jmp 0x198cc3b
mov dword [esi + 0x8c], ecx
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
mov ecx, dword [edx + 0xb0]
mov dword [esp + 0x44], ecx
cmp eax, ecx
jge 0x198cc73
mov dword [esi + 0x90], ecx
mov ecx, dword [edx + 0xb0]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
jmp 0x198cc83
mov dword [esi + 0x90], eax
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esi + 0xa8], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [edx + 0xb4]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x14]
cmp eax, ecx
jg 0x198ccb2
mov ecx, dword [esp + 0x38]
sub ecx, edi
add ecx, dword [esp + 0x14]
jmp 0x198ccb4
sub ecx, edi
lea eax, [ecx + edi]
mov dword [esi + 0x9c], ecx
mov edi, dword [esi + 0x54]
mov dword [esi + 0x94], eax
mov ecx, dword [edx + 0xb8]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
lea eax, [edx + edi]
cmp eax, ecx
jg 0x198cce5
mov ecx, edx
sub ecx, dword [esp + 0x44]
add ecx, edi
jmp 0x198cce9
sub ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xa0], ecx
add ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x74]
add eax, dword [esp + 0x38]
cmp dword [esp + 0x28], eax
mov dword [esi + 0x98], ecx
cmovge eax, dword [esp + 0x28]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x78]
add eax, edx
cmp dword [esp + 0x50], eax
cmovge eax, dword [esp + 0x50]
sub edi, dword [esi + 0x7c]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov edi, dword [esp + 0x48]
cmp edi, eax
cmovg edi, eax
sub edx, dword [esi + 0x80]
mov eax, dword [esi + 0x54]
add eax, edx
mov dword [esi + 0xb4], edi
mov edi, dword [esp + 0x54]
cmp ecx, eax
cmovg ecx, eax
mov dword [esi + 0xb8], ecx
jmp 0x198cdfb
mov eax, dword [esi + 0x50]
mov dword [esi + 0x9c], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x54]
push 0x1016b97c
mov dword [esi + 0xa0], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa4], 0
push dword [edi + 0x28]
call dword [esp + 0x48]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.019677e4
test byte [esi + 0xd0], 4
je 0x198ce4b
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xec]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.019677e4
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
or dword [esi + 0xd4], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x24]
cmp dword [esi + 0x9c], 0
jle 0x198cebd
cmp dword [esi + 0xa0], 0
jle 0x198cebd
cmp byte [esi + 0xe8], 0
je 0x198cebd
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x198cebd
push dword [esi + 0x98]
or eax, 0x10
mov byte [esp + 0x11], 1
push dword [esi + 0x94]
mov dword [esi + 0xf0], 1
push dword [esi + 0x90]
mov dword [esi + 0xd4], eax
push dword [esi + 0x8c]
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
test byte [esi + 0xd0], 2
je 0x198d025
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198ceec
cvtdq2pd xmm0, xmm0
jmp 0x198cf16
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198cf41
cvtdq2pd xmm0, xmm0
jmp 0x198cf65
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198cf8d
cvtdq2pd xmm0, xmm0
jmp 0x198cfb1
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198cfd9
cvtdq2pd xmm0, xmm0
jmp 0x198cffd
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x2c]
push eax
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ee
push esi
call eax
test byte [esi + 0xd0], 4
je 0x198d18d
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198d054
cvtdq2pd xmm0, xmm0
jmp 0x198d07e
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198d0a9
cvtdq2pd xmm0, xmm0
jmp 0x198d0cd
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198d0f5
cvtdq2pd xmm0, xmm0
jmp 0x198d119
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + reloc.MSVCRT.dll_strncpy]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x198d141
cvtdq2pd xmm0, xmm0
jmp 0x198d165
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.01a7f0c4
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x2c]
push eax
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ef
push esi
call eax
mov byte [esp + 0xe], 1
jmp 0x198d1f6
cmp al, ah
je 0x198d1f6
cmp dword [esi + 0x9c], 0
je 0x198d1f6
cmp dword [esi + 0xa0], 0
je 0x198d1f6
push dword [esi + 0x98]
movzx eax, al
or ecx, 0x10
push dword [esi + 0x94]
mov byte [esp + 0x15], 1
push dword [esi + 0x90]
mov dword [esi + 0xf0], eax
push dword [esi + 0x8c]
mov dword [esi + 0xd4], ecx
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 0xd4]
and ecx, 0x10
je 0x198d20e
movzx eax, byte [esi + 0xe8]
mov dword [esi + 0xf0], eax
cmp byte [esi + 0xe8], 0
je 0x198d2d9
cmp dword [esi + 0x64], 0
je 0x198d2d9
cmp dword [esi + 0x24], reloc.MSVCRT.dll_strncpy
jne 0x198d2d9
cmp dword [esi + 0x9c], 0
jle 0x198d2d9
cmp dword [esi + 0xa0], 0
jle 0x198d2d9
test ecx, ecx
jne 0x198d2d9
lea eax, [esi + 0x8c]
push eax
push dword [0x1018a698]
call dword [esp + 0x64]
test eax, eax
je 0x198d2d9
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
mov byte [esp + 0x15], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xf0], 1
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x24]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0xc4]
call dword [esp + 0x24]
mov eax, dword [reloc.MSVCRT.dll_strncpy]
or dword [esi + 0xd4], 0x11
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x2c]
test byte [esi + 0xd0], 1
je 0x198d345
cmp dword [esi + 0x9c], 0
mov dword [esi + 0xd8], 1
jle 0x198d345
cmp dword [esi + 0xa0], 0
jle 0x198d345
cmp byte [esi + 0xe8], 0
je 0x198d345
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x198d345
mov dword [esi + 0xf0], 1
cmp dword [edi + 0xdc], 9
mov byte [esp + 0xd], 1
jle 0x198d332
or eax, 0x10
mov dword [esi + 0xd4], eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x2c]
mov dword [esi + 0xd0], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x198d360
cmp dword [esi + 0x2c], 1
jg 0x198ca9c
cmp byte [esp + 0xd], 0
je 0x198db3a
push 0x1016b97c
push dword [edi + 0x28]
call dword [esp + 0x48]
push 0x1016b998
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [esp + 0x48]
push dword [0x1018a698]
mov dword [esp + 0x2c], eax
push dword [esi + 0x20]
call dword [esp + 0x3c]
push dword [0x1018a688]
push dword [0x1018a698]
push dword [esi + 0x20]
call dword [esp + 0x48]
cmp dword [edi + 0x24], 0
jle 0x198d6a6
cmp byte [edi + 0xe8], 0
je 0x198d6a6
cmp dword [edi + 0x9c], 0
jle 0x198d6a6
cmp dword [edi + 0xa0], 0
jle 0x198d6a6
mov eax, dword [edi + 0xec]
cmp dword [eax + 0x14], 0
je 0x198d6a6
cmp dword [edi + 0xd8], 0
je 0x198d615
cmp byte [edi + 0xf5], 0
jne 0x198d615
push 5
push 0
push dword [edi + 0xc8]
push dword [edi + 0xcc]
call dword [esp + 0x2c]
and dword [edi + 0xd0], 0xfffffffe
push 0
push 0
push 0
push 0
push dword [edi + 0xc8]
mov dword [edi + 0xdc], 0
call dword [esp + 0x24]
push 0
push 0
push 0
push 0
push dword [edi + 0xc4]
call dword [esp + 0x24]
cmp dword [reloc.MSVCRT.dll_strncpy], 0
mov eax, dword [edi + 0xcc]
mov byte [edi + 0xf5], 1
je 0x198d550
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x60]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [edi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [edi + 0xec]
push 0
push dword [0x1018a5cc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [edi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x198d516
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d516
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x198d516
inc eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
mov dword [esp], reloc.MSVCRT.dll_strncpy
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0xec]
call fcn.01968774
jmp 0x198d58e
push eax
mov eax, dword [edi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [edi + 0xec]
push 0
push dword [edi + 0xcc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [edi + 0xec]
push dword [edi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov eax, dword [edi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [edi + 0x44]
push 0x3f0
push edi
call eax
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d604
mov ecx, dword [edi + 0xec]
call fcn.01967fe4
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x198d604
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d604
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x198d604
dec eax
mov dword [ecx + 0x2c], eax
call fcn.01967fe4
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [reloc.MSVCRT.dll_strncpy], eax
mov dword [edi + 0xd8], 0
mov byte [edi + 0xf5], 0
cmp dword [edi + 0x64], 0
je 0x198d6a6
mov eax, dword [edi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
mov eax, dword [edi + 0x44]
push dword [esi + 0x20]
push 0x3f1
push edi
call eax
test eax, eax
jne 0x198d6a6
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x198d680
cmp dword [esp + 0x28], reloc.MSVCRT.dll_strncpy
jge 0x198d680
mov byte [esp + 0x1a], al
push dword [esp + 0x18]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0xec]
push ecx
push edx
push 0
push 0
push dword [eax + 0x20]
push ecx
push edx
push 0
push 0
push dword [esi + 0x20]
call dword [0x1018ba44]
jmp 0x198d6a6
mov eax, dword [edi + 0xec]
push 0xcc0020
push 0
push 0
push dword [eax + 0x20]
push dword [edi + 0x54]
push dword [edi + 0x50]
push 0
push 0
push dword [esi + 0x20]
call dword [esp + 0x8c]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x20], esi
test esi, esi
je 0x198da3d
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x2c], 1
jle 0x198da35
cmp byte [esi + 0xe8], 0
je 0x198da2a
cmp dword [esi + 0x9c], 0
jle 0x198da2a
cmp dword [esi + 0xa0], 0
jle 0x198da2a
mov eax, dword [esi + 0xec]
cmp dword [eax + 0x14], 0
je 0x198da2a
cmp dword [esi + 0xd8], 0
je 0x198d92e
cmp byte [esi + 0xf5], 0
jne 0x198d92e
push 5
push 0
push dword [esi + 0xc8]
push dword [esi + 0xcc]
call dword [esp + 0x2c]
and dword [esi + 0xd0], 0xfffffffe
push 0
push 0
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xdc], 0
call dword [esp + 0x24]
push 0
push 0
push 0
push 0
push dword [esi + 0xc4]
call dword [esp + 0x24]
cmp dword [esi + 0xf8], 0
mov byte [esi + 0xf5], 1
jne 0x198d8a7
cmp dword [reloc.MSVCRT.dll_strncpy], 0
mov eax, dword [esi + 0xcc]
je 0x198d869
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x60]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [esi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esi + 0xec]
push 0
push dword [0x1018a5cc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [esi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x198d82f
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d82f
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x198d82f
inc eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
mov dword [esp], reloc.MSVCRT.dll_strncpy
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [esi + 0xec]
call fcn.01968774
jmp 0x198d8a7
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esi + 0xec]
push 0
push dword [esi + 0xcc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [esi + 0xec]
push dword [esi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov eax, dword [esi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [esi + 0x44]
push 0x3f0
push esi
call eax
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d91d
mov ecx, dword [esi + 0xec]
call fcn.01967fe4
mov ecx, dword [esi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x198d91d
cmp dword [reloc.MSVCRT.dll_strncpy], 0
je 0x198d91d
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x198d91d
dec eax
mov dword [ecx + 0x2c], eax
call fcn.01967fe4
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [reloc.MSVCRT.dll_strncpy], eax
mov dword [esi + 0xd8], 0
mov byte [esi + 0xf5], 0
cmp byte [0x1018a575], 0
lea eax, [esi + 0x8c]
je 0x198d951
push dword [0x1018a590]
push eax
push dword [edi + 0x20]
call dword [esp + 0x78]
lea eax, [esi + 0x8c]
cmp dword [esi + 0x64], 0
je 0x198da2a
cmp dword [esi + 0xf0], 0
je 0x198d989
mov eax, dword [esi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
mov eax, dword [esi + 0x44]
push dword [edi + 0x20]
push 0x3f1
push esi
call eax
test eax, eax
jne 0x198da2a
jmp 0x198d99c
push eax
push dword [0x1018a698]
call dword [esp + 0x64]
test eax, eax
je 0x198da2a
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x198d9ea
mov byte [esp + 0x1a], al
push dword [esp + 0x18]
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xec]
push ecx
push edx
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [edi + 0x20]
call dword [0x1018ba44]
jmp 0x198da2a
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xec]
push 0xcc0020
push ecx
push edx
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [edi + 0x20]
call dword [esp + 0x8c]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x198d6b9
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], esi
push 0x1016b9a8
push dword [edi + 0x28]
call dword [esp + 0x48]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x198da61
push 1
push 0x1016b9c8
push ecx
call dword [esp + 0x7c]
jmp 0x198db3a
push 0x1016b9e8
push ecx
call dword [esp + 0x48]
test eax, eax
jne 0x198db3a
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jle 0x198daa1
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x1018a698]
push 0
push eax
call dword [esp + 0x74]
jmp 0x198dae7
mov byte [esp + 0x1a], al
mov eax, dword [edi + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x54]
push 2
mov dword [esp + 0x88], eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
cmp byte [esp + 0xe], 0
je 0x198db3a
mov eax, dword [edi + 0x28]
xor edi, edi
mov edx, dword [reloc.MSVCRT.dll_strncpy]
mov dword [esp + 0x90], eax
test edx, edx
jle 0x198db3a
mov esi, eax
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + reloc.MSVCRT.dll_strncpy]
test ecx, ecx
je 0x198db31
cmp dword [ecx + 0x28], esi
jne 0x198db31
test byte [eax + 0x260], 2
je 0x198db31
call fcn.019e26f4
mov edx, dword [reloc.MSVCRT.dll_strncpy]
inc edi
cmp edi, edx
jl 0x198db06
mov esi, dword [esp + 0x20]
push 0
test esi, esi
je 0x198db5f
push 0
push 0
push 0
push dword [0x1018a698]
call dword [esp + 0x24]
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
jmp 0x198ca96
push 0x1018a5d8
call dword [esp + 0x84]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.01a7b7e8
mov esp, ebp
pop ebp
ret