Function at 0x40bbd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca08
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x44d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [edi + 0x28]
push 0xffffffffffffffff
push dword [eax + 0xc0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x10]
push 0xffffffffffffffff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x40bfad
mov eax, dword [edi + 0x28]
lea ecx, [ebp - 0x24]
push 1
add eax, 0x78
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x24], xmm0
call fcn.00402060
mov edi, dword [edi + 0x28]
cmp dword [edi + 0x54], 0
jne 0x40bc70
lea ecx, [ebp - 0x24]
call fcn.00402090
mov edi, dword [ebp - 0x34]
jmp 0x40bf95
mov eax, dword [edi + 0x48]
mov ecx, eax
movups xmm0, xmmword [eax + 8]
mov esi, dword [eax + 0x38]
mov dword [ebp - 0x38], esi
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [eax + 0x28]
mov eax, dword [ecx]
mov dword [edi + 0x48], eax
movups xmmword [ebp - 0x50], xmm0
test eax, eax
je 0x40bca5
mov dword [eax + 4], 0
jmp 0x40bcb0
mov dword [edi + 0x4c], 0
nop dword [eax]
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x5c]
jge 0x40bcc5
mov eax, dword [edi + 0x50]
mov dword [ecx], eax
inc dword [edi + 0x58]
mov dword [edi + 0x50], ecx
jmp 0x40bcd0
push 1
push ecx
call fcn.00414bc7
add esp, 8
add dword [edi + 0x54], 0xffffffff
jne 0x40bd34
mov eax, dword [edi + 0x48]
test eax, eax
je 0x40bcf3
nop dword [eax]
mov esi, dword [eax]
push 1
push eax
call fcn.00414bc7
add esp, 8
mov eax, esi
test esi, esi
jne 0x40bce0
mov eax, dword [edi + 0x50]
mov dword [edi + 0x54], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
test eax, eax
je 0x40bd23
nop
mov esi, dword [eax]
push 1
push eax
call fcn.00414bc7
add esp, 8
mov eax, esi
test esi, esi
jne 0x40bd10
mov esi, dword [ebp - 0x38]
mov dword [edi + 0x58], 0
mov dword [edi + 0x50], 0
lea ecx, [ebp - 0x24]
call fcn.00402090
mov edi, dword [ebp - 0x34]
mov eax, dword [edi + 0x28]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x40bd60
push 0
push dword [eax + 0x20]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
call ecx
cmp eax, 1
je 0x40bf95
cmp dword [ebp - 0x6c], 0
jne 0x40bf55
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x50]
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x28]
push 1
add eax, 0x98
movq qword [ebp - 0x78], xmm0
push eax
mov dword [ebp - 0x78], esi
movq qword [ebp - 0x30], xmm0
call fcn.00402060
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [edi + 0x28]
mov esi, eax
mov dword [ebp - 0x38], esi
mov ecx, dword [edx + 0x3c]
cmp esi, ecx
jb 0x40be17
add ecx, 0xea60
cmp esi, ecx
jbe 0x40bf14
mov dword [edx + 0x3c], esi
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x40bf14
mov ecx, eax
mov edi, eax
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x30]
cmp esi, eax
jb 0x40be45
add eax, 0x927c0
cmp esi, eax
jbe 0x40bf06
cmp dword [ecx + 0xc], 3
jne 0x40be5d
mov eax, dword [ecx + 0x28]
mov dword [eax], 0
push dword [ecx + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x34]
mov esi, dword [eax + 0x28]
mov eax, dword [edi]
cmp edi, dword [esi + 0x60]
jne 0x40be6f
mov dword [esi + 0x60], eax
jmp 0x40be74
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp edi, dword [esi + 0x64]
jne 0x40be81
mov dword [esi + 0x64], eax
jmp 0x40be86
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 0x74]
jge 0x40be9b
mov eax, dword [esi + 0x68]
mov dword [edi], eax
inc dword [esi + 0x70]
mov dword [esi + 0x68], edi
jmp 0x40bea6
push 1
push edi
call fcn.00414bc7
add esp, 8
add dword [esi + 0x6c], 0xffffffff
jne 0x40bf03
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40bec6
mov edi, dword [eax]
push 1
push eax
call fcn.00414bc7
add esp, 8
mov eax, edi
test edi, edi
jne 0x40beb3
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
test eax, eax
je 0x40bef5
mov edi, dword [eax]
push 1
push eax
call fcn.00414bc7
add esp, 8
mov eax, edi
test edi, edi
jne 0x40bee2
mov dword [esi + 0x70], 0
mov dword [esi + 0x68], 0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40be28
mov edi, dword [ebp - 0x34]
movups xmm0, xmmword [ebp - 0x9c]
mov ecx, dword [edi + 0x28]
sub esp, 0x2c
mov eax, esp
add ecx, 0x60
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], esi
call fcn.0040c9e0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00402090
mov eax, dword [edi + 0x28]
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
push esi
mov ecx, dword [eax + 0xc]
push edx
mov eax, dword [ecx]
cmp eax, vtable.CXOCPSocket.0
jne 0x40bf71
call dword [eax + 0x3c]
jmp 0x40bf74
call dword [eax + 0x40]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40bf86
push 0x20
push eax
call fcn.00414bc7
add esp, 8
test esi, esi
je 0x40bf95
push 0
push esi
call fcn.00414bc7
add esp, 8
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x40bc37
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041494e
mov esp, ebp
pop ebp
ret