Function at 0x4a7390
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a73fd
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x639354]
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.004a18c0
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 0x4a73f0
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 0x4a740e
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 0x4a7450
mov ecx, dword [ecx]
mov edx, ecx
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4a7432
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, esi
call fcn.0042e330
mov ecx, dword [ebp - 0x164]
movzx eax, bl
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x160]
jge 0x4a7886
mov ebx, dword [ebp - 0x15c]
jmp 0x4a7470
mov edx, dword [ecx + eax*4]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4a7484
cmp eax, 0x2d
je 0x4a7484
xor al, al
jmp 0x4a7486
mov al, 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
test al, al
je 0x4a77b3
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 0x4a74b1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e330
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 0x4a7559
push 0x100
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00560a80
add esp, 0xc
mov ecx, 0x5c8be8
mov edx, 0x100
nop
movzx eax, word [ecx]
cmp ax, dx
jae 0x4a75d7
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x158], 1
cmp ecx, 0x5c8bec
jne 0x4a7510
lea ecx, [esi + edi*2]
mov ebx, esi
cmp esi, ecx
jae 0x4a7559
jmp 0x4a7540
movzx eax, word [ebx]
cmp ax, dx
jae 0x4a7552
cmp byte [ebp + eax - 0x158], 0
jne 0x4a75d1
add ebx, 2
cmp ebx, ecx
jb 0x4a7540
or ebx, 0xffffffff
xor eax, eax
cmp ebx, 0xffffffff
je 0x4a773d
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 0x4a78b7
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 0x4a7635
lea esi, [ecx + ecx]
mov dword [ebp - 0x48], ecx
push esi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00560500
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x58], ax
jmp 0x4a7696
sub ebx, esi
sar ebx, 1
jmp 0x4a755c
lea edi, [esi + edi*2]
mov ebx, esi
cmp esi, edi
jae 0x4a7614
movzx esi, word [ebx]
mov ecx, 0x3d
mov eax, 2
mov edx, 0x5c8be8
cmp cx, si
je 0x4a7622
cmp eax, 1
je 0x4a760d
movzx ecx, word [edx + 2]
add edx, 2
dec eax
cmp cx, si
jne 0x4a75f7
test edx, edx
jne 0x4a7622
add ebx, 2
cmp ebx, edi
jb 0x4a75e0
mov edi, dword [ebp - 0x16c]
or ebx, 0xffffffff
jmp 0x4a755c
sub ebx, dword [ebp - 0x168]
mov edi, dword [ebp - 0x16c]
sar ebx, 1
jmp 0x4a755c
cmp ecx, 0x7ffffffe
ja 0x4a78b2
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4a7655
mov esi, 0x7ffffffe
jmp 0x4a7660
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x58]
call fcn.0042e2d0
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.00560500
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.0042e330
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.004a6fe0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x4a7728
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a771e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a78bc
push edx
push ecx
call fcn.0055c524
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a7829
mov ecx, dword [ebp - 0x58]
jmp 0x4a7782
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.004a6fe0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a7829
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a77a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a78bc
push edx
push ecx
call fcn.0055c524
add esp, 8
jmp 0x4a7829
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 0x4a77c0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042e330
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], 4
cmp ecx, dword [ebx + 0x10]
je 0x4a781c
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 0x4a782c
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebx + 8]
call fcn.0043ef50
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4a7866
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a785c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a78bc
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp eax, dword [ebp - 0x160]
jge 0x4a7886
mov ecx, dword [ebp - 0x164]
jmp 0x4a7470
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.0055c3a9
mov esp, ebp
pop ebp
ret 8
call fcn.0042e260
call fcn.0043f910
call fcn.0056af64
int3