Function at 0x410a3b
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 0x410a74
push str.__stat
push eax
call fcn.0041540e
pop ecx
pop ecx
mov cl, 1
test eax, eax
jne 0x410a76
mov cl, bl
call fcn.0040511e
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.00405a9e
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.0040111c
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.00410f59
cmp dword [eax + 0x14], esi
jb 0x410b08
mov eax, dword [eax]
push eax
push str.Downloader_HostUrl:__s_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
lea ecx, [esp + 0x24]
push ebx
push 1
call fcn.00408587
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x88]
call fcn.004063ec
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.0040111c
add esp, 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0040ac30
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x84]
call fcn.00404494
cmp dword [esp + 0x14], ebx
jne 0x410c35
lea ecx, [esp + 0x24]
call fcn.004108dc
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.0040111c
add esp, 0xc
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.00404069
push ecx
push ecx
mov ecx, esp
lea eax, [esp + 0x24]
push ecx
push eax
lea esi, [esp + 0x20]
call fcn.00410f96
lea ecx, [esp + 0xa4]
call fcn.004041bb
pop ecx
pop ecx
mov edx, esi
mov ecx, eax
call fcn.00404494
push ebx
push 1
lea ecx, [esp + 0xa4]
call fcn.00408587
lea ecx, [esp + 0x1c]
call fcn.00405e0c
push ebx
push 1
lea ecx, [esp + 0x2c]
call fcn.00408587
cmp dword [esp + 0x14], ebx
jne 0x410c35
push str.Invalid_parameters_n
push dword [0x44e198]
call fcn.0040111c
pop ecx
pop ecx
push 2
pop ebx
jmp 0x410dcf
and dword [esp + 0x64], ebx
lea ecx, [esp + 0x24]
push str.noaction
mov dword [esp + 0x6c], edi
mov byte [esp + 0x58], bl
call fcn.004063ec
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040b4a1
mov esi, eax
cmp esi, edi
je 0x410c79
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040849d
test al, al
je 0x410c7b
mov esi, edi
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00408587
lea ecx, [esp + 0x24]
cmp esi, edi
je 0x410d0c
push str.partner
call fcn.004063ec
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.00405ffd
push 0
push 1
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00408587
cmp dword [esi + 0x10], ebx
je 0x410d04
mov edi, str.noaction_p
push edi
call fcn.004013d1
pop ecx
push eax
push edi
lea ecx, [esp + 0x5c]
call fcn.00408b70
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0040641d
lea ecx, [esp + 0xb4]
call fcn.004119c4
add esp, 0x18
lea ecx, [esp + 0x54]
push 0xffffffffffffffff
push 0
push eax
call fcn.00408d82
lea ecx, [esp + 0x9c]
jmp 0x410d7a
xor ebx, ebx
inc ebx
jmp 0x410d90
push str.stat
call fcn.004063ec
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.0040b4a1
mov esi, eax
cmp esi, edi
je 0x410d40
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040849d
test al, al
je 0x410d42
mov esi, edi
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.00408587
cmp esi, edi
je 0x410d85
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x14]
lea ecx, [esp + 0xb8]
call fcn.004105d5
pop ecx
push eax
lea ecx, [esp + 0x58]
call fcn.0040644f
lea ecx, [esp + 0xb4]
push 0
push 1
call fcn.00408a28
jmp 0x410d90
lea ecx, [esp + 0x10]
call fcn.004053f6
mov ebx, eax
cmp dword [esp + 0x64], 0
je 0x410da2
lea ecx, [esp + 0x54]
call fcn.004111f4
mov ebx, eax
push ebx
push str.stat_res:__d_n
push dword [0x44e198]
call fcn.0040111c
add esp, 0xc
push dword [0x44e198]
call fcn.004195df
pop ecx
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00408a28
lea ecx, [esp + 0x10]
call fcn.00405e0c
push 0
push 1
lea ecx, [esp + 0x8c]
call fcn.00408587
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00408a28
push 0
push 1
lea ecx, [esp + 0x74]
call fcn.00408587
mov ecx, dword [esp + 0xcc]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00413cb5
mov esp, ebp
pop ebp
ret 0x10