Function at 0x4a5e08
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4a5e11
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4a5e2b
add esp, 0xfffffff0
call fcn.004058b0
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a61d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a31c4
mov al, byte [0x4a61fc]
mov byte [ebp - 0xd], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
mov ecx, 0x4a6200
mov eax, 0x547904
mov edx, 0x20
call fcn.0049571c
mov dword [0x547900], eax
mov eax, dword [ebp - 4]
call fcn.004a339c
test al, al
jne 0x4a61a9
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00407c4c
lea edx, [ebp - 0x24]
mov eax, dword [0x4bd988]
call fcn.0040aa88
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a603e
lea edx, [ebp - 0x28]
mov eax, dword [0x4bd988]
call fcn.0040aa88
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x4be064]
call fcn.0040aa88
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00407df8
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
setg al
xor al, 1
mov byte [ebp - 0xe], al
lea edx, [ebp - 0x30]
mov eax, dword [0x4bdf1c]
call fcn.0040aa88
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a5f5d
lea edx, [ebp - 0x34]
mov eax, dword [0x4bdf1c]
call fcn.0040aa88
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x4be064]
call fcn.0040aa88
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00407df8
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a5f52
mov al, byte [0x4a6250]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a5f5d
mov al, byte [0x4a6254]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x3c]
mov eax, dword [0x4bda38]
call fcn.0040aa88
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a600e
lea edx, [ebp - 0x40]
mov eax, dword [0x4bda38]
call fcn.0040aa88
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x4bde84]
call fcn.0040aa88
mov edx, dword [ebp - 0x44]
pop eax
call fcn.00407df8
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a5fc0
mov al, byte [0x4a6258]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a600e
lea edx, [ebp - 0x48]
mov eax, dword [0x4bda38]
call fcn.0040aa88
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [0x4be064]
call fcn.0040aa88
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.00407df8
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a6003
mov al, byte [0x4a625c]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a600e
mov al, byte [0x4a6260]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x50]
mov eax, dword [0x4bd8c4]
call fcn.0040aa88
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
call fcn.0040816c
test eax, eax
jle 0x4a6189
mov al, byte [0x4a6264]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a6189
cmp byte [ebp - 0x1d], 0
je 0x4a617f
lea edx, [ebp - 0x54]
mov eax, dword [0x4bda84]
call fcn.0040aa88
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, dword [0x5478f8]
call fcn.00407e50
xor eax, eax
push ebp
push 0x4a6173
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x455d90]
call fcn.0045614c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a6162
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x4bd988]
call fcn.0040aa88
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x4bdcac]
call fcn.0040aa88
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 [0x4bdf1c]
call fcn.0040aa88
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x4bdcac]
call fcn.0040aa88
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4a6100
mov al, byte [0x4a6254]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a610b
mov al, byte [0x4a6250]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
push 4
lea edx, [ebp - 0x68]
mov eax, dword [0x4bda38]
call fcn.0040aa88
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x4bdcac]
call fcn.0040aa88
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.00404f8c
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 0x4a6169
mov eax, dword [ebp - 0x1c]
call fcn.004052b8
ret
mov eax, dword [0x547900]
mov eax, dword [eax]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xe]
and al, byte [ebp - 0x1d]
je 0x4a619b
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a640c
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xe]
mov eax, dword [ebp - 4]
call fcn.004a6b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a61d8
lea eax, [ebp - 0x6c]
mov edx, 0x13
call fcn.00407074
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407074
ret