Function at 0x414150
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50f47b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x55c4e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi]
push 0
call fcn.00489850
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov eax, dword [eax + 0x5ec]
test eax, eax
jne 0x4142aa
push 1
push 0x53b848
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.00406340
mov dword [esp + 0x80], 0
lea ecx, [esp + 0x14]
push 0x19
xor eax, eax
mov dword [esp + 0x2c], 7
push str.DownloadSlowUserCancel3.0
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00406340
mov byte [esp + 0x80], 1
mov eax, dword [0x5657bc]
test eax, eax
jne 0x414248
push 0x4e0
call fcn.004d2a92
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x80], 2
test esi, esi
je 0x414239
push 0x4e0
push 0
push esi
call fcn.004dbb40
add esp, 0xc
mov ecx, esi
call fcn.00418ff0
jmp 0x41423b
xor eax, eax
mov byte [esp + 0x80], 1
mov dword [0x5657bc], eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.004215e0
cmp dword [esp + 0x28], 8
jb 0x41426c
push dword [esp + 0x14]
call fcn.004c5e80
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x40], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x414500
push dword [esp + 0x2c]
call fcn.004c5e80
add esp, 4
jmp 0x414500
mov ecx, dword [edi + 4]
cmp ecx, 5
jge 0x4142e3
push str.time_5
lea ecx, [esp + 0x18]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 3
call fcn.00406440
mov byte [esp + 0x80], 4
jmp 0x414320
cdq
idiv ecx
cmp eax, 0x32000
jge 0x414387
push str._200kb_s
lea ecx, [esp + 0x18]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 5
call fcn.00406440
mov byte [esp + 0x80], 6
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004193f0
mov ecx, eax
call fcn.004215e0
cmp dword [esp + 0x40], 8
jb 0x414349
push dword [esp + 0x2c]
call fcn.004c5e80
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x28], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x414500
push dword [esp + 0x14]
call fcn.004c5e80
add esp, 4
jmp 0x414500
cmp eax, 0x7d000
jge 0x4143e5
push str._500kb_s
lea ecx, [esp + 0x18]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 7
call fcn.00406440
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 8
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004193f0
mov ecx, eax
call fcn.004215e0
lea ecx, [esp + 0x2c]
call fcn.00406c30
lea ecx, [esp + 0x14]
jmp 0x4144f0
cmp eax, 0x100000
jge 0x414443
push str._1M_s
lea ecx, [esp + 0x18]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 9
call fcn.00406440
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 0xa
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004193f0
mov ecx, eax
call fcn.004215e0
lea ecx, [esp + 0x2c]
call fcn.00406c30
lea ecx, [esp + 0x14]
jmp 0x4144f0
cmp eax, 0x200000
jge 0x41449e
push 0x53e048
lea ecx, [esp + 0x18]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0xb
call fcn.00406440
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 0xc
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004193f0
mov ecx, eax
call fcn.004215e0
lea ecx, [esp + 0x2c]
call fcn.00406c30
lea ecx, [esp + 0x14]
jmp 0x4144f0
push str._2M_s
lea ecx, [esp + 0x60]
call fcn.00406440
push str.DownloadSlowUserCancel3.0
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xd
call fcn.00406440
lea eax, [esp + 0x5c]
mov byte [esp + 0x80], 0xe
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004193f0
mov ecx, eax
call fcn.004215e0
lea ecx, [esp + 0x44]
call fcn.00406c30
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.00406c30
mov ecx, dword [edi]
push 1
call fcn.00489640
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret