Function at 0x1042fe2
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x104
push esi
mov dword [ebp - 0x240], eax
push 1
lea eax, [ebp - 0x234]
push eax
xor edi, edi
call fcn.01058c2d
test eax, eax
je 0x10432c4
lea eax, [ebp - 0x234]
push eax
call fcn.01055e3d
push 0x100429c
push esi
lea eax, [ebp - 0x234]
push eax
call fcn.01035886
test eax, eax
jl 0x10432c4
lea eax, [ebp - 0x234]
push eax
call fcn.010561ca
test eax, eax
je 0x10432c4
push esi
lea eax, [ebp - 0x234]
push eax
push eax
call fcn.010582d2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov dword [ebp - 0x23c], esi
cmp esi, edi
je 0x10432af
mov dword [ebp - 0x238], esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1043088
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1043153
push esi
push edi
push ebx
call fcn.01035811
test eax, eax
jl 0x104314c
push ebx
call dword [sym.imp.msvcrt.dll__wcslwr]
mov edi, dword [sym.imp.msvcrt.dll_wcsstr]
mov dword [esp], 0x1004c78
push ebx
call edi
pop ecx
pop ecx
test eax, eax
je 0x10430fd
push 0x22
add eax, 0x1a
pop ecx
cmp cx, word [eax]
jne 0x10430f4
inc eax
inc eax
sub eax, ebx
sar eax, 1
lea eax, [esi + eax*2]
jmp 0x104313d
push 0x1004c64
push ebx
call edi
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1043145
add esi, 0x12
push 0x100429c
push esi
call edi
pop ecx
pop ecx
test eax, eax
je 0x1043130
mov ecx, dword [ebp - 0x23c]
sub eax, ebx
add eax, 0x18
sar eax, 1
lea eax, [ecx + eax*2]
jmp 0x104313d
mov eax, dword [ebp - 0x23c]
sub esi, ebx
sar esi, 1
lea eax, [eax + esi*2]
mov dword [ebp - 0x238], eax
jmp 0x104314c
and dword [ebp - 0x238], 0
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
mov ebx, dword [ebp - 0x240]
push 5
pop ecx
mov esi, 0x1004c4c
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
test ebx, ebx
je 0x1043206
cmp word [ebx], 0
je 0x1043206
mov esi, 0x1004c3c
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1c]
movsw word es:[edi], word [esi]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x104318d
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [ebp - 0x2c]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x10431a3
sub eax, ecx
sar eax, 1
mov ecx, eax
mov eax, ebx
lea edx, [eax + 2]
mov di, word [eax]
inc eax
inc eax
test di, di
jne 0x10431b8
sub eax, edx
sar eax, 1
add eax, ecx
lea edi, [eax + esi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x1043299
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
call fcn.01035811
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
call fcn.01035886
push ebx
jmp 0x1043272
cmp dword [ebp - 0x238], 0
je 0x1043299
mov eax, dword [ebp - 0x238]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x104321c
sub eax, edx
sar eax, 1
mov ecx, eax
lea eax, [ebp - 0x1c]
lea edx, [eax + 2]
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x1043232
sub eax, edx
sar eax, 1
lea edi, [eax + ecx + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
mov esi, eax
pop ecx
test esi, esi
je 0x1043299
lea eax, [ebp - 0x1c]
push eax
push edi
push esi
call fcn.01035811
push dword [ebp - 0x238]
push edi
push esi
call fcn.01035886
push 0xa
xor eax, eax
push eax
push esi
lea ecx, [ebp - 0x234]
push ecx
push eax
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
mov edi, eax
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x10432c4
push 0xa
xor eax, eax
push eax
push dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
push ecx
push eax
push eax
jmp 0x10432bc
push 0xa
push edi
push edi
lea eax, [ebp - 0x234]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
mov ecx, dword [ebp - 4]
push 0x20
pop eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.01047464
leave
ret 4