Function at 0x40efb0
Capabilities:
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x4e4a16
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
push ebx
call fcn.00418770
mov dword [esi], vtable.Clunet::CCluDownloader.0
mov dword [esp + 0x24], ebx
mov dword [esi + 0x200], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
lea edi, [esi + 0x220]
mov ecx, edi
mov byte [esp + 0x24], 2
call fcn.00440e80
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea eax, [esi + 0x23a]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ebp, [esi + 0x252]
mov ecx, ebp
mov byte [esp + 0x24], 4
call fcn.0045bfc0
mov dword [ebp + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], ebx
push 0x6731b8
mov ecx, 0x6731c8
mov byte [esp + 0x28], 5
mov dword [esi + 0x25e], ebx
mov dword [esi + 0xc], 7
mov dword [esi + 0x22c], ebx
mov byte [esi + 0x234], bl
mov dword [esi + 0x236], ebx
call fcn.004113f0
push 0x6733cc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x6733cc
mov word [0x6733c0], bx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x48
call fcn.004aef0e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x24], 6
je 0x40f0ea
mov ecx, eax
call fcn.00417fd0
jmp 0x40f0ec
xor eax, eax
push 0xfffffffffffffff1
mov ecx, eax
mov byte [esp + 0x28], 5
mov dword [esi + 0x3c], eax
call fcn.0040ca60
mov ecx, dword [esi + 0x3c]
push esi
call fcn.00417f40
push 0x46e
mov dword [esi + 0x1ec], ebx
mov dword [esi + 0x1f4], ebx
call fcn.004aef0e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x24], 7
je 0x40f136
push ebx
mov ecx, eax
call fcn.00432c30
jmp 0x40f138
xor eax, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
lea ebp, [esi + 0x1fc]
push eax
mov ecx, ebp
mov byte [esp + 0x28], 5
call fcn.00411360
push 0x21a
call fcn.004aef0e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x24], 8
je 0x40f17a
mov ecx, dword [esi + 0x3c]
push ecx
mov ecx, eax
call fcn.0042f590
jmp 0x40f17c
xor eax, eax
push 0xfffffffffffffff1
mov ecx, eax
mov byte [esp + 0x28], 5
mov dword [esp + 0x18], eax
call fcn.0040ca60
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00411360
push 0x5c
call fcn.004aef0e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x24], 9
je 0x40f1ba
mov ecx, eax
call fcn.00410ef0
jmp 0x40f1bc
xor eax, eax
mov dword [esi + 0x1f0], eax
push 0x19418
mov byte [esp + 0x28], 5
mov word [eax + 8], 1
call fcn.004aef0e
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x24], 0xa
je 0x40f1fb
mov ecx, dword [esi + 0x1f0]
mov edx, dword [esi + 0x3c]
push ecx
push edx
mov ecx, eax
call fcn.0042c970
jmp 0x40f1fd
xor eax, eax
push ebx
push ebx
push 4
lea ecx, [eax + 0x190fc]
mov byte [esp + 0x30], 5
mov dword [esi + 0x1f8], eax
call fcn.004b0c34
mov eax, dword [esi + 0x1f8]
mov ecx, dword [eax + 0x19128]
push 0xfffffffffffffff1
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x1f8]
mov eax, dword [edx + 0x19128]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x16
call fcn.004aef0e
add esp, 4
cmp eax, ebx
je 0x40f271
mov byte [eax], 1
mov word [eax + 2], bx
mov dword [eax + 4], ebx
mov word [eax + 8], bx
mov dword [eax + 0xa], ebx
mov byte [eax + 0xe], bl
mov byte [eax + 0xf], bl
mov word [eax + 0x10], bx
mov word [eax + 0x12], bx
mov byte [eax + 0x14], bl
jmp 0x40f273
xor eax, eax
mov dword [esi + 0x21c], eax
call fcn.00419310
movzx edx, word [eax + 0x80]
mov ecx, dword [esi + 0x21c]
mov word [ecx + 0x10], dx
call fcn.00419310
movzx edx, word [eax + 0x80]
mov ecx, dword [esi + 0x21c]
mov word [ecx + 0x12], dx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00422380
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], ebx
mov dword [eax], eax
mov edi, dword [edi + 4]
push 0xfffffffffffffff1
mov ecx, esi
mov dword [edi + 8], edi
call fcn.0040ca60
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret