Function at 0x100173e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061496
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x100811d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x74
push 0x78
push 0x74
push 0x67
push 0x6e
push 0x69
push 0x70
push 0x69
push 0x61
push 0x48
push 0x74
push 0x63
push 0x65
push 0x6e
push 0x6e
push 0x6f
push 0x43
push 0x65
push 0x64
push 0x69
push 0x54
push 0x64
push 0x6e
push 0x41
push 0x72
push 0x65
push 0x76
push 0x69
push 0x52
push 0x67
push 0x6e
push 0x69
push 0x72
push 0x70
push 0x53
lea eax, [ebp - 0x230]
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
push eax
call fcn.10006cb0
add esp, 0x94
cmp dword [ebx + 0x18], 8
lea esi, [ebx + 4]
mov dword [ebp - 4], 0
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x10017487
mov eax, dword [esi]
xor ecx, ecx
push 1
mov word [eax], cx
mov ecx, esi
push 0x10067d78
call fcn.10003ae0
push 1
push 0x10067b20
mov ecx, esi
call fcn.10003ae0
push 1
push 0x10066f44
mov ecx, esi
call fcn.10003ae0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.10003ae0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100174e2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100175b1
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1003b8a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x1c
lea eax, [ebp - 0x24c]
push eax
push 0x100161c0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x10017555
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017563
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10003ae0
push 1
push 0x10066f44
mov ecx, esi
call fcn.10003ae0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
call fcn.10003ae0
cmp dword [esi + 0x14], 8
jb 0x100175b9
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [ebx + 0x30], 8
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x2c], 0
jb 0x100175d3
mov eax, dword [ebx + 0x1c]
xor ecx, ecx
push 1
mov word [eax], cx
lea ecx, [ebx + 0x1c]
push 0x10067d78
call fcn.10003ae0
push 1
push 0x10067b20
lea ecx, [ebx + 0x1c]
call fcn.10003ae0
push 1
push 0x10066f44
lea ecx, [ebx + 0x1c]
call fcn.10003ae0
push 0x67
push 0x6f
push 0x6c
push 0x74
push 0x6e
push 0x65
push 0x74
push 0x6e
push 0x6f
push 0x43
push 0x70
push 0x74
push 0x74
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
push 0x6f
push 0x4e
lea eax, [ebp - 0x248]
push 0x10067d80
push eax
call fcn.10006cb0
add esp, 0x58
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
lea ecx, [ebx + 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.10003ae0
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x100176a4
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001769a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100176fb
push edx
push ecx
call fcn.100244c7
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x100176e0
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100176d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017700
push edx
push ecx
call fcn.100244c7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002453b
mov esp, ebp
pop ebp
ret
call fcn.1003fc49
call fcn.1003fc49
int3