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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afd98
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4ccf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x30]
push eax
call fcn.004338f0
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x30]
call fcn.0040aac0
cmp dword [ebp - 0x2c], 0
je 0x434a11
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00434f10
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434a02
lea edx, [ebp - 0x34]
push edx
call fcn.00428810
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00435cf0
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 2
push str..P2P
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00435da0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040aac0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.0040aac0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00428810
add esp, 4
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00435cf0
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3c]
call fcn.0040aac0
lea ecx, [ebp - 0x20]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4349a8
lea ecx, [ebp - 0x24]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4349ea
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040aae0
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040aac0
mov eax, dword [ebp - 0x40]
jmp 0x434b9e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.0040aac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040aac0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00434bb0
add esp, 4
mov dword [ebp - 4], 9
call fcn.00428be0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x44], esp
lea edx, [ebp - 0x18]
push edx
call fcn.0040aa20
mov dword [ebp - 0x78], eax
call fcn.00428c00
add esp, 0xc
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x434a7d
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x48]
jmp 0x434b9e
lea ecx, [ebp - 0x28]
call fcn.0040aa00
mov byte [ebp - 4], 0xa
push str.360downloads_
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00435da0
add esp, 0xc
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040aae0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4c]
call fcn.0040aac0
lea ecx, [ebp - 0x28]
call fcn.00436d80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434b12
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040aae0
mov dword [ebp - 0x50], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x50]
jmp 0x434b9e
push 0
lea ecx, [ebp - 0x28]
call fcn.00436d80
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x434b5c
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040aae0
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x54]
jmp 0x434b9e
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040aac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040aac0
mov eax, dword [ebp - 0x58]
jmp 0x434b9e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret