Function at 0x4a6ba0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abb70
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4bc534]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004485d0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [ebp - 0x58]
call fcn.004014f0
mov dword [ebp - 4], 0
push 0
push 0x4afcb0
lea ecx, [ebp - 0x58]
call fcn.00406af0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x4b1864]
jne 0x4a6c21
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401530
mov eax, dword [ebp - 0x60]
jmp 0x4a6e53
mov ecx, dword [ebp - 0x18]
push ecx
push 0x4afcbc
lea ecx, [ebp - 0x58]
call fcn.00406af0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
call fcn.00403d30
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x4b1864]
jne 0x4a6c98
mov eax, dword [0x4b1864]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xa
push ecx
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x58]
call fcn.00406b20
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00405920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.00401530
jmp 0x4a6cec
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
sub edx, 0xa
push edx
mov eax, dword [ebp - 0x18]
add eax, 0xa
push eax
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00406b20
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00405920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00401530
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x5c], 0
jmp 0x4a6d02
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x3c]
call fcn.00405190
cmp dword [ebp - 0x5c], eax
jae 0x4a6d3f
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00405a40
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x4a6d37
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00405a40
movsx edx, byte [eax]
cmp edx, 0x30
jge 0x4a6d3d
mov byte [ebp - 0x19], 0
jmp 0x4a6d3f
jmp 0x4a6cf9
movzx eax, byte [ebp - 0x19]
test eax, eax
jne 0x4a6d77
mov dword [ebp - 0x9c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401530
mov eax, dword [ebp - 0x9c]
jmp 0x4a6e53
lea ecx, [ebp - 0x3c]
call fcn.00405190
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
jl 0x4a6d8e
cmp dword [ebp - 0x10], 9
jle 0x4a6dbe
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401530
mov eax, dword [ebp - 0xa0]
jmp 0x4a6e53
lea ecx, [ebp - 0x3c]
call fcn.00401550
push eax
call fcn.0040a3e5
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x4a6e0b
mov dword [ebp - 0xa4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401530
mov eax, dword [ebp - 0xa4]
jmp 0x4a6e53
mov dword [ebp - 0xa8], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401530
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401530
mov eax, dword [ebp - 0xa8]
jmp 0x4a6e53
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00408023
mov esp, ebp
pop ebp
ret