Function at 0x4b2860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x7c0ab4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x18], eax
mov dword [eax], 0
lea eax, [ebp - 0x24]
push edi
push eax
mov edi, ecx
mov dword [ebp - 0x14], esi
call fcn.004bb720
add esp, 4
test eax, eax
jle 0x4b28b7
push esi
push ebx
lea edx, [ebp - 0x24]
call fcn.004bbc40
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
push 0x20
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.006d4310
mov eax, dword [edi + 0x94]
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x40], 2
push esi
push 0x793c48
push 0xc
push eax
call fcn.004ba680
push 0x50
push 1
call fcn.006d7a40
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 8
mov dword [edi + 0x4fc], eax
test eax, eax
je 0x4b2a46
mov dword [edi + 0x4ec], esi
lea esi, [eax + 0x10]
push 0x3c
push 0
mov byte [edi + 0x4f4], 0
mov dword [edi + 0x4f8], 0
mov dword [edi + 0x4f0], 0
push esi
mov dword [eax], 0
call fcn.006d4310
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
movups xmm0, xmmword [ebp - 0x44]
push 0x18
movups xmmword [esi + 0x18], xmm0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [esi + 0x28], xmm0
call fcn.006d77d0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4b2a08
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
mov dword [esi + 0x10], 0
call fcn.006eef70
add esp, 4
mov dword [esi + 8], eax
test eax, eax
je 0x4b2a08
push dword [edi + 0x4e8]
call fcn.006d6340
add esp, 4
push ebx
call fcn.006eef70
add esp, 4
mov dword [edi + 0x4e8], eax
test eax, eax
je 0x4b2a43
push 0
push 0
push esi
push 0x4b2450
push 0
push 0
call fcn.006ea70e
add esp, 0x18
test eax, eax
je 0x4b29d5
cmp eax, 0xffffffff
jne 0x4b29d7
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
test eax, eax
jne 0x4b29ec
call fcn.006e7083
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
jmp 0x4b2a43
mov eax, dword [ebp - 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
test eax, eax
je 0x4b2a1f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi]
call fcn.006d6340
add esp, 4
push dword [esi + 8]
call fcn.006d6340
mov ecx, dword [esi + 0x14]
add esp, 4
test ecx, ecx
je 0x4b2a36
call fcn.004bb910
push 0x3c
push 0
push esi
call fcn.006d4310
add esp, 0xc
mov esi, dword [ebp - 0x14]
lea ecx, [edi + 0x4e8]
call fcn.004b2540
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ecx, edi
call fcn.004bafa0
push eax
push ebx
push str.init_resolve_thread___failed_for__s___s_n
push dword [edi]
call fcn.004aee40
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x10]
call fcn.004bb940
add esp, 0x18
test eax, eax
je 0x4b2ac4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
mov ecx, edi
call fcn.004bafa0
push eax
push esi
push ebx
push str.getaddrinfo___failed_for__s:_d___s_n
push dword [edi]
call fcn.004aee40
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006d0856
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.006d0856
mov esp, ebp
pop ebp
ret