Function at 0x100232f
Capabilities:
Contain obfuscated stackstrings
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100e094]
and dword [ebp - 0x64], 0
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], esi
jne 0x1002573
push 3
push 1
push 0x20
call dword [sym.imp.WS2_32.dll_socket]
mov edx, eax
cmp edx, 0xffffffff
mov dword [ebx + 4], edx
je 0x1002558
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x5e]
rep stosd dword es:[edi], eax
or dword [ebp - 0x46], 0xffffffff
mov word [ebp - 0x60], 0x20
lea edi, [ebp - 0x56]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1e
movsd dword es:[edi], dword [esi]
pop esi
push esi
lea eax, [ebp - 0x60]
push eax
push edx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x100252b
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x6c], esi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x100252b
push 1
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_listen]
mov esi, eax
cmp esi, 0xffffffff
je 0x100252b
push 0x61
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
mov dword [ebx + 0x60], edx
je 0x100251f
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x68]
movsx eax, word [eax]
push eax
mov byte [ebp - 0x40], 0x35
mov byte [ebp - 0x3f], 0x3a
mov byte [ebp - 0x3e], 9
mov word [ebp - 0x3d], 0x100
mov byte [ebp - 0x3b], 0x35
mov byte [ebp - 0x3a], 3
mov byte [ebp - 0x39], 0x19
call fcn.01002313
mov word [ebp - 0x38], ax
mov al, byte [ebp - 0x46]
mov byte [ebp - 0x26], al
mov byte [ebp - 0x36], 9
mov word [ebp - 0x35], 0x400
mov byte [ebp - 0x33], 0x35
mov byte [ebp - 0x32], 0x11
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 3
mov byte [ebp - 0x2f], 0x19
mov word [ebp - 0x2e], 1
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], 5
mov byte [ebp - 0x2a], 0x19
mov word [ebp - 0x29], 0x300
mov byte [ebp - 0x27], 8
mov byte [ebp - 0x25], 0x35
mov byte [ebp - 0x24], 3
mov byte [ebp - 0x23], 0x19
mov word [ebp - 0x22], 0x800
mov byte [ebp - 0x20], 9
mov word [ebp - 0x1f], 1
mov byte [ebp - 0x1d], 0x25
mov byte [ebp - 0x1c], 0x10
mov esi, 0x10012f0
lea edi, [ebp - 0x1b]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xf
lea edi, [edx + 0x24]
pop ecx
lea esi, [ebp - 0x40]
mov byte [ebp - 0xb], 9
mov word [ebp - 0xa], 0x303
mov byte [ebp - 8], 0x35
mov byte [ebp - 7], 2
mov byte [ebp - 6], 8
mov byte [ebp - 5], 0xff
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x60]
push 0x3c
pop edi
mov dword [eax + 0x20], edi
mov ecx, dword [ebx + 0x60]
lea eax, [ebx + 0x5c]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 0x60]
lea ecx, [ebx + 0x58]
mov dword [edx], ecx
mov edx, dword [ebx + 0x60]
mov dword [edx + 8], 0x80
mov esi, dword [ebx + 0x60]
lea edx, [ebx + 0x50]
mov dword [ebx + 0x54], esi
lea esi, [ebx + 0x14]
mov dword [ecx], 1
mov dword [edx], 0x61
mov dword [esi], edi
mov dword [ebx + 0x28], 0x10
mov dword [ebx + 0x4c], edx
xor ecx, ecx
push ecx
push ecx
push esi
mov dword [eax], ecx
call dword [sym.imp.WS2_32.dll_WSASetServiceW]
mov esi, eax
jmp 0x1002526
mov dword [ebp - 0x64], 0x8007000e
cmp esi, 0xffffffff
jne 0x1002542
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jle 0x100253f
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
pop edi
jge 0x100257a
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_closesocket]
or dword [ebx + 4], 0xffffffff
jmp 0x100257a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jg 0x1002567
mov dword [ebp - 0x64], eax
jmp 0x100257a
and eax, 0xffff
or eax, 0x80070000
jmp 0x1002562
mov dword [ebp - 0x64], 0x8000ffff
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x64]
pop esi
pop ebx
call fcn.010079ac
leave
ret 4