Function at 0x476c63
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x4a3ccc
call fcn.0049e6bc
sub esp, 0x78
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
call esi
push eax
lea ecx, [ebp - 0x80]
call fcn.0041eeaf
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call esi
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x476df0
xor esi, esi
cmp dword [ebp - 0x14], esi
jle 0x476df0
lea eax, [edi + 8]
mov edi, eax
and dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
and dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push dword [ebx + esi*4]
call fcn.0041eeaf
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042f725
push 0x4e4bac
call fcn.00438238
pop ecx
push eax
push 0
push 0x4e4bac
lea ecx, [ebp - 0x38]
call fcn.0042207e
test eax, eax
jne 0x476d6e
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
add eax, 0xfffffff9
push eax
push 7
lea eax, [ebp - 0x68]
push eax
call fcn.00424dd5
push eax
lea ecx, [ebp - 0x38]
call fcn.0041eed4
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.0041f6b8
cmp dword [ebp - 0x28], 0
jbe 0x476d6e
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
push eax
call fcn.0041ee74
lea ecx, [ebp - 0x68]
call fcn.0045c2d5
add esp, 0x18
lea ecx, [ebp - 0x38]
push eax
call fcn.0041eed4
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.0041f6b8
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00424f82
lea ecx, [ebp - 0x38]
cmp eax, ecx
je 0x476d8c
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0041ef03
sub esp, 0x18
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0041ee74
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.0041ee74
mov byte [ebp - 4], 4
call fcn.0041e77e
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x38]
call fcn.00468d56
push 0
lea ecx, [ebp - 0x38]
push 1
call fcn.0041f6b8
push 0
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0041f6b8
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x476cb4
mov edi, dword [ebp - 0x1c]
mov ecx, edi
call fcn.00476b4b
test al, al
je 0x476e8c
call fcn.0041e77e
and dword [ebp - 0x40], 0
mov esi, 0x4e4bbc
push esi
mov dword [ebp - 0x3c], 7
mov eax, dword [eax + 0x38]
mov dword [eax + 0x38], 2
xor eax, eax
mov word [ebp - 0x50], ax
call fcn.00438238
pop ecx
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.0041fba8
sub esp, 0x18
mov byte [ebp - 4], 5
mov ecx, esp
lea esi, [ebp - 0x50]
call fcn.0045a7d1
mov edx, esi
lea ecx, [ebp - 0x68]
call fcn.0045972a
add esp, 0x18
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.0041f6b8
mov esi, 0x4e4bdc
push esi
call fcn.00438238
pop ecx
push eax
push esi
push dword [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00420b14
push 0
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
call fcn.0041f6b8
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.0041e77e
push 0x4e4bf0
mov ecx, dword [eax + 0x38]
add ecx, 0x3c
call fcn.00420ac5
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.0041e77e
push 0
push 1
mov ecx, dword [eax + 0x38]
mov byte [ecx + 0x10], bl
lea ecx, [ebp - 0x80]
call fcn.0041f6b8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret