Function at 0x40e5f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b3ba
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4961ec]
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
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], 0
call fcn.0041e920
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40e7a3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x46
push 0x476850
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov ebx, eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004058e0
push 3
push 0x47684c
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 1
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.004058e0
mov byte [ebp - 4], 2
call fcn.0041e920
mov edi, eax
lea ecx, [ebp - 0x12c]
push 0x2b
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00402eb0
mov esi, eax
push str.cmd:
push esi
mov byte [ebp - 4], 3
call fcn.00406be0
test ebx, ebx
mov ecx, 0x4745e0
cmovne ecx, ebx
push ecx
push esi
call fcn.00406be0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.00403e10
mov edx, dword [ebp - 0x7c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x40e741
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e737
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9b2
push edx
push ecx
call fcn.0042ec84
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x40e78e
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40e784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9b7
push edx
push ecx
call fcn.0042ec84
add esp, 8
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0x30
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00436710
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00420420
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x60], 0
mov ecx, edx
mov dword [ebp - 0x5c], 7
xor eax, eax
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e7e3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004059e0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x58]
call fcn.00420df0
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40e84a
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e840
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9bc
push edx
push ecx
call fcn.0042ec84
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push eax
push 0x4768a4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004059e0
mov edx, dword [0x49606c]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 6
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e890
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.004059e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x58]
call fcn.00420c10
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x40e8fb
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e8f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9c1
push edx
push ecx
call fcn.0042ec84
add esp, 8
mov dword [ebx], 0
call fcn.00404600
mov ecx, eax
test ecx, ecx
je 0x40e9c6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x78], 1
je 0x40e942
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
push dword [0x496078]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004350e0
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e978
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e96e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e9d0
push edx
push ecx
call fcn.0042ec84
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00420480
mov eax, ebx
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.0042ef2c
mov esp, ebp
pop ebp
ret
call fcn.00439bd8
call fcn.00439bd8
call fcn.00439bd8
call fcn.00439bd8
push 0x80004005
call fcn.00404370
call fcn.00439bd8
int3