Function at 0x408c40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539ed4
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x58d224]
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.00408a30
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xc8
je 0x408edd
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040c760
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
push edx
push str.fisrt_singledownload_failed:
lea eax, [ebp - 0x84]
push eax
call fcn.004057e0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.0040ba90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x84]
call fcn.00407de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00407de0
push 0
push 0x5450fc
lea ecx, [ebp - 0x168]
push ecx
call fcn.00408f60
mov ecx, eax
call fcn.00483c11
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
call fcn.00482f38
push eax
lea ecx, [ebp - 0x28]
call fcn.00407920
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.00482e21
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0040c7c0
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.004058f0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.004081c0
lea ecx, [ebp - 0xb4]
call fcn.00407e30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xcc]
call fcn.00407e30
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.0040c670
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x54], ecx
push 0x54492e
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.0040a320
add esp, 8
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00407300
add esp, 0x14
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.004082e0
lea ecx, [ebp - 0x6c]
call fcn.00407e80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xe4]
call fcn.00407e30
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x10], 0xffffffff
jne 0x408e40
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.004056d0
mov ecx, eax
call fcn.00418f00
movzx edx, al
test edx, edx
jne 0x408e92
push str.second_mutidownload_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x30], 0x3e9
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
mov eax, dword [ebp - 0x64]
jmp 0x408ee0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.0040bb50
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x2c]
add ecx, 0x48
call fcn.0040bcd0
movzx eax, al
test eax, eax
je 0x408ec7
mov dword [ebp - 0x30], 0xc8
jmp 0x408ece
mov dword [ebp - 0x30], 0x3e9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407e30
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.004d4e68
mov esp, ebp
pop ebp
ret 8