Function at 0x1001e930
Capabilities:
Create thread
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100436ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], 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 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 fcn.100243f5
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 fcn.100243f5
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 0x1001ead8
push str.WSAStartup
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x1001ea92
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001eaa6
lea eax, [edi + 0x90]
push eax
push 0x202
call ecx
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
jne 0x1001ead8
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001ead1
push str.socket
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001eafb
push dword [ebp - 0x14]
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 edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
push 1
push 2
call eax
mov dword [edi + 4], eax
cmp eax, 0xffffffff
je 0x1001ead8
mov ecx, 2
mov byte [edi + 0x260], 1
mov word [edi + 0x80], cx
mov eax, 0x10056c38
cmp dword [0x10056c4c], 0xf
push str.ws2_32.dll
cmova eax, dword [0x10056c38]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001eb73
push str.inet_pton
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x1001eb65
push dword [ebp - 0x14]
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1001eb73
lea eax, [edi + 0x84]
push eax
push dword [ebp - 0x18]
push 2
call ecx
cmp dword [0x10056c34], 0xf
mov edx, 0x10056c20
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmova edx, dword [0x10056c20]
mov ecx, edx
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001eba0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10003350
mov byte [ebp - 4], 7
call fcn.1002bc4c
cmp dword [ebp - 0x2c], 0xf
lea esi, [ebp - 0x40]
mov dword [ebp - 0x14], eax
cmova esi, dword [ebp - 0x40]
mov dword [eax], 0
lea eax, [ebp - 0x18]
push 0xa
push eax
push esi
call fcn.1002c50b
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp esi, dword [ebp - 0x18]
je 0x1001f0fe
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x22
je 0x1001f108
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1001ec2f
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ec25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f112
push ecx
push edx
call fcn.10024bea
add esp, 8
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1001ec47
mov eax, 0xffff
jmp 0x1001ec6f
push str.htons
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001ec67
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
call esi
mov eax, 0xffff
jmp 0x1001ec75
push dword [ebp - 0x20]
call eax
movzx eax, ax
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov word [edi + 0x82], ax
mov eax, dword [edi + 4]
push str.ws2_32.dll
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1001eca9
push str.connect
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001ecb8
push dword [ebp - 0x20]
call esi
mov dword [edi + 0x220], 0xffffffff
jmp 0x1001eae1
push 0x10
lea ecx, [edi + 0x80]
push ecx
push dword [ebp - 0x18]
call eax
mov dword [edi + 0x220], eax
cmp eax, 0xffffffff
je 0x1001eae1
push 0x400
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.100268f0
mov eax, dword [0x10056c00]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1001eae1
push str.recv
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x1001ed29
push dword [ebp - 0x20]
call esi
jmp 0x1001eae1
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x470]
push ecx
push dword [ebp - 0x14]
call eax
test eax, eax
jle 0x1001eae1
cmp dword [0x10056c04], 0xf
lea ecx, [ebp - 0x470]
mov eax, 0x10056bf0
cmova eax, dword [0x10056bf0]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1001ed80
test dl, dl
je 0x1001ed7c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1001ed80
add ecx, 2
add eax, 2
test dl, dl
jne 0x1001ed60
xor eax, eax
jmp 0x1001ed85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1001eae1
xorps xmm0, xmm0
mov byte [edi + 0x263], al
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], eax
lea esi, [edi + 8]
mov byte [ebp - 0x70], al
lea eax, [ebp - 0x70]
mov word [edi + 0x261], 1
mov dword [edi + 0x224], 0xa
mov dword [ebp - 0x5c], 0xf
cmp esi, eax
je 0x1001ee19
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1001edf7
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1001eded
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f112
mov eax, edx
push ecx
push eax
call fcn.10024bea
add esp, 8
movups xmm0, xmmword [ebp - 0x70]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [esi + 0x10], xmm0
mov edx, dword [esi + 0x10]
mov eax, dword [edi + 0x224]
mov dword [ebp - 0x18], edx
cmp edx, eax
ja 0x1001ee9e
mov ecx, dword [esi + 0x14]
cmp ecx, eax
je 0x1001ee9e
jae 0x1001ee4b
mov byte [ebp - 0x20], 0
sub eax, edx
push dword [ebp - 0x20]
mov ecx, esi
push eax
call fcn.1000dd20
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
jmp 0x1001ee9e
cmp eax, 0xf
ja 0x1001ee9e
cmp ecx, 0xf
jbe 0x1001ee9e
mov ecx, dword [esi]
lea eax, [edx + 1]
push eax
push ecx
push esi
mov dword [ebp - 0x14], ecx
call fcn.10026350
mov ecx, dword [esi + 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x14]
inc ecx
cmp ecx, 0x1000
jb 0x1001ee8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f112
mov eax, edx
push ecx
push eax
call fcn.10024bea
add esp, 8
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x58]
mov dword [edi + 0x228], 0
call fcn.10012ea0
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.1001f390
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1001eef4
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001eeea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f117
push ecx
push edx
call fcn.10024bea
add esp, 8
push 8
call fcn.10024bba
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax], edi
mov dword [eax + 4], 0x1001e7a0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
push ecx
push 0
push eax
push 0x10020770
push 0
push 0
call fcn.1002ba83
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1001f134
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1001f11c
push ecx
push eax
call fcn.10023466
add esp, 8
test eax, eax
jne 0x1001f123
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x1001f900
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], esi
call fcn.10020470
add esp, 0xc
mov esi, eax
lea ecx, [edi + 0x230]
mov byte [ebp - 4], 0xb
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x1001efa2
mov eax, dword [esi]
mov dword [esi], 0
mov dword [edx], eax
mov byte [edx + 4], 1
add dword [ecx + 4], 8
jmp 0x1001efa9
push esi
push edx
call fcn.10020580
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x1001efd2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1001efd2
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1001efcc
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x1001efd0
mov eax, dword [ecx]
push 1
call dword [eax]
push 0xb0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0x1001f740
call fcn.10024bba
add esp, 4
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.10020940
mov esi, eax
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0xd
test esi, esi
je 0x1001f12a
mov dword [ebp - 0x24], esi
lea ecx, [esi + 4]
mov byte [ebp - 0x20], 1
lock inc dword [ecx]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x1001f043
cmp dword [esi + 0x78], 0
je 0x1001f03b
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x78]
push esi
mov eax, dword [eax]
jmp 0x1001f041
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0x234]
cmp ecx, dword [edi + 0x238]
je 0x1001f075
mov dword [ecx], esi
mov eax, edi
mov byte [ecx + 4], 1
add dword [edi + 0x234], 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x24]
push edx
push ecx
lea ecx, [edi + 0x230]
call fcn.10020580
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1001eae8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x1001eae8
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x1001f0bf
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_stoi_argument
call fcn.1002299b
push str.stoi_argument_out_of_range
call fcn.100229db
call fcn.1002b8d6
call fcn.1002b8d6
push 1
call fcn.10022cc8
push 1
call fcn.10022cc8
mov ecx, 4
call fcn.1000c2f0
push 6
mov dword [ebp - 0x18], 0
call fcn.10022cc8
int3