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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1df7
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4bf6bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x45e2a7
xor eax, eax
push ebx
mov word [ebp - 0x2c], ax
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00407860
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx - 1]
cmp ecx, eax
ja 0x45dfdf
push str.invalid_string_position
call fcn.0047b38e
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp edi, 8
jae 0x45dfed
lea edx, [ebp - 0x2c]
cmp word [edx + eax*2], 0x5c
je 0x45e023
cmp ecx, eax
ja 0x45e002
push str.invalid_string_position
call fcn.0047b38e
mov ecx, dword [ebp - 0x2c]
cmp edi, 8
jae 0x45e00d
lea ecx, [ebp - 0x2c]
cmp word [ecx + eax*2], 0x2f
je 0x45e023
push 1
mov eax, 0x4a7b0c
lea ecx, [ebp - 0x2c]
call fcn.00409c50
lea ecx, [ebp - 0x2c]
call fcn.0045d9e0
test al, al
jne 0x45e161
lea ecx, [ebp - 0x138]
push ecx
call fcn.004059f0
mov byte [ebp - 4], 1
push esi
push ecx
lea edx, [ebp - 0x138]
push 0x4b2130
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push 0x17
mov esi, 0xf
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.00407f60
mov byte [ebp - 4], 2
push esi
push str.FileUtility.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 4
push eax
push 0x2ea
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], 8
jb 0x45e0e0
mov edx, dword [ebp - 0x80]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
mov byte [ebp - 4], 2
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x45e10a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 1
cmp dword [ebp - 0x50], edi
jb 0x45e128
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x138]
call fcn.004039b0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x45e158
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
xor al, al
jmp 0x45e4d4
cmp dword [ebp - 0x1c], ebx
je 0x45e1ac
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x45e176
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x45e1ac
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], edi
jb 0x45e19f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov al, 1
jmp 0x45e4d8
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0045dcc0
mov eax, dword [ebp - 0x58]
add esp, 4
cmp eax, dword [ebp - 0x54]
jne 0x45e2ae
lea edx, [ebp - 0x138]
push edx
call fcn.004059f0
mov byte [ebp - 4], 6
push esi
push ecx
lea eax, [ebp - 0x138]
push str.return_false2._path:
push eax
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x80]
call fcn.00404fa0
mov byte [ebp - 4], 7
push str.FileUtility.cpp
lea ecx, [ebp - 0x9c]
call fcn.00404fa0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x138]
push edx
call fcn.00405af0
mov byte [ebp - 4], 9
push eax
push 0x2f7
push ebx
call fcn.004061f0
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x9c]
call fcn.00462280
mov byte [ebp - 4], 8
lea esi, [ebp - 0x48]
call fcn.00409f00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.00404fe0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call fcn.00404fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.004039b0
mov byte [ebp - 4], bl
lea esi, [ebp - 0x58]
call fcn.00406b80
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00409f00
xor al, al
jmp 0x45e4e2
mov byte [ebp - 0x9d], 1
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x45e2c1
mov eax, dword [edi]
jmp 0x45e2c3
mov eax, edi
xor ecx, ecx
mov word [ebp - 0x48], cx
mov ecx, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea esi, [ecx + 2]
jmp 0x45e2e0
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x45e2e0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x48]
call fcn.00408600
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], ebx
jne 0x45e305
xor al, al
jmp 0x45e31e
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x45e311
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
sete byte [ebp - 0x9e]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 8
jb 0x45e33d
mov edx, dword [ebp - 0x48]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp byte [ebp - 0x9e], bl
je 0x45e36e
cmp dword [edi + 0x14], 8
jb 0x45e360
mov eax, dword [edi]
jmp 0x45e362
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x45e37f
add edi, 0x1c
cmp edi, dword [ebp - 0x54]
jne 0x45e2b7
jmp 0x45e48c
lea ecx, [ebp - 0x138]
push ecx
call fcn.004059f0
mov byte [ebp - 4], 0xb
push edi
push ecx
lea edx, [ebp - 0x138]
push str.bRet__false.
push edx
call fcn.004090a0
add esp, 0xc
push eax
call fcn.00410900
add esp, 8
push str.CFileUtility::CreateDir
lea ecx, [ebp - 0x80]
call fcn.00404fa0
mov byte [ebp - 4], 0xc
push str.FileUtility.cpp
lea ecx, [ebp - 0x48]
call fcn.00404fa0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x138]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 0xe
push eax
push 0x303
push 3
call fcn.004061f0
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x88], 8
jb 0x45e41c
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
mov byte [ebp - 4], 0xc
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x45e44b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x6c], edi
jb 0x45e46e
mov edx, dword [ebp - 0x80]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
call fcn.004039b0
mov byte [ebp - 0x9d], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x58], ebx
je 0x45e4aa
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov eax, esi
call fcn.004089a0
push esi
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x45e4cc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047bd91
add esp, 4
mov al, byte [ebp - 0x9d]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047bd9c
mov esp, ebp
pop ebp
ret