Function at 0x4a6a20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x63434c]
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, ecx
mov dword [ebp - 0x15c], ebx
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
push dword [esi + 4]
push ebx
call fcn.004a0f60
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
lea esi, [ebx + 0x14]
mov dword [ebx + 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4a6a80
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
mov dword [ebp - 0x160], ecx
test edi, edi
jne 0x4a6a9e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [ebp - 0x160]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov bl, byte [ebp + 0xc]
mov ecx, eax
mov dword [ebp - 0x164], ecx
test bl, bl
je 0x4a6ae0
mov ecx, dword [ecx]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a6ac2
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.0042e2d0
mov ecx, dword [ebp - 0x164]
movzx eax, bl
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x160]
jge 0x4a6f16
mov ebx, dword [ebp - 0x15c]
jmp 0x4a6b00
mov edx, dword [ecx + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4a6b14
cmp eax, 0x2d
je 0x4a6b14
xor al, al
jmp 0x4a6b16
mov al, 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
test al, al
je 0x4a6e43
add edx, 2
xor eax, eax
mov ecx, edx
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6b41
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e2d0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov edi, dword [ebp - 0x18]
cmovae esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], edi
test edi, edi
je 0x4a6be9
push 0x100
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.0055c530
add esp, 0xc
mov ecx, 0x5c3bf8
mov edx, 0x100
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x4a6c67
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x158], 1
cmp ecx, 0x5c3bfc
jne 0x4a6ba0
lea ecx, [esi + edi*2]
mov ebx, esi
cmp esi, ecx
jae 0x4a6be9
jmp 0x4a6bd0
movzx eax, word [ebx]
cmp ax, dx
jae 0x4a6be2
cmp byte [ebp + eax - 0x158], 0
jne 0x4a6c61
add ebx, 2
cmp ebx, ecx
jb 0x4a6bd0
or ebx, 0xffffffff
xor eax, eax
cmp ebx, 0xffffffff
je 0x4a6dcd
lea edx, [ebx + 1]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edi, edx
jb 0x4a6f47
sub edi, edx
lea eax, [ebp - 0x28]
or ecx, 0xffffffff
cmp edi, 0xffffffff
cmovb ecx, edi
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x16c], ecx
cmovae eax, dword [ebp - 0x28]
lea eax, [eax + edx*2]
mov dword [ebp - 0x168], eax
cmp ecx, 7
ja 0x4a6cc5
lea esi, [ecx + ecx]
mov dword [ebp - 0x48], ecx
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0055bfb0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x58], ax
jmp 0x4a6d26
sub ebx, esi
sar ebx, 1
jmp 0x4a6bec
lea edi, [esi + edi*2]
mov ebx, esi
cmp esi, edi
jae 0x4a6ca4
movzx esi, word [ebx]
mov ecx, 0x3d
mov eax, 2
mov edx, 0x5c3bf8
cmp cx, si
je 0x4a6cb2
cmp eax, 1
je 0x4a6c9d
movzx ecx, word [edx + 2]
add edx, 2
dec eax
cmp cx, si
jne 0x4a6c87
test edx, edx
jne 0x4a6cb2
add ebx, 2
cmp ebx, edi
jb 0x4a6c70
mov edi, dword [ebp - 0x16c]
or ebx, 0xffffffff
jmp 0x4a6bec
sub ebx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x16c]
sar ebx, 1
jmp 0x4a6bec
cmp ecx, 0x7ffffffe
ja 0x4a6f42
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4a6ce5
mov esi, 0x7ffffffe
jmp 0x4a6cf0
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042e270
mov edi, eax
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x48], eax
lea esi, [eax + eax]
push esi
push dword [ebp - 0x168]
push edi
call fcn.0055bfb0
add esp, 0xc
mov dword [ebp - 0x58], edi
xor eax, eax
mov word [esi + edi], ax
xor eax, eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovb ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.0042e2d0
mov ebx, dword [ebp - 0x15c]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.004a6670
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4a6db8
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6dae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f4c
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a6eb9
mov ecx, dword [ebp - 0x58]
jmp 0x4a6e12
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ebx, dword [ebp - 0x15c]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.004a6670
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a6eb9
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6e37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f4c
push edx
push ecx
call fcn.00558004
add esp, 8
jmp 0x4a6eb9
mov ecx, edx
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6e50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e2d0
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], 4
cmp ecx, dword [ebx + 0x10]
je 0x4a6eac
mov eax, dword [ebp - 0x28]
mov edx, 7
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
xor eax, eax
add dword [ebx + 0xc], 0x18
mov word [ebp - 0x28], ax
jmp 0x4a6ebc
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebx + 8]
call fcn.0043f410
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4a6ef6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6eec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f4c
push edx
push ecx
call fcn.00558004
add esp, 8
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x160]
jge 0x4a6f16
mov ecx, dword [ebp - 0x164]
jmp 0x4a6b00
push dword [ebp - 0x164]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
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.00557e89
mov esp, ebp
pop ebp
ret 8
call fcn.0042e200
call fcn.0043fdd0
call fcn.00566a14
int3