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

Disassembly:
push 0xffffffffffffffff
push 0x450f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x473630]
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x14]
call fcn.0044393a
lea ecx, [esp + 0x10]
call fcn.00443c9e
push 0x46b90c
lea ecx, [esp + 0x14]
call fcn.00442169
or esi, 0xffffffff
cmp eax, esi
je 0x406b51
mov byte [0x476e18], 1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x46b904
call fcn.0044381f
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 2
call fcn.00443526
mov byte [esp + 0x34], 1
call fcn.00406a00
mov ebp, eax
add esp, 8
cmp ebp, esi
je 0x406bc5
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46b8fc
call fcn.0044381f
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x38], 3
call fcn.00443526
mov byte [esp + 0x34], 1
call fcn.00406a00
mov edi, eax
add esp, 8
cmp edi, esi
jne 0x406bf5
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.004437b1
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call fcn.004437b1
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46b8f8
call fcn.0044381f
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x38], 4
call fcn.00443526
mov byte [esp + 0x34], 1
call fcn.00406a00
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x406c60
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.004437b1
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call fcn.004437b1
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
push 3
push 0
push 1
push edi
push ebp
call fcn.00401bf0
add esp, 8
push eax
call fcn.004044a0
add esp, 0x10
test eax, eax
jne 0x406d0b
push edi
push ebp
call fcn.00403b00
mov edx, dword [esp + 0x20]
add ebx, 0x864
cmp eax, 2
mov dword [esp + 0x24], eax
sete cl
add edx, 0x660
push ecx
push edx
push ebx
push edi
push ebp
call fcn.00403030
add esp, 0x1c
test eax, eax
je 0x406cf0
mov eax, dword [esp + 0x1c]
cmp eax, 2
mov eax, dword [ebx]
push eax
lea eax, [esi + esi*2]
jne 0x406cda
shl eax, 3
sub eax, esi
lea ecx, [eax + eax*2]
lea eax, [esi + ecx*4]
lea edx, [eax + eax*4]
push edx
push edi
push ebp
call fcn.004021b0
jmp 0x406ced
lea eax, [eax + eax*4]
shl eax, 2
sub eax, esi
lea ecx, [eax + eax*2]
push ecx
push edi
push ebp
call fcn.00402690
add esp, 0x10
push 3
push 0
push 0
push edi
push ebp
call fcn.00401bf0
add esp, 8
push eax
call fcn.004044a0
add esp, 0x10
jmp 0x406d20
cmp eax, 0xa
je 0x406d20
cmp eax, 0x1392
je 0x406d20
push eax
call fcn.004045b0
add esp, 4
push 0x46b8f0
lea ecx, [esp + 0x14]
call fcn.00442169
or edi, 0xffffffff
cmp eax, edi
je 0x406dd2
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x1c]
sub ecx, 6
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00442053
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.004438ea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.004437b1
push 0x22
lea ecx, [esp + 0x14]
call fcn.00443c63
push 0x22
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00442147
sub eax, esi
lea ecx, [esp + 0x1c]
dec eax
inc esi
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00441fbd
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call fcn.004438ea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.004437b1
mov edx, dword [esp + 0x10]
push 1
push 0
push 0
push edx
push 0x467c38
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.004437b1
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], edi
call fcn.004437b1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret