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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x44b034]
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 0x40bfdd
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 0x40bca0
lea ecx, [ebp - 0x24]
call fcn.00402090
mov edi, dword [ebp - 0x34]
jmp 0x40bfc5
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 0x40bcd5
mov dword [eax + 4], 0
jmp 0x40bce0
mov dword [edi + 0x4c], 0
nop dword [eax]
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x5c]
jge 0x40bcf5
mov eax, dword [edi + 0x50]
mov dword [ecx], eax
inc dword [edi + 0x58]
mov dword [edi + 0x50], ecx
jmp 0x40bd00
push 1
push ecx
call fcn.004142ac
add esp, 8
add dword [edi + 0x54], 0xffffffff
jne 0x40bd64
mov eax, dword [edi + 0x48]
test eax, eax
je 0x40bd23
nop dword [eax]
mov esi, dword [eax]
push 1
push eax
call fcn.004142ac
add esp, 8
mov eax, esi
test esi, esi
jne 0x40bd10
mov eax, dword [edi + 0x50]
mov dword [edi + 0x54], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
test eax, eax
je 0x40bd53
nop
mov esi, dword [eax]
push 1
push eax
call fcn.004142ac
add esp, 8
mov eax, esi
test esi, esi
jne 0x40bd40
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 0x40bd90
push 0
push dword [eax + 0x20]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
call ecx
cmp eax, 1
je 0x40bfc5
cmp dword [ebp - 0x6c], 0
jne 0x40bf85
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 0x40be47
add ecx, 0xea60
cmp esi, ecx
jbe 0x40bf44
mov dword [edx + 0x3c], esi
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 0x60]
test eax, eax
je 0x40bf44
mov ecx, eax
mov edi, eax
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x30]
cmp esi, eax
jb 0x40be75
add eax, 0x927c0
cmp esi, eax
jbe 0x40bf36
cmp dword [ecx + 0xc], 3
jne 0x40be8d
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 0x40be9f
mov dword [esi + 0x60], eax
jmp 0x40bea4
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp edi, dword [esi + 0x64]
jne 0x40beb1
mov dword [esi + 0x64], eax
jmp 0x40beb6
mov ecx, dword [edi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x70]
cmp eax, dword [esi + 0x74]
jge 0x40becb
mov eax, dword [esi + 0x68]
mov dword [edi], eax
inc dword [esi + 0x70]
mov dword [esi + 0x68], edi
jmp 0x40bed6
push 1
push edi
call fcn.004142ac
add esp, 8
add dword [esi + 0x6c], 0xffffffff
jne 0x40bf33
mov eax, dword [esi + 0x60]
test eax, eax
je 0x40bef6
mov edi, dword [eax]
push 1
push eax
call fcn.004142ac
add esp, 8
mov eax, edi
test edi, edi
jne 0x40bee3
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
test eax, eax
je 0x40bf25
mov edi, dword [eax]
push 1
push eax
call fcn.004142ac
add esp, 8
mov eax, edi
test edi, edi
jne 0x40bf12
mov dword [esi + 0x70], 0
mov dword [esi + 0x68], 0
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x40be58
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.0040ca10
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 0x40bfa1
call dword [eax + 0x3c]
jmp 0x40bfa4
call dword [eax + 0x40]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x40bfb6
push 0x20
push eax
call fcn.004142ac
add esp, 8
test esi, esi
je 0x40bfc5
push 0
push esi
call fcn.004142ac
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 0x40bc67
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.00414033
mov esp, ebp
pop ebp
ret