Function at 0x42dfc0
Capabilities:
Accept command line arguments
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4919c3
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [section..data]
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
lea ecx, [ebp - 0x320]
call fcn.0040a6d4
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x234], cx
mov ecx, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x42e022
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.00403bac
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 1
call fcn.0040adec
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x220], edi
jb 0x42e073
mov eax, dword [ebp - 0x234]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
push 1
mov word [ebp - 0x2a4], cx
mov esi, 7
push 0x4a4b34
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x294], ebx
call fcn.00403bac
push 9
xor edx, edx
push 0x4a4b20
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call fcn.00403bac
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 3
call fcn.0042d13a
cmp dword [ebp - 0x220], edi
jb 0x42e0fe
mov edx, dword [ebp - 0x234]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x290], edi
jb 0x42e12d
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.00404f07
add esp, 4
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x320]
call fcn.0042cdac
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 4
call fcn.0042d3aa
lea esi, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0042de0c
mov ecx, dword [ebp - 0x250]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x23c], edi
jae 0x42e178
mov ecx, esi
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x274], edi
jae 0x42e18c
lea eax, [ebp - 0x288]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42e23f
cmp dword [ebp - 0x23c], edi
jb 0x42e1b4
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], dx
cmp dword [ebp - 0x258], edi
jb 0x42e1e5
mov eax, dword [ebp - 0x26c]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], cx
cmp dword [ebp - 0x274], edi
jb 0x42e211
mov edx, dword [ebp - 0x288]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x274], esi
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x288], ax
mov dword [ebp - 4], 0xffffffff
call fcn.0041ae80
xor eax, eax
jmp 0x42e389
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x218], cx
call fcn.00402e70
add esp, 0xc
call fcn.0041a2de
lea edx, [ebp - 0x218]
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x42e270
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x338], 1
movzx edx, word [ebp - 0x334]
jne 0x42e2a1
mov edx, 0xa
mov ecx, dword [ebp - 0x26c]
cmp dword [ebp - 0x258], edi
jae 0x42e2b5
lea ecx, [ebp - 0x26c]
mov eax, dword [ebp - 0x250]
cmp dword [ebp - 0x23c], edi
jae 0x42e2c9
lea eax, [ebp - 0x250]
push edx
lea edx, [ebp - 0x218]
push edx
push ecx
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov esi, ecx
cmp dword [ebp - 0x23c], edi
jb 0x42e2fc
mov edx, dword [ebp - 0x250]
push edx
call fcn.00404f07
add esp, 4
xor eax, eax
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
cmp dword [ebp - 0x258], edi
jb 0x42e32c
mov ecx, dword [ebp - 0x26c]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], ebx
mov word [ebp - 0x26c], dx
cmp dword [ebp - 0x274], edi
jb 0x42e35c
mov eax, dword [ebp - 0x288]
push eax
call fcn.00404f07
add esp, 4
xor ecx, ecx
mov word [ebp - 0x288], cx
lea ecx, [ebp - 0x320]
mov dword [ebp - 0x274], 7
mov dword [ebp - 0x278], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0041ae80
mov eax, esi
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.0040330b
mov esp, ebp
pop ebp
ret