Function at 0x422b90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b3fc
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x462078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x422bdd
push str.__stat
push eax
call fcn.00429c4a
add esp, 8
mov byte [ebp - 0xbc], 1
test eax, eax
jne 0x422be4
mov byte [ebp - 0xbc], 0
push dword [ebp - 0xbc]
call fcn.00413490
xor eax, eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
push eax
mov dword [ebp - 0x44], 0xf
call fcn.00412110
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
push str.Downloader_filename:__s_n
push dword [0x4636d8]
call fcn.0041f170
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x58]
add esp, 0x18
lea edx, [ebp - 0xc5]
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
add eax, ecx
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
push edx
cmovae ecx, dword [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421d30
cmp dword [eax + 0x14], 8
jb 0x422c85
mov eax, dword [eax]
push eax
push str.Downloader_HostUrl:__s_n
push dword [0x4636d8]
call fcn.0041f170
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x422cae
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401d50
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x74], 7
xor eax, eax
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp word [edx], ax
jne 0x422cd6
xor ecx, ecx
jmp 0x422cef
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422ce0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00405110
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push str.Command_line:__s_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 0xc
mov dword [ebp - 0xc4], 0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc0], 0
call fcn.00416930
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00413800
add esp, 8
cmp dword [ebp - 0xc0], 0
jne 0x422e5c
lea eax, [ebp - 0x28]
push eax
call fcn.004226b0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.Tags_found:__s_n
push dword [0x4636d8]
call fcn.0041f170
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.004144c0
add esp, 0x18
lea eax, [ebp - 0xc4]
push eax
sub esp, 8
lea eax, [ebp - 0xc5]
mov ecx, esp
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00421ca0
lea eax, [ebp - 0x70]
push eax
call fcn.00414c20
add esp, 0xc
push eax
call fcn.00413800
mov eax, dword [ebp - 0x5c]
add esp, 8
cmp eax, 8
jb 0x422dea
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00401d50
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
push eax
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0xbc]
push eax
call fcn.0041bac0
push dword [ebp - 0xd0]
call fcn.00426885
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x422e36
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401d50
cmp dword [ebp - 0xc0], 0
jne 0x422e5c
push str.Invalid_parameters_n
push dword [0x4636d8]
call fcn.0041f170
add esp, 8
mov esi, 2
jmp 0x4230b9
push 7
xor eax, eax
mov dword [ebp - 0x14], 7
xor esi, esi
mov word [ebp - 0x28], ax
push str.partner
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], esi
call fcn.00405110
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xc4]
call fcn.0040e160
mov eax, dword [ebp - 0xd0]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0x28
mov word [ebp - 0xa0], cx
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], esi
call fcn.00403ae0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x422ed9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00401d50
push str.noaction
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x40], 0
call fcn.00409490
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00422970
lea ecx, [ebp - 0x70]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
setne bl
call fcn.004014f0
test bl, bl
je 0x422f77
cmp dword [ebp - 0x90], esi
je 0x422f6d
push str.noaction_p
lea ecx, [ebp - 0x40]
call fcn.004228c0
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.00422020
lea eax, [ebp - 0x70]
push eax
call fcn.00424390
add esp, 0x1c
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
push eax
call fcn.0041ad40
lea ecx, [ebp - 0x70]
call fcn.00410030
jmp 0x423054
mov esi, 1
jmp 0x423054
push str.stat
lea ecx, [ebp - 0x70]
call fcn.00409490
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00422970
lea ecx, [ebp - 0x70]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc4]
setne bl
call fcn.004014f0
test bl, bl
je 0x422fdb
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00422110
add esp, 0xc
lea ecx, [ebp - 0x40]
push eax
call fcn.00422840
lea ecx, [ebp - 0x70]
call fcn.00410030
jmp 0x423054
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0040a7d0
add esp, 8
test al, al
je 0x423008
lea eax, [ebp - 0xc4]
push eax
call fcn.004115c0
add esp, 4
mov esi, eax
jmp 0x423054
cmp dword [ebp - 0x90], esi
je 0x42304f
push str.declined_p
lea ecx, [ebp - 0x40]
call fcn.004228c0
sub esp, 0x18
lea eax, [ebp - 0xa0]
mov ecx, esp
push eax
call fcn.00422020
lea eax, [ebp - 0x70]
push eax
call fcn.00424390
add esp, 0x1c
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0
push eax
call fcn.0041ad40
lea ecx, [ebp - 0x70]
call fcn.00410030
mov esi, 3
cmp dword [ebp - 0x30], 0
je 0x423068
lea eax, [ebp - 0x40]
push eax
call fcn.00423350
add esp, 4
mov esi, eax
push esi
push str.stat_res:__d_n
push dword [0x4636d8]
call fcn.0041f170
push dword [0x4636d8]
call fcn.00430bd2
mov eax, dword [ebp - 0x2c]
add esp, 0x10
cmp eax, 0x10
jb 0x42309c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0041b4a0
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.004014f0
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push eax
mov dword [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0xbc]
push eax
call fcn.0041bac0
push 0x40
push 1
push dword [ebp - 0xc4]
call fcn.00417350
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp eax, 8
jb 0x423108
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00401d50
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x78], 0
cmp eax, 0x10
jb 0x423134
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0041b4a0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.004014f0
mov eax, esi
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.00426898
mov esp, ebp
pop ebp
ret 0x10