Function at 0x4a2628
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4a2631
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4a264b
add esp, 0xfffffff0
call fcn.004058e4
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a29f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0049fb00
mov al, byte [0x4a2a1c]
mov byte [ebp - 0xd], al
mov byte [ebp - 0x1d], 0
lea eax, [ebp - 0x1d]
push eax
mov ecx, 0x4a2a20
mov eax, 0x5df90c
mov edx, 0x20
call fcn.0049e4e8
mov dword [0x5df908], eax
mov eax, dword [ebp - 4]
call fcn.0049fcd8
test al, al
jne 0x4a29c9
call sub.kernel32.dll_GetCommandLineW_1
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00407bac
lea edx, [ebp - 0x24]
mov eax, dword [0x55606c]
call fcn.0040a92c
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a285e
lea edx, [ebp - 0x28]
mov eax, dword [0x55606c]
call fcn.0040a92c
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [0x556c64]
call fcn.0040a92c
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.00407d58
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
setg al
xor al, 1
mov byte [ebp - 0xe], al
lea edx, [ebp - 0x30]
mov eax, dword [0x556a30]
call fcn.0040a92c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a277d
lea edx, [ebp - 0x34]
mov eax, dword [0x556a30]
call fcn.0040a92c
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x556c64]
call fcn.0040a92c
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00407d58
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a2772
mov al, byte [0x4a2a70]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a277d
mov al, byte [0x4a2a74]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x3c]
mov eax, dword [0x5561a4]
call fcn.0040a92c
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a282e
lea edx, [ebp - 0x40]
mov eax, dword [0x5561a4]
call fcn.0040a92c
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x556908]
call fcn.0040a92c
mov edx, dword [ebp - 0x44]
pop eax
call fcn.00407d58
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a27e0
mov al, byte [0x4a2a78]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a282e
lea edx, [ebp - 0x48]
mov eax, dword [0x5561a4]
call fcn.0040a92c
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [0x556c64]
call fcn.0040a92c
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.00407d58
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a2823
mov al, byte [0x4a2a7c]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a282e
mov al, byte [0x4a2a80]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x50]
mov eax, dword [0x555f08]
call fcn.0040a92c
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x14]
call fcn.004080cc
test eax, eax
jle 0x4a29a9
mov al, byte [0x4a2a84]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a29a9
cmp byte [ebp - 0x1d], 0
je 0x4a299f
lea edx, [ebp - 0x54]
mov eax, dword [0x556214]
call fcn.0040a92c
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x18]
mov edx, dword [0x5df900]
call fcn.00407db0
xor eax, eax
push ebp
push 0x4a2993
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x461258]
call fcn.00461614
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a2982
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x58]
mov eax, dword [0x55606c]
call fcn.0040a92c
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, dword [0x5565dc]
call fcn.0040a92c
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 [0x556a30]
call fcn.0040a92c
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, dword [0x5565dc]
call fcn.0040a92c
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4a2920
mov al, byte [0x4a2a74]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
jmp 0x4a292b
mov al, byte [0x4a2a70]
or al, byte [ebp - 0xd]
mov byte [ebp - 0xd], al
push 4
lea edx, [ebp - 0x68]
mov eax, dword [0x5561a4]
call fcn.0040a92c
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [0x5565dc]
call fcn.0040a92c
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.00404fc0
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 0x4a2989
mov eax, dword [ebp - 0x1c]
call fcn.004052ec
ret
mov eax, dword [0x5df908]
mov eax, dword [eax]
mov byte [ebp - 0xe], al
mov al, byte [ebp - 0xe]
and al, byte [ebp - 0x1d]
je 0x4a29bb
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.004a2c2c
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xe]
mov eax, dword [ebp - 4]
call fcn.004a334c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a29f8
lea eax, [ebp - 0x6c]
mov edx, 0x13
call fcn.0040705c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040705c
ret