Function at 0x1001f65f
Capabilities:
Create thread
Get system information on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x1c
call fcn.100abdd1
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.100abdd1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100dc8e9
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x89
call fcn.100abdd1
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100dc8f1
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x81
rep stosb byte es:[edi], al
push 0x28
call fcn.100abdd1
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 8
call fcn.100abdd1
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
mov dword [ebp - 0xc], 0
mov eax, dword [0x100e6ccd]
and eax, 1
xor eax, 1
test eax, eax
je 0x1001fc13
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xa00
call fcn.100b2750
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 4]
push eax
push 0x18f
call fcn.100abdd1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1001f800
push 0x63
push 0x4057acf
push 6
call fcn.100abddd
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.100aca70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1001f84d
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1001f84b
imul eax, dword [edi]
jmp 0x1001f840
mov ecx, eax
cmp ecx, 0x101
jle 0x1001f85a
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.100aca70
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x1001f898
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1001f896
imul eax, dword [edi]
jmp 0x1001f88b
mov ecx, eax
cmp ecx, 0x81
jle 0x1001f8a5
mov ecx, 0x81
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x81
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.100abdd7
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1001fc13
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001f923
push 0xb4
push 0x4057acf
push 6
call fcn.100abddd
add esp, 0xc
mov dword [0x100e6cd1], eax
cmp dword [0x100e6cd1], 0
je 0x1001fc13
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x24
call fcn.100abdd1
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov dword [edi], ebx
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1001f9f0
push 0x122
push 0x4057acf
push 6
call fcn.100abddd
add esp, 0xc
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
fild dword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x100d42c0]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x28], 1
fld qword [ebp - 0x20]
call fcn.10001713
cmp eax, 0
jge 0x1001fac4
push 0x158
push 0x4057acf
push 0xa
call fcn.100abddd
add esp, 0xc
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x28]
call fcn.10001d16
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.100abdd1
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x24]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [0x100e6cd5]
call fcn.10001d16
pop edx
test edx, edx
je 0x1001fb0c
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [0x100e6cd5]
call fcn.100abdd7
add esp, 4
pop eax
mov dword [0x100e6cd5], eax
mov ebx, dword [ebp - 8]
add ebx, 0x14
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
fild dword [ebx]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fmul qword [0x100d42c0]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001713
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x1001fc06
mov ebx, dword [0x100e6cd5]
call fcn.10001d16
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1001fb86
push 0x1cb
push 0x4057acf
push 4
call fcn.100abddd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1001fba3
push 0x1cb
push 0x4057acf
push 1
call fcn.100abddd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x100206f9
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1001fbf9
push 0x1eb
push 0x4057acf
push 6
call fcn.100abddd
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x1001fb4e
add esp, 0xc
mov dword [0x100e6ccd], 1
mov eax, dword [0x100e6ccd]
jmp 0x1001fc1d
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100abdd7
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100abdd7
add esp, 4
pop ebx
call fcn.100abdd7
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100abdd7
add esp, 4
pop ebx
call fcn.100abdd7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret