Function at 0x409de2
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x54]
sub esp, 0x1d0
mov eax, dword [0x4377f4]
push ebx
xor eax, ebp
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x78]
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x7c]
xor ebx, ebx
inc ebx
push ebx
mov dword [ebp - 0x18], eax
or edi, 0xffffffff
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x5c]
mov byte [ebp - 8], 0x2e
call fcn.0040209a
push edi
push eax
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp - 4]
call fcn.004028f4
push ebx
push edi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x5c]
mov byte [ebp - 8], 0x2e
call fcn.0040209a
push eax
xor esi, esi
push esi
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0x34]
call fcn.004028f4
push 0x42c5d4
lea ecx, [ebp + 0x18]
call fcn.0040299a
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x1c], ebx
call fcn.0040226c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.0040922e
lea eax, [ebp + 0x34]
push eax
call fcn.0040927e
add esp, 0xc
test al, al
je 0x409fe2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test bl, al
je 0x409fe2
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x409fe2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414320
pop ecx
pop ecx
push eax
push str.Attribute:
lea ecx, [ebp - 0x58]
call fcn.0040299a
push eax
lea eax, [ebp + 0x34]
push eax
call fcn.0040927e
movzx eax, al
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00414320
add esp, 0xc
push eax
push str.Exists:
lea ecx, [ebp - 0x74]
call fcn.0040299a
push eax
lea eax, [ebp + 0x34]
push eax
push str.File:
lea ecx, [ebp - 0xac]
call fcn.0040299a
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00402a92
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push edi
push esi
push eax
call fcn.004026ab
push esi
push ebx
lea ecx, [ebp - 0xc8]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x144]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x17c]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x160]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x128]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0xac]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x90]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402285
lea ecx, [ebp - 0x3c]
jmp 0x40a301
push str..lzma
lea ecx, [ebp - 4]
call fcn.00402161
test eax, eax
jne 0x40a08f
lea eax, [ebp + 0x34]
push eax
push 0x42ce70
lea ecx, [ebp - 0xac]
call fcn.0040299a
push eax
lea eax, [ebp + 0x5c]
push eax
push str.lzma_d
lea ecx, [ebp - 0x74]
call fcn.0040299a
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402a92
add esp, 0xc
push edi
push esi
push eax
lea ecx, [ebp + 0x18]
call fcn.004026ab
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x90]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0xac]
call fcn.00402285
jmp 0x40a11b
push str..ogg
lea ecx, [ebp - 4]
call fcn.00402161
test eax, eax
jne 0x40a0c3
lea eax, [ebp + 0x5c]
push eax
push 0x42ce70
lea ecx, [ebp - 0xac]
call fcn.0040299a
push eax
lea eax, [ebp + 0x34]
push eax
push str.oggdec__o
jmp 0x40a015
push str..zip
lea ecx, [ebp - 4]
call fcn.00402161
test eax, eax
jne 0x40a11b
lea eax, [ebp + 0x5c]
push eax
push str.unzip__j
lea ecx, [ebp - 0x58]
call fcn.0040299a
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402a92
add esp, 0xc
push edi
push esi
push eax
lea ecx, [ebp + 0x18]
call fcn.004026ab
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402285
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], 0x101
push 0x42c5d4
lea ecx, [ebp + 0x18]
call fcn.00402161
test eax, eax
je 0x40a296
push 0x44
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.0041c310
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp + 0x30], 0x10
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10c], 0x44
mov word [ebp - 0xdc], si
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xfc], esi
jae 0x40a189
lea eax, [ebp + 0x1c]
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x10c]
push ecx
push esi
push esi
push 0x20
push dword [ebp - 0xc]
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
push edi
push eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
cmp dword [ebp - 0x20], esi
je 0x40a292
push dword [ebp - 0x20]
lea eax, [ebp - 0x128]
push eax
call fcn.00414320
pop ecx
pop ecx
push eax
push str._retCode:
lea ecx, [ebp - 0xac]
call fcn.0040299a
push eax
lea eax, [ebp + 0x34]
push eax
push str.File:
lea ecx, [ebp - 0x74]
call fcn.0040299a
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402a92
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
call fcn.004026ab
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x90]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x74]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0xac]
call fcn.00402285
lea ecx, [ebp - 0x128]
jmp 0x40a301
mov edi, ebx
jmp 0x40a30a
push str._commandLine_is_null
lea ecx, [ebp - 0x74]
call fcn.0040299a
push eax
lea eax, [ebp + 0x34]
push eax
push str.File:
lea ecx, [ebp - 0x90]
call fcn.0040299a
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00402a92
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00402a92
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push edi
push esi
push eax
call fcn.004026ab
push esi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x58]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 0x90]
call fcn.00402285
lea ecx, [ebp - 0x74]
push esi
push ebx
call fcn.00402285
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401df2
push esi
push ebx
lea ecx, [ebp + 0x18]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp + 0x34]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp - 4]
call fcn.00402285
push esi
push ebx
lea ecx, [ebp + 0x5c]
call fcn.00402285
mov ecx, dword [ebp + 0x50]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c2f6
add ebp, 0x54
leave
ret