Function at 0x10027c60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10193dfb
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101fd000]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
cmp byte [esi + 0x261], 0
mov dword [ebp - 0x5c], esi
je 0x100284d0
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x100284d0
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
push str.ws2_32.dll
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x10027ce1
or edi, 0xffffffff
jmp 0x10027d0c
push str.recv
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10027cfd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
or edi, 0xffffffff
jmp 0x10027d0c
push 0
push 0xa
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x24]
call eax
mov edi, eax
mov dword [ebp - 4], 0
test edi, edi
je 0x10028337
js 0x10028370
lea eax, [ebp - 0x20]
push eax
call fcn.101720b4
add esp, 4
mov edx, eax
test edi, edi
jle 0x10028457
mov ecx, dword [esi + 0x228]
mov eax, dword [esi + 0x224]
add ecx, edi
sub eax, edi
mov dword [esi + 0x228], ecx
mov dword [esi + 0x224], eax
jne 0x100282d8
mov dword [esi + 0x224], edx
xorps xmm0, xmm0
test edx, edx
jle 0x1002819f
push ecx
push edx
lea ecx, [ebp - 0x44]
mov dword [esi + 0x228], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
call fcn.1000e640
mov byte [ebp - 4], 7
nop
mov ecx, dword [esi + 0x228]
mov edi, dword [esi + 0x224]
cmp ecx, edi
jge 0x10027df5
mov eax, dword [ebp - 0x44]
sub edi, ecx
add eax, ecx
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 4]
push str.ws2_32.dll
mov dword [ebp - 0x54], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x100283b2
push str.recv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100283a9
push 0
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x54]
call eax
test eax, eax
jle 0x100283b2
add dword [esi + 0x228], eax
jmp 0x10027d90
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
call fcn.1000e640
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x40]
mov eax, edx
mov ecx, dword [ebp - 0x44]
sub eax, ecx
sub eax, dword [esi + 0x224]
sub edx, ecx
sub edx, eax
push edx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.1000e8d0
mov edx, dword [ebp - 0x38]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027e56
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.1000dcd0
lea edi, [esi + 8]
lea eax, [ebp - 0x74]
cmp edi, eax
je 0x10027ed0
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x10027ea6
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10027e9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
mov eax, edx
push ecx
push eax
call fcn.10165540
add esp, 8
movups xmm0, xmmword [ebp - 0x74]
mov dword [edi + 0x10], 0
mov ecx, 0xf
mov dword [edi + 0x14], 0xf
movups xmmword [edi], xmm0
mov byte [ebp - 0x74], 0
movq xmm0, qword [ebp - 0x64]
movq qword [edi + 0x10], xmm0
jmp 0x10027ed3
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10027f04
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10027efa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
push ecx
push edx
call fcn.10165540
add esp, 8
push 0x1c
call fcn.1002adfd
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10027f33
push edi
mov ecx, eax
mov dword [ebp - 0x24], eax
call fcn.1000de10
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x18], 0x10022980
jmp 0x10027f3a
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
call fcn.100288d0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.100288d0
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x58]
push 0x10028c40
push 0
push 0
call fcn.10171069
add esp, 0x18
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1002840d
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
call fcn.100288d0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x28], 0
mov dword [0x10207300], esi
je 0x100283ee
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x28]
cmp ecx, eax
je 0x100283f5
push 0
push ecx
push dword [ebp - 0x2c]
call fcn.10166c0b
add esp, 0xc
test eax, eax
jne 0x100283fc
xorps xmm0, xmm0
mov dword [esi + 0x228], eax
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x8c], al
lea eax, [ebp - 0x8c]
movlpd qword [ebp - 0x2c], xmm0
mov dword [esi + 0x224], 0xa
mov dword [ebp - 0x78], 0xf
cmp edi, eax
je 0x1002805e
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1002803c
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10028032
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
mov eax, edx
push ecx
push eax
call fcn.10165540
add esp, 8
movups xmm0, xmmword [ebp - 0x8c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x7c]
movq qword [edi + 0x10], xmm0
mov edx, dword [edi + 0x10]
mov eax, dword [esi + 0x224]
mov dword [ebp - 0x24], edx
cmp edx, eax
ja 0x100280e3
mov ecx, dword [edi + 0x14]
cmp ecx, eax
je 0x100280e3
jae 0x10028090
mov byte [ebp - 0x54], 0
sub eax, edx
push dword [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1000e770
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x10], eax
jmp 0x100280e3
cmp eax, 0xf
ja 0x100280e3
cmp ecx, 0xf
jbe 0x100280e3
mov ecx, dword [edi]
lea eax, [edx + 1]
push eax
push ecx
push edi
mov dword [ebp - 0x24], ecx
call fcn.10169070
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x100280d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
mov eax, edx
push ecx
push eax
call fcn.10165540
add esp, 8
mov dword [edi + 0x14], 0xf
mov byte [ebp - 4], 9
cmp dword [ebp - 0x28], 0
jne 0x10028403
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1002813e
mov edx, dword [ebp - 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002811f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
push edx
push ecx
call fcn.10165540
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10028176
mov edx, dword [ebp - 0x3c]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1002816c
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
push edx
push ecx
call fcn.10165540
add esp, 8
lea eax, [esi + 8]
mov ecx, esi
push eax
call fcn.10027c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1016550f
mov esp, ebp
pop ebp
ret 4
lea edi, [esi + 8]
mov dword [esi + 0x224], 0xa
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
movups xmmword [ebp - 0xa4], xmm0
mov byte [ebp - 0xa4], 0
cmp edi, eax
je 0x10028230
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1002820b
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10028201
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
mov eax, edx
push ecx
push eax
call fcn.10165540
add esp, 8
movups xmm0, xmmword [ebp - 0xa4]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x94]
movq qword [edi + 0x10], xmm0
mov edx, dword [esi + 0x18]
lea edi, [esi + 8]
mov eax, dword [esi + 0x224]
mov dword [ebp - 0x24], edx
cmp edx, eax
ja 0x100282c9
mov ecx, dword [edi + 0x14]
cmp ecx, eax
je 0x100282c9
jae 0x10028276
mov byte [ebp - 0x54], 0
sub eax, edx
push dword [ebp - 0x54]
mov ecx, edi
push eax
call fcn.1000e770
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x10], eax
mov dword [esi + 0x228], 0
jmp 0x10028176
cmp eax, 0xf
ja 0x100282c9
cmp ecx, 0xf
jbe 0x100282c9
mov ecx, dword [edi]
lea eax, [edx + 1]
push eax
push ecx
push edi
mov dword [ebp - 0x24], ecx
call fcn.10169070
mov ecx, dword [edi + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x24]
inc ecx
cmp ecx, 0x1000
jb 0x100282b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10028408
mov eax, edx
push ecx
push eax
call fcn.10165540
add esp, 8
mov dword [edi + 0x14], 0xf
mov dword [esi + 0x228], 0
jmp 0x10028176
test eax, eax
js 0x1002841b
jmp 0x10028176
mov byte [esi + 0x261], 0
call fcn.10002f40
mov edx, eax
mov dword [esi], eax
lea ecx, [ebp - 0x50]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xb0]
push eax
call fcn.1016974a
mov byte [esi + 0x261], 0
call fcn.10002f40
mov edx, eax
mov dword [esi], eax
lea ecx, [ebp - 0x50]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xbc]
push eax
call fcn.1016974a
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [esi + 0x261], 0
call fcn.10002f40
mov edx, eax
mov dword [esi], eax
lea ecx, [ebp - 0x110]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 8
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xc8]
push eax
call fcn.1016974a
push 1
call fcn.10166bd0
push 5
call fcn.10166bd0
push 2
call fcn.10166bd0
call fcn.10170da8
call fcn.1016cb5f
push 6
mov dword [ebp - 0x28], 0
call fcn.10166bd0
mov byte [esi + 0x261], 0
call fcn.10002f40
mov edx, eax
mov dword [esi], eax
lea ecx, [ebp - 0x110]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xd4]
push eax
call fcn.1016974a
mov byte [esi + 0x261], 0
call fcn.10002f40
mov edx, eax
mov dword [esi], eax
lea ecx, [ebp - 0x128]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xe
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xe0]
push eax
call fcn.1016974a
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0x261], 0
call fcn.10002f40
mov edx, eax
lea ecx, [ebp - 0x110]
call fcn.10011f10
push eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 4
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xec]
push eax
call fcn.1016974a
mov edx, dword [esi]
lea ecx, [ebp - 0x110]
mov byte [esi + 0x261], 0
call fcn.10011f10
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.1000d2e0
push 0x101f79dc
lea eax, [ebp - 0xf8]
push eax
call fcn.1016974a
int3