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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x1c
call fcn.100b8c3f
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.100b8c3f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100de84d
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.100b8c3f
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100de855
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.100b8c3f
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.100b8c3f
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 [0x100e6a51]
and eax, 1
xor eax, 1
test eax, eax
je 0x1002cd65
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push 2
push 2
mov ebx, 0xa00
call fcn.100bf3b0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 4]
push eax
push 0x18f
call fcn.100b8c3f
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 0x1002c952
push 0x63
push 0x4060668
push 6
call fcn.100b8c4b
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.100b96f0
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 0x1002c99f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1002c99d
imul eax, dword [edi]
jmp 0x1002c992
mov ecx, eax
cmp ecx, 0x101
jle 0x1002c9ac
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.100b96f0
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 0x1002c9ea
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1002c9e8
imul eax, dword [edi]
jmp 0x1002c9dd
mov ecx, eax
cmp ecx, 0x81
jle 0x1002c9f7
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.100b8c45
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1002cd65
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 0x1002ca75
push 0xb4
push 0x4060668
push 6
call fcn.100b8c4b
add esp, 0xc
mov dword [0x100e6a55], eax
cmp dword [0x100e6a55], 0
je 0x1002cd65
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 8]
push eax
push 0x24
call fcn.100b8c3f
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 0x1002cb42
push 0x122
push 0x4060668
push 6
call fcn.100b8c4b
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.100b8c45
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 [0x100d5281]
fstp qword [ebp - 0x20]
mov dword [ebp - 0x28], 1
fld qword [ebp - 0x20]
call fcn.10001795
cmp eax, 0
jge 0x1002cc16
push 0x158
push 0x4060668
push 0xa
call fcn.100b8c4b
add esp, 0xc
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x28]
call fcn.100020b9
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.100b8c3f
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 [0x100e6a59]
call fcn.100020b9
pop edx
test edx, edx
je 0x1002cc5e
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [0x100e6a59]
call fcn.100b8c45
add esp, 4
pop eax
mov dword [0x100e6a59], 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 [0x100d5281]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001795
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 0x1002cd58
mov ebx, dword [0x100e6a59]
call fcn.100020b9
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x1002ccd8
push 0x1cb
push 0x4060668
push 4
call fcn.100b8c4b
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1002ccf5
push 0x1cb
push 0x4060668
push 1
call fcn.100b8c4b
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 0x1002d84b
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1002cd4b
push 0x1eb
push 0x4060668
push 6
call fcn.100b8c4b
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x1002cca0
add esp, 0xc
mov dword [0x100e6a51], 1
mov eax, dword [0x100e6a51]
jmp 0x1002cd6f
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.100b8c45
add esp, 4
pop ebx
call fcn.100b8c45
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret