Function at 0x4089e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539c44
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x58d214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004087d0
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004087d0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xc8
je 0x408c90
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.0040c170
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
push ecx
push str.fisrt_singledownload_failed:
lea edx, [ebp - 0x84]
push edx
call fcn.004057e0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0040b5b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x84]
call fcn.00407ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00407ce0
push 0
push 0x544ce0
lea eax, [ebp - 0x168]
push eax
call fcn.00408d10
mov ecx, eax
call fcn.004839c0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.00482ce7
push eax
lea ecx, [ebp - 0x28]
call fcn.00407820
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.00482bd0
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.0040c1d0
add esp, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004058f0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.004080c0
lea ecx, [ebp - 0xb4]
call fcn.00407d30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.00407d30
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.0040c080
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
push 0x544a66
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.00409ee0
add esp, 8
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00407230
add esp, 0x14
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.004081e0
lea ecx, [ebp - 0x6c]
call fcn.00407d80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe4]
call fcn.00407d30
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x10], 0xffffffff
jne 0x408bf3
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.004056d0
mov ecx, eax
call fcn.00418c60
movzx ecx, al
test ecx, ecx
jne 0x408c45
push str.second_mutidownload_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x30], 0x3e9
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp - 0x64]
jmp 0x408c93
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.0040b670
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.0040b750
movzx edx, al
test edx, edx
je 0x408c7a
mov dword [ebp - 0x30], 0xc8
jmp 0x408c81
mov dword [ebp - 0x30], 0x3e9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407d30
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d48f1
mov esp, ebp
pop ebp
ret 8