Function at 0x100109b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push esi
push edi
lea edi, [ebp - 0x428]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x101a8cb0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10009b30
add esp, 4
mov word [ebp - 0x18], ax
movzx ecx, word [ebp - 0x18]
test ecx, ecx
je 0x10010a39
movzx edx, word [ebp - 0x18]
push edx
push str.ERROR_alloc_mem:_d
push 0x400
lea eax, [ebp - 0x424]
push eax
call fcn.1002d690
add esp, 0x10
push 0x44d
push 0x10136a18
lea ecx, [ebp - 0x424]
push ecx
movzx edx, word [ebp - 0x18]
push edx
push 0x40003
call fcn.10002bc0
add esp, 0x14
mov ax, word [ebp - 0x18]
jmp 0x10010cbe
push 0x98
mov eax, dword [ebp - 0x10]
push eax
call fcn.10009ed0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10010a87
push 0x454
push 0x10136a28
push 0x10136a38
push 0x66
push 0x40003
call fcn.10002bc0
add esp, 0x14
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10009d90
add esp, 4
mov eax, 0x66
jmp 0x10010cbe
push 0x98
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.1002a420
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x94], ecx
push str.localhost
push 0x40
mov edx, dword [ebp - 8]
add edx, 6
push edx
call fcn.1002db40
add esp, 0xc
mov ecx, 0x101cba30
call fcn.100152f0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x86], eax
mov ecx, 0x101cba30
call fcn.10015330
mov edx, dword [ebp - 8]
mov dword [edx + 0x8a], eax
mov ecx, 0x101cba30
call fcn.10015370
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x8e], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0xffffffff
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x10
jge 0x10010b54
mov eax, dword [ebp - 8]
mov cx, word [0x101a8a10]
mov word [eax + 4], cx
mov edx, dword [ebp - 8]
push edx
call fcn.100644c0
add esp, 4
mov word [ebp - 0x18], ax
movzx eax, word [ebp - 0x18]
test eax, eax
je 0x10010b50
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov esi, esp
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1002a390
jmp 0x10010b52
jmp 0x10010b54
jmp 0x10010b05
movzx edx, word [ebp - 0x18]
test edx, edx
je 0x10010bc1
push str.TCP_Listener_is_not_successfully_initialized.
push 0x400
lea eax, [ebp - 0x424]
push eax
call fcn.1002d690
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10009d90
add esp, 4
push 0x476
push 0x10136a84
lea edx, [ebp - 0x424]
push edx
movzx eax, word [ebp - 0x18]
push eax
push 0x40003
call fcn.10002bc0
add esp, 0x14
lea ecx, [ebp - 0x424]
push ecx
push 0x10136a94
call fcn.10014db0
add esp, 8
mov ax, word [ebp - 0x18]
jmp 0x10010cbe
mov edx, dword [ebp - 8]
movzx eax, word [edx + 4]
push eax
push str.TCP_Listen_Port_initialized___d_.
push 0x400
lea ecx, [ebp - 0x424]
push ecx
call fcn.1002d690
add esp, 0x10
lea edx, [ebp - 0x424]
push edx
push 0x10136abc
call fcn.10014db0
add esp, 8
mov dword [0x101cba08], 1
mov eax, dword [ebp - 8]
push eax
call fcn.10014da0
push eax
push 0x100105e0
call fcn.10036890
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10010ca8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1002a390
push eax
push str.ERROR_begin_TCP_listen_thread.__d
push 0x400
lea ecx, [ebp - 0x424]
push ecx
call fcn.1002d690
add esp, 0x10
mov dword [0x101cba08], 0
mov dword [0x101a8a14], 1
push 0x486
push 0x10136ae4
lea edx, [ebp - 0x424]
push edx
push 9
push 0x40003
call fcn.10002bc0
add esp, 0x14
lea eax, [ebp - 0x424]
push eax
push 0x10136af4
call fcn.10014db0
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10009d90
add esp, 4
mov eax, 9
jmp 0x10010cbe
mov dword [0x101a8a14], 0
mov dword [0x101cba1c], 1
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x10010cec]
call fcn.1002a3c0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002aab0
add esp, 0x428
cmp ebp, esp
call fcn.1002a390
mov esp, ebp
pop ebp
ret