Function at 0x402960
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x567138
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x5c4fe8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 0x10
push str.Foxit_PDF_Reader
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], eax
call fcn.00403110
lea ecx, [ebp - 0x5c]
call fcn.00402560
mov edi, eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
mov eax, dword [edi + 0x10]
cmovae edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 0x14]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], edx
cmp ecx, eax
ja 0x402a37
mov eax, dword [ebp - 0x64]
mov edx, edi
add eax, ecx
mov dword [ebp - 0x68], edi
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x60], eax
mov dword [edi + 0x10], eax
jb 0x402a13
mov edx, dword [edi]
mov dword [ebp - 0x68], edx
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x6c]
lea eax, [edx + eax*2]
push eax
call fcn.00547560
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x402a4a
push ecx
push edx
mov byte [ebp - 0x60], 0
push dword [ebp - 0x60]
push ecx
mov ecx, edi
call fcn.00402e90
mov edi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x5a8320
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00403000
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x402af8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402aee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bc4
push edx
push ecx
call fcn.00545a1e
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x402b46
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bc9
push edx
push ecx
call fcn.00545a1e
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402b50
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402b6e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402b65
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x402ba4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b9a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bce
push edx
push ecx
call fcn.00545a1e
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00545a0d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0054bd65
call fcn.0054bd65
call fcn.0054bd65
int3