Function at 0x40a610
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48759b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4af3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1c], 7
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
cmp word [edx], ax
jne 0x40a65f
xor ecx, ecx
jmp 0x40a673
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a664
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00402360
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x84]
xorps xmm0, xmm0
cmovae edx, dword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
call fcn.0040c500
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push eax
call fcn.0040e030
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x84]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.00402b80
push dword [ebp - 0x84]
call fcn.00444d00
add esp, 4
mov dword [ebp - 0x34], 7
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
push 0xc
push str._downloadurl
call fcn.00402360
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040dfb0
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x40a72a
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004024c0
test bl, bl
je 0x40a836
xor eax, eax
mov dword [ebp - 0x68], 7
push eax
push 0x4a59b0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
call fcn.00402360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
push 0xc
xor eax, eax
mov dword [ebp - 0x34], 7
push str._downloadurl
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00402360
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040def0
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 8
jb 0x40a79e
mov edx, dword [edx]
cmp word [edx], 0
jne 0x40a7a8
xor ecx, ecx
jmp 0x40a7bf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a7b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x4b24e0
call fcn.00402360
mov eax, dword [ebp - 0x50]
cmp eax, 8
jb 0x40a7e0
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], 0
cmp eax, 8
jb 0x40a809
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004024c0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x40a836
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004024c0
push 8
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x4a6330
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00402360
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040dfb0
cmp dword [eax], esi
mov eax, dword [ebp - 0x34]
setne bl
cmp eax, 8
jb 0x40a886
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004024c0
test bl, bl
je 0x40a99c
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x4a59b0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.00402360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
push 8
xor eax, eax
mov dword [ebp - 0x34], 7
push 0x4a6330
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.00402360
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040def0
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x40a8fa
mov edx, dword [edx]
cmp word [edx], 0
jne 0x40a904
xor ecx, ecx
jmp 0x40a91f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40a910
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, 0x4b2534
call fcn.00402360
mov ecx, 0x4b24c8
call fcn.0040b080
mov eax, dword [ebp - 0x68]
cmp eax, 8
jb 0x40a94a
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], 0
cmp eax, 8
jb 0x40a973
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.004024c0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], 0
cmp eax, 8
jb 0x40a99c
inc eax
lea ecx, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
call fcn.004024c0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push eax
push dword [eax]
lea eax, [ebp - 0x4c]
push eax
call fcn.00402b80
push dword [ebp - 0x18]
call fcn.00444d00
mov eax, dword [ebp - 0x1c]
add esp, 4
cmp eax, 8
jb 0x40a9ce
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004024c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046756e
mov esp, ebp
pop ebp
ret