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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f8f1
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x430098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 3
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x422348
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004037d0
sub esp, 8
mov dword [ebp - 4], 0
mov eax, esp
mov ecx, edi
mov dword [eax], 0x422448
mov dword [eax + 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405e46
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x402c3b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e42
push edx
push ecx
call fcn.0040ae87
add esp, 8
xor esi, esi
nop dword [eax]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push dword [esi*4 + 0x4222bc]
call fcn.0040ec0a
add esp, 8
test eax, eax
je 0x402c67
inc esi
cmp esi, 4
jb 0x402c40
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x402ca1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e47
push edx
push ecx
call fcn.0040ae87
add esp, 8
cmp esi, 2
jne 0x402d96
lea ecx, [ebp - 0x28]
call fcn.00406f1b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402d04
mov dword [ebp - 0x34], 0xc
call fcn.00407568
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00402e50
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push 0x422360
push eax
call fcn.00401720
push 0x42235c
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 3
push eax
call fcn.004016b0
add esp, 0x18
lea ecx, [ebp - 0x70]
call fcn.00401440
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00401440
push 2
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00402f20
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.004022a0
lea ecx, [ebp - 0x88]
call fcn.00401440
lea ecx, [ebp - 0xa0]
call fcn.00401440
lea ecx, [ebp - 0x28]
jmp 0x402e20
cmp esi, 1
jne 0x402e25
lea eax, [ebp - 0xd4]
mov ecx, edi
push eax
call fcn.00402e50
push eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 8
push str._Launch__Src_Desktop__LaunchParams__
push eax
call fcn.00401720
push 0x42235c
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
call fcn.004016b0
add esp, 0x18
lea ecx, [ebp - 0xbc]
call fcn.00401440
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xc
call fcn.00401440
push esi
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.00402f20
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.004022a0
lea ecx, [ebp - 0x58]
call fcn.00401440
lea ecx, [ebp - 0x70]
call fcn.00401440
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ae95
mov esp, ebp
pop ebp
ret
call fcn.0040eaba
call fcn.0040eaba
int3