Function at 0x418860
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512236
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push esi
push edi
mov eax, dword [0x5634e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x4188e3
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x80], 0
test esi, esi
je 0x4188d1
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x4188d3
xor eax, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [0x56cb9c], eax
lea ecx, [eax + 0x2d8]
call fcn.0040c2e0
mov ecx, dword [edi]
push 0
call fcn.0048c310
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi]
mov eax, dword [eax + 0x5ec]
test eax, eax
jne 0x418a1b
push 1
push 0x53e9f8
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.00407100
mov dword [esp + 0x80], 1
lea ecx, [esp + 0x14]
push 0x19
xor eax, eax
mov dword [esp + 0x2c], 7
push str.DownloadSlowUseBrowser3.0
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.00407100
mov byte [esp + 0x80], 2
mov eax, dword [0x56cb9c]
test eax, eax
jne 0x4189b9
push 0x508
call fcn.004d5562
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov byte [esp + 0x80], 3
test esi, esi
je 0x4189aa
push 0x508
push 0
push esi
call fcn.004de630
add esp, 0xc
mov ecx, esi
call fcn.0041e100
jmp 0x4189ac
xor eax, eax
mov byte [esp + 0x80], 2
mov dword [0x56cb9c], eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00426a60
cmp dword [esp + 0x28], 8
jb 0x4189dd
push dword [esp + 0x14]
call fcn.004c8900
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 0x418c71
push dword [esp + 0x2c]
call fcn.004c8900
add esp, 4
jmp 0x418c71
mov ecx, dword [edi + 4]
cmp ecx, 5
jge 0x418a54
push str.time_5
lea ecx, [esp + 0x18]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 4
call fcn.00407200
mov byte [esp + 0x80], 5
jmp 0x418a91
cdq
idiv ecx
cmp eax, 0x32000
jge 0x418af8
push str._200kb_s
lea ecx, [esp + 0x18]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 6
call fcn.00407200
mov byte [esp + 0x80], 7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426a60
cmp dword [esp + 0x40], 8
jb 0x418aba
push dword [esp + 0x2c]
call fcn.004c8900
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 0x418c71
push dword [esp + 0x14]
call fcn.004c8900
add esp, 4
jmp 0x418c71
cmp eax, 0x7d000
jge 0x418b56
push str._500kb_s
lea ecx, [esp + 0x18]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 8
call fcn.00407200
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 9
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426a60
lea ecx, [esp + 0x2c]
call fcn.004079f0
lea ecx, [esp + 0x14]
jmp 0x418c61
cmp eax, 0x100000
jge 0x418bb4
push str._1M_s
lea ecx, [esp + 0x18]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0xa
call fcn.00407200
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 0xb
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426a60
lea ecx, [esp + 0x2c]
call fcn.004079f0
lea ecx, [esp + 0x14]
jmp 0x418c61
cmp eax, 0x200000
jge 0x418c0f
push 0x5428f0
lea ecx, [esp + 0x18]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x84], 0xc
call fcn.00407200
lea eax, [esp + 0x14]
mov byte [esp + 0x80], 0xd
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426a60
lea ecx, [esp + 0x2c]
call fcn.004079f0
lea ecx, [esp + 0x14]
jmp 0x418c61
push str._2M_s
lea ecx, [esp + 0x60]
call fcn.00407200
push str.DownloadSlowUseBrowser3.0
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], 0xe
call fcn.00407200
lea eax, [esp + 0x5c]
mov byte [esp + 0x80], 0xf
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0041e540
mov ecx, eax
call fcn.00426a60
lea ecx, [esp + 0x44]
call fcn.004079f0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x80], 0xffffffff
call fcn.004079f0
mov ecx, dword [edi]
push 1
call fcn.0048c100
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