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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498970
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
cmp dword [ebp + 0xc], 0
je 0x44a13a
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
call fcn.0041e1b0
lea ecx, [ebp - 0xc0]
call fcn.00423850
mov dword [ebp - 4], 0
push 0
push 0
push 0
lea ecx, [ebp - 0xc0]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
mov edx, dword [ebp + 8]
push edx
call fcn.0040dd70
call fcn.00420210
add esp, 0x28
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x449bc8
mov dword [ebp - 0x48], 1
jmp 0x449bcf
mov dword [ebp - 0x48], 0
mov cl, byte [ebp - 0x48]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x44a128
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x14], 8
jb 0x449c02
mov dword [ebp - 0x4c], 1
jmp 0x449c09
mov dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x449c2b
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
push 0
mov ecx, dword [ebp - 0xd4]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x148], eax
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x449c78
mov dword [ebp - 0x54], 1
jmp 0x449c7f
mov dword [ebp - 0x54], 0
mov dl, byte [ebp - 0x54]
mov byte [ebp - 0xf], dl
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x449ca1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], edx
cmp dword [ebp - 0xe0], 0
je 0x449da3
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x14], 8
jb 0x449ce4
mov dword [ebp - 0x5c], 1
jmp 0x449ceb
mov dword [ebp - 0x5c], 0
mov al, byte [ebp - 0x5c]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x449d0d
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xe8], edx
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
movzx edx, word [ecx]
test edx, edx
je 0x449da3
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x449d50
mov dword [ebp - 0x64], 1
jmp 0x449d57
mov dword [ebp - 0x64], 0
mov al, byte [ebp - 0x64]
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x449d79
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a090
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x14], 8
jb 0x449dc4
mov dword [ebp - 0x6c], 1
jmp 0x449dcb
mov dword [ebp - 0x6c], 0
mov dl, byte [ebp - 0x6c]
mov byte [ebp - 0x12], dl
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x449ded
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x104], edx
push 0
mov eax, dword [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryExW]
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x449e34
mov dword [ebp - 0x74], 1
jmp 0x449e3b
mov dword [ebp - 0x74], 0
mov cl, byte [ebp - 0x74]
mov byte [ebp - 0x13], cl
movzx edx, byte [ebp - 0x13]
test edx, edx
je 0x449e5d
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0
je 0x449f75
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 8
jb 0x449ea0
mov dword [ebp - 0x7c], 1
jmp 0x449ea7
mov dword [ebp - 0x7c], 0
mov dl, byte [ebp - 0x7c]
mov byte [ebp - 0x14], dl
movzx eax, byte [ebp - 0x14]
test eax, eax
je 0x449ec9
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
movzx ecx, word [eax]
test ecx, ecx
je 0x449f75
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 0x14], 8
jb 0x449f16
mov dword [ebp - 0x84], 1
jmp 0x449f20
mov dword [ebp - 0x84], 0
mov dl, byte [ebp - 0x84]
mov byte [ebp - 0x15], dl
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x449f48
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x449ffa
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x14], 8
jb 0x449f9c
mov dword [ebp - 0x8c], 1
jmp 0x449fa6
mov dword [ebp - 0x8c], 0
mov cl, byte [ebp - 0x8c]
mov byte [ebp - 0x16], cl
movzx edx, byte [ebp - 0x16]
test edx, edx
je 0x449fce
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x90], edx
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x154]
push edx
call fcn.0042c9b0
add esp, 4
jmp 0x44a08b
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x14], 8
jb 0x44a021
mov dword [ebp - 0x94], 1
jmp 0x44a02b
mov dword [ebp - 0x94], 0
mov al, byte [ebp - 0x94]
mov byte [ebp - 0x17], al
movzx ecx, byte [ebp - 0x17]
test ecx, ecx
je 0x44a053
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 0x4b07d8
push str._s:CreateDirectoryExW__s__no:_d
call fcn.00454b60
add esp, 0x10
jmp 0x44a128
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x14], 8
jb 0x44a0b7
mov dword [ebp - 0x9c], 1
jmp 0x44a0c1
mov dword [ebp - 0x9c], 0
mov dl, byte [ebp - 0x9c]
mov byte [ebp - 0x18], dl
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x44a0e9
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x14c], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
push str.CJHFileHandler::CmCreateFileArwSrw
push str._s:SHCreateDirectoryEx__s_code_d__no:_d
call fcn.00454b60
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00423720
cmp dword [ebp + 0x10], 0
je 0x44a14c
mov dword [ebp - 0xa8], 1
jmp 0x44a174
cmp dword [ebp + 0x14], 0
je 0x44a15e
mov dword [ebp - 0xa4], 2
jmp 0x44a168
mov dword [ebp - 0xa4], 4
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
push 0
push 0x80
mov eax, dword [ebp - 0xa8]
push eax
push 0
push 3
push 0xc0000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret