Function at 0x100223e0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002acc9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x458
mov eax, dword [0x10037040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x450], edi
xorps xmm0, xmm0
movups xmmword [edi + 8], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
lea eax, [edi + 0x20]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call esi
lea eax, [edi + 0x50]
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call esi
add esp, 0x10
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov dword [edi + 0x244], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x248], xmm0
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0xf
mov byte [edi + 0x248], 0
push str.ws2_32.dll
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100225b8
push str.WSAStartup
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x1002256c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10022580
lea eax, [edi + 0x90]
push eax
push 0x202
call ecx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x100225b8
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x444], eax
test eax, eax
je 0x100225b1
push str.socket
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100225e8
push dword [ebp - 0x444]
call esi
mov dword [edi + 4], 0xffffffff
mov word [edi + 0x260], 0
mov byte [edi + 0x261], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10026c90
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
push 1
push 2
call eax
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x100225b8
mov ecx, edi
mov byte [edi + 0x260], 1
call fcn.1000a230
test al, al
je 0x100225c1
push 0x400
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x448], eax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x444], eax
test eax, eax
je 0x1002266e
push str.recv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10022658
push dword [ebp - 0x444]
call esi
jmp 0x1002266e
push 0
push 0x400
lea ecx, [ebp - 0x420]
push ecx
push dword [ebp - 0x448]
call eax
cmp dword [0x10038b5c], 0xf
mov eax, 0x10038b48
cmova eax, dword [0x10038b48]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1002269f
mov byte [edi + 0x261], 0
jmp 0x100225c1
xorps xmm0, xmm0
mov word [edi + 0x261], 1
lea eax, [ebp - 0x468]
mov byte [edi + 0x263], 0
lea esi, [edi + 8]
mov dword [edi + 0x224], 0xa
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
movups xmmword [ebp - 0x468], xmm0
mov byte [ebp - 0x468], 0
cmp esi, eax
je 0x10022746
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1002271e
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10022714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002282e
mov eax, edx
push ecx
push eax
call fcn.10026cc1
add esp, 8
movups xmm0, xmmword [ebp - 0x468]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x458]
movq qword [esi + 0x10], xmm0
mov edx, dword [esi + 0x10]
mov eax, dword [edi + 0x224]
mov dword [ebp - 0x444], edx
cmp edx, eax
ja 0x100227dd
mov ecx, dword [esi + 0x14]
cmp ecx, eax
je 0x100227dd
jae 0x10022788
mov byte [ebp - 0x448], 0
sub eax, edx
push dword [ebp - 0x448]
mov ecx, esi
push eax
call fcn.1000a630
mov eax, dword [ebp - 0x444]
mov dword [esi + 0x10], eax
jmp 0x100227dd
cmp eax, 0xf
ja 0x100227dd
cmp ecx, 0xf
jbe 0x100227dd
mov ecx, dword [esi]
lea eax, [edx + 1]
push eax
push ecx
push esi
mov dword [ebp - 0x444], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x444]
inc ecx
cmp ecx, 0x1000
jb 0x100227cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002282e
mov eax, edx
push ecx
push eax
call fcn.10026cc1
add esp, 8
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x440]
mov dword [edi + 0x228], 0
call fcn.10014420
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.10022d20
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x42c]
cmp ecx, 0xf
jbe 0x1002283e
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10022834
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10022834
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10026cc1
add esp, 8
push 8
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
test eax, eax
je 0x10022858
mov dword [eax], edi
mov dword [eax + 4], 0x10022250
jmp 0x1002285a
xor eax, eax
mov dword [ebp - 0x424], eax
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x10023ff0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x44c], eax
test eax, eax
je 0x10022a7b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x448]
test ecx, ecx
jne 0x100228a4
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x100228bb
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], edi
push eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x100232f0
push eax
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x448], esi
call fcn.10023ec0
add esp, 0xc
mov esi, eax
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0xa
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x10022920
mov eax, dword [esi]
mov dword [esi], 0
mov dword [edx], eax
mov byte [edx + 4], 1
add dword [ecx + 4], 8
jmp 0x10022927
push esi
push edx
call fcn.1000a9b0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x430]
test ecx, ecx
je 0x10022953
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10022953
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1002294d
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x10022951
mov eax, dword [ecx]
push 1
call dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
push 0xb0
movq qword [ebp - 0x434], xmm0
mov dword [ebp - 0x44c], edi
mov dword [ebp - 0x448], 0x10023100
call dword [sym.imp.mfc140u.dll_operator_1]
mov esi, eax
add esp, 4
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 0xb
test esi, esi
je 0x100229b8
push 0xb0
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x44c]
mov ecx, esi
push eax
call fcn.100241e0
mov esi, eax
jmp 0x100229ba
xor esi, esi
mov dword [ebp - 0x434], esi
mov byte [ebp - 0x430], 0
mov byte [ebp - 0x42c], 0
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10022ab1
mov dword [ebp - 0x428], esi
lea ecx, [esi + 4]
mov byte [ebp - 0x424], 1
lock inc dword [ecx]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x10022a0a
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x10022a02
mov eax, dword [ecx]
push esi
jmp 0x10022a08
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0xd
mov ecx, dword [edi + 0x234]
cmp ecx, dword [edi + 0x238]
je 0x10022a2e
mov dword [ecx], esi
mov byte [ecx + 4], 1
add dword [edi + 0x234], 8
jmp 0x100225c8
lea edx, [ebp - 0x428]
push edx
push ecx
lea ecx, [edi + 0x230]
call fcn.1000a9b0
mov ecx, dword [ebp - 0x428]
test ecx, ecx
je 0x100225c8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100225c8
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10022a70
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x100225c8
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x100225c8
push 6
mov dword [ebp - 0x448], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x450]
mov byte [eax + 0x261], 0
mov eax, 0x10022aa3
ret
mov ecx, 4
call fcn.1000dcb0
int3