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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483d54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040d000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00430bc0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
push 0x5c
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004221d0
push eax
call fcn.00430b40
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x430d94
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xfc], ecx
lea edx, [ebp - 0x1d]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00430bf0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041d430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.00422580
jmp 0x430dfe
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x1e]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x114]
call fcn.00430bf0
mov edx, dword [ebp - 0x18]
or edx, 2
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041d430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call fcn.00422580
jmp 0x430e14
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, 1
test edx, edx
jne 0x430d0a
lea eax, [ebp - 0x64]
mov dword [ebp - 0x70], eax
xor ecx, ecx
imul edx, ecx, 0x18
mov eax, dword [ebp - 0x70]
add edx, dword [eax]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x430e45
mov dword [ebp - 0x38], 1
jmp 0x430e4c
mov dword [ebp - 0x38], 0
mov cl, byte [ebp - 0x38]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x430e68
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0040d000
mov byte [ebp - 4], 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 8
jb 0x430ea8
mov dword [ebp - 0x40], 1
jmp 0x430eaf
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x430ed1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4310b9
mov dword [ebp - 0x1c], 1
jmp 0x430f0d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x48]
mov eax, dword [ecx + 4]
sub eax, dword [edx]
cdq
mov ecx, 0x18
idiv ecx
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x90]
jge 0x4310b9
push 0x492984
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.0040b280
add esp, 0xc
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x64]
mov dword [ebp - 0x98], eax
imul ecx, dword [ebp - 0x1c], 0x18
mov edx, dword [ebp - 0x98]
add ecx, dword [edx]
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.00402f00
add esp, 0xc
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xf4]
call fcn.004037e0
lea ecx, [ebp - 0x144]
call fcn.00422580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x15c]
call fcn.00422580
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x14], 8
jb 0x430ff7
mov dword [ebp - 0x4c], 1
jmp 0x430ffe
mov dword [ebp - 0x4c], 0
mov cl, byte [ebp - 0x4c]
mov byte [ebp - 0xf], cl
movzx edx, byte [ebp - 0xf]
test edx, edx
je 0x431020
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4310b4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x14], 8
jb 0x431067
mov dword [ebp - 0x54], 1
jmp 0x43106e
mov dword [ebp - 0x54], 0
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x10], al
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
je 0x431090
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
push 0
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x430f04
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf4]
call fcn.00422580
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00431b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.00422580
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret