Function at 0x1d17227
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1d58662
call fcn.01d55708
sub esp, 0x7c
push esi
push edi
mov dword [ebp - 0x28], ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov esi, dword [sym.imp.mfc100.dll_Ordinal_4283]
push 0x1d8a5dc
lea eax, [ebp - 0x20]
push 0x1d65a5c
push eax
mov byte [ebp - 4], 8
call esi
and dword [ebp - 0x24], 0
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.01d40d0f
push 0x5c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_11744]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov edi, eax
push 0x4daa6f51
lea ecx, [ebp - 0x5c]
call fcn.01d21f70
push dword [ebp + 8]
mov byte [ebp - 4], 0xb
push dword [ebp + 8]
push dword [edi]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
add esp, 0x14
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x18]
stosb byte es:[edi], al
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
je 0x1d174a8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call fcn.01d40c3e
test eax, eax
je 0x1d174a8
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x24783bdc
lea ecx, [ebp - 0x18]
call fcn.01d15515
push dword [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
add esp, 0x14
test al, al
je 0x1d1749b
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d1749b
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d1749b
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d1749b
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d1749b
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d1749b
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov eax, 0x1d65a98
sub eax, 0x476e8141
push eax
lea ecx, [ebp - 0x87]
call fcn.01d21fab
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, 0x1d65a8c
add esp, 0xc
sub eax, 0x22e16139
push eax
lea ecx, [ebp - 0x39]
call fcn.01d21fe6
push 0x40010
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0x28]
push eax
call sub.mfc100.dll_Ordinal_7871
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.01d40d21
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x1c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_901]
push ebx
push 0x5c
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov ebx, eax
mov eax, str.5bNpgadsEh
sub eax, 0x22d79d2a
push eax
lea ecx, [ebp - 0x65]
call fcn.01d22023
push dword [ebp + 8]
mov byte [ebp - 4], 0x12
push dword [ebp + 8]
push dword [ebx]
push eax
lea eax, [ebp - 0x1c]
push eax
call esi
push 0x2c
lea eax, [ebp - 0x65]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0x20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call edi
test eax, eax
je 0x1d176c9
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call fcn.01d40c3e
test eax, eax
je 0x1d176c9
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x24783c6c
lea ecx, [ebp - 0x18]
call fcn.01d15515
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x10]
push eax
call esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
add esp, 0x14
test al, al
je 0x1d176c0
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d176c0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d176c0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d176c0
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d176c0
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.01d027ac
pop ecx
pop ecx
test al, al
je 0x1d176c0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov eax, 0x1d65b28
sub eax, 0x476e8141
push eax
lea ecx, [ebp - 0x87]
call fcn.01d21fab
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x18]
push eax
call esi
mov eax, 0x1d65b1c
add esp, 0xc
sub eax, 0x22e16139
push eax
lea ecx, [ebp - 0x39]
call fcn.01d21fe6
push 0x40010
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc100.dll_Ordinal_1448]
mov ecx, dword [ebp - 0x28]
push eax
call sub.mfc100.dll_Ordinal_7871
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor bl, bl
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.01d40d21
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, bl
pop ebx
jmp 0x1d1748b
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov bl, 1
jmp 0x1d1765b