Function at 0x41010c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x44c084]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
push edi
test eax, eax
je 0x410145
push str.__stat
push eax
call fcn.00414ade
pop ecx
pop ecx
mov cl, 1
test eax, eax
jne 0x410147
mov cl, bl
call fcn.00404854
push 0xf
xor eax, eax
mov dword [esp + 0x84], 7
pop edi
lea edx, [esp + 0x3c]
mov dword [esp + 0x7c], ebx
lea ecx, [esp + 0x6c]
mov word [esp + 0x6c], ax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.004051cf
push 8
pop esi
cmp dword [esp + 0x80], esi
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
push str.Downloader_filename:__s_n
push dword [0x44e198]
call fcn.0040116c
cmp dword [esp + 0x5c], 0x10
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x58]
cmovae ecx, dword [esp + 0x48]
add eax, ecx
cmp dword [esp + 0x5c], 0x10
lea ecx, [esp + 0x48]
cmovae ecx, dword [esp + 0x48]
add esp, 8
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0041062a
cmp dword [eax + 0x14], esi
jb 0x4101d9
mov eax, dword [eax]
push eax
push str.Downloader_HostUrl:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
lea ecx, [esp + 0x24]
push ebx
push 1
call fcn.00407cbb
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x88]
call fcn.00405b1d
cmp dword [esp + 0x98], esi
lea eax, [esp + 0x84]
cmovae eax, dword [esp + 0x84]
push eax
push str.Command_line:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0040a364
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x84]
call fcn.00403bc7
cmp dword [esp + 0x14], ebx
jne 0x410306
lea ecx, [esp + 0x24]
call fcn.0040ffad
cmp dword [esp + 0x38], esi
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
push eax
push str.Tags_found:__s_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.0040379c
push ecx
push ecx
mov ecx, esp
lea eax, [esp + 0x24]
push ecx
push eax
lea esi, [esp + 0x20]
call fcn.00410667
lea ecx, [esp + 0xa4]
call fcn.004038ee
pop ecx
pop ecx
mov edx, esi
mov ecx, eax
call fcn.00403bc7
push ebx
push 1
lea ecx, [esp + 0xa4]
call fcn.00407cbb
lea ecx, [esp + 0x1c]
call fcn.0040553d
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00407cbb
cmp dword [esp + 0x14], ebx
jne 0x410306
push str.Invalid_parameters_n
push dword [0x44e198]
call fcn.0040116c
pop ecx
pop ecx
push 2
pop ebx
jmp 0x4104a0
and dword [esp + 0x64], ebx
lea ecx, [esp + 0x24]
push str.noaction
mov dword [esp + 0x6c], edi
mov byte [esp + 0x58], bl
call fcn.00405b1d
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040ab72
mov esi, eax
cmp esi, edi
je 0x41034a
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00407bd1
test al, al
je 0x41034c
mov esi, edi
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00407cbb
lea ecx, [esp + 0x24]
cmp esi, edi
je 0x4103dd
push str.partner
call fcn.00405b1d
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040572e
push 0
push 1
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00407cbb
cmp dword [esi + 0x10], ebx
je 0x4103d5
mov edi, str.noaction_p
push edi
call fcn.00401421
pop ecx
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.004082a4
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00405b4e
lea ecx, [esp + 0xb4]
call fcn.00411095
add esp, 0x18
lea ecx, [esp + 0x54]
push 0xffffffffffffffff
push 0
push eax
call fcn.004084b6
lea ecx, [esp + 0x9c]
jmp 0x41044b
xor ebx, ebx
inc ebx
jmp 0x410461
push str.stat
call fcn.00405b1d
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040ab72
mov esi, eax
cmp esi, edi
je 0x410411
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00407bd1
test al, al
je 0x410413
mov esi, edi
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00407cbb
cmp esi, edi
je 0x410456
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0xb8]
call fcn.0040fca6
pop ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00405b80
lea ecx, [esp + 0xb4]
push 0
push 1
call fcn.0040815c
jmp 0x410461
lea ecx, [esp + 0x10]
call fcn.00404b27
mov ebx, eax
cmp dword [esp + 0x64], 0
je 0x410473
lea ecx, [esp + 0x54]
call fcn.004108c5
mov ebx, eax
push ebx
push str.stat_res:__d_n
push dword [0x44e198]
call fcn.0040116c
add esp, 0xc
push dword [0x44e198]
call fcn.00418caf
pop ecx
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.0040815c
lea ecx, [esp + 0x10]
call fcn.0040553d
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.00407cbb
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.0040815c
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.00407cbb
mov ecx, dword [esp + 0xcc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00413365
mov esp, ebp
pop ebp
ret 0x10