Function at 0x4a6be0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x5c4680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
lea eax, [ebp - 0x70]
push eax
call fcn.004035c0
add esp, 4
mov dword [ebp - 4], 0
push 1
push 0x581048
lea ecx, [ebp - 0xd8]
call fcn.004a4bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.004a4d20
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.004a3f80
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x4a6cbd
lea ecx, [ebp - 0x110]
call fcn.004ac110
cmp eax, 1
jbe 0x4a6cbd
lea edx, [ebp - 0x88]
push edx
push 1
lea ecx, [ebp - 0x110]
call fcn.004a5340
mov ecx, eax
call fcn.004a53b0
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x34
call fcn.00407da0
lea ecx, [ebp - 0x88]
call fcn.00403c70
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xac]
call fcn.004045e0
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push ecx
call fcn.0048e5d0
add esp, 4
lea edx, [ebp - 0x58]
push edx
call fcn.0048e550
add esp, 0x1c
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], 0
jmp 0x4a6d18
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0xa8]
call fcn.00404a80
cmp dword [ebp - 0x8c], eax
jae 0x4a6dc1
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00497820
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov byte [ebp - 4], 5
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00456440
cmp eax, 0xffffffff
je 0x4a6d71
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00403c70
jmp 0x4a6d09
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00497820
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0x40]
call fcn.00403d10
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x50
call fcn.00484de0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00403c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00403c70
jmp 0x4a6d09
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00421100
mov edx, dword [eax]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0048a5f0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0xa8]
call fcn.0048a140
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004a3c80
add esp, 0x10
mov ecx, dword [ebp - 0x90]
call fcn.004a6770
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00403c70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00404850
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
call fcn.004a5170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00497380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00403c70
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005313f0
mov esp, ebp
pop ebp
ret 0x10