Function at 0x4a4760
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4a4769
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4a4783
add esp, 0xfffffff0
call fcn.00405a54
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a4b29
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a1c60
mov al, byte [0x4a4b54]
mov byte [ebp - 0xd], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
mov ecx, 0x4a4b58
mov eax, 0x64a90c
mov edx, 0x20
call fcn.004a0648
mov dword [0x64a908], eax
mov eax, dword [ebp - 4]
call fcn.004a1e38
test al, al
jne 0x4a4b01
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00407ea4
lea edx, [ebp - 0x24]
mov eax, dword [0x5c0edc]
call fcn.0040ad94
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a4996
lea edx, [ebp - 0x28]
mov eax, dword [0x5c0edc]
call fcn.0040ad94
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x5c1bc4]
call fcn.0040ad94
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00408050
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
setg al
xor al, 1
mov byte [ebp - 0xe], al
lea edx, [ebp - 0x30]
mov eax, dword [0x5c1968]
call fcn.0040ad94
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a48b5
lea edx, [ebp - 0x34]
mov eax, dword [0x5c1968]
call fcn.0040ad94
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x5c1bc4]
call fcn.0040ad94
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00408050
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a48aa
mov al, byte [0x4a4ba8]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a48b5
mov al, byte [0x4a4bac]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x3c]
mov eax, dword [0x5c1024]
call fcn.0040ad94
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a4966
lea edx, [ebp - 0x40]
mov eax, dword [0x5c1024]
call fcn.0040ad94
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x5c1828]
call fcn.0040ad94
mov edx, dword [ebp - 0x44]
pop eax
call fcn.00408050
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a4918
mov al, byte [0x4a4bb0]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a4966
lea edx, [ebp - 0x48]
mov eax, dword [0x5c1024]
call fcn.0040ad94
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [0x5c1bc4]
call fcn.0040ad94
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.00408050
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a495b
mov al, byte [0x4a4bb4]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a4966
mov al, byte [0x4a4bb8]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x50]
mov eax, dword [0x5c0d44]
call fcn.0040ad94
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
call fcn.004083c4
test eax, eax
jle 0x4a4ae1
mov al, byte [0x4a4bbc]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a4ae1
cmp byte [ebp - 0x1d], 0
je 0x4a4ad7
lea edx, [ebp - 0x54]
mov eax, dword [0x5c10a0]
call fcn.0040ad94
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, dword [0x64a900]
call fcn.004080a8
xor eax, eax
push ebp
push 0x4a4acb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4633b8]
call fcn.00463774
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a4aba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x5c0edc]
call fcn.0040ad94
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x5c14d4]
call fcn.0040ad94
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov byte [ebp - 0xe], al
push 0
lea edx, [ebp - 0x60]
mov eax, dword [0x5c1968]
call fcn.0040ad94
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x5c14d4]
call fcn.0040ad94
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4a4a58
mov al, byte [0x4a4bac]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a4a63
mov al, byte [0x4a4ba8]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
push 4
lea edx, [ebp - 0x68]
mov eax, dword [0x5c1024]
call fcn.0040ad94
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x5c14d4]
call fcn.0040ad94
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, eax
lea eax, [ebp - 0x70]
mov cl, 1
call fcn.00405130
mov al, byte [ebp - 0x70]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4ac1
mov eax, dword [ebp - 0x1c]
call fcn.0040545c
ret
mov eax, dword [0x64a908]
mov eax, dword [eax]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xe]
and al, byte [ebp - 0x1d]
je 0x4a4af3
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a4d64
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xe]
mov eax, dword [ebp - 4]
call fcn.004a5484
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4b30
lea eax, [ebp - 0x6c]
mov edx, 0x13
call fcn.004071cc
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004071cc
ret