Function at 0x404c50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c506
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x440068]
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 esi, ecx
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x404e37
xor ebx, ebx
cmp dword [ebp - 0x24c], ebx
jle 0x404e37
nop dword [eax]
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x230], ax
mov eax, edx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404cf5
sub eax, esi
lea ecx, [ebp - 0x230]
sar eax, 1
push eax
push edx
call fcn.00404280
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
push 9
xor eax, eax
mov dword [ebp - 0x238], 0
push 0x43a5e0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.00404280
mov byte [ebp - 4], 1
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x230]
mov edi, dword [ebp - 0x248]
push dword [ebp - 0x238]
mov esi, dword [ebp - 0x230]
cmovae eax, edi
cmp dword [ebp - 0x21c], 8
mov edx, dword [ebp - 0x220]
cmovae ecx, esi
push eax
push ecx
call fcn.00404510
mov ecx, eax
add esp, 0xc
cmp ecx, 0xffffffff
jne 0x404ebc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x404ddc
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404dcc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f90
push ecx
push edi
call fcn.004152ff
mov esi, dword [ebp - 0x230]
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x404e1d
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x404e13
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f90
push ecx
push esi
call fcn.004152ff
add esp, 8
inc ebx
cmp ebx, dword [ebp - 0x24c]
jge 0x404e31
mov eax, dword [ebp - 0x250]
jmp 0x404cd0
mov esi, dword [ebp - 0x254]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00417b20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x218]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e80
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404280
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.00415024
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x254]
xor eax, eax
mov edx, dword [ebp - 0x238]
add edx, ecx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov eax, dword [ebp - 0x220]
cmp eax, edx
jb 0x404f8b
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, esi
push ecx
mov ecx, ebx
lea eax, [eax + edx*2]
push eax
call fcn.00404280
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x404f48
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x404f3e
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f90
push ecx
push edi
call fcn.004152ff
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x404f84
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404f7a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404f95
push edx
push ecx
call fcn.004152ff
add esp, 8
mov eax, ebx
jmp 0x404ea0
call fcn.00405d00
call fcn.0041b091
call fcn.0041b091
int3