Function at 0x10007f60
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], 0
call fcn.1000a5d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10008045
mov edx, dword [esp + 0x18]
push edx
push esi
call fcn.1000aab0
push 0x10d
push str.StartWebAccept
lea eax, [esi + 1]
push 1
push eax
mov ecx, str..WebConn.c
mov dword [esp + 0x2c], eax
call fcn.1000c550
add esp, 0x18
push str.Request_IP
push esi
call fcn.1000a480
push str.Request_Port
mov ebp, eax
call fcn.1000a520
movzx edi, ax
add esp, 0xc
cmp di, 0xffff
jbe 0x10008086
movzx ebx, di
push ebx
push ebp
push str._WebConn__Web_Connect_IP:__s__or_Port:__u__fail
push 0x118
push str..WebConn.c
push 1
mov ecx, str.StartWebAccept
call fcn.1000be40
push ebx
push ebp
push str._WebConn__Web_Connect_IP:__s__or_Port:__u__fail
push 0x118
push str..WebConn.c
push 1
mov ecx, str.StartWebAccept
call fcn.1000bb50
push esi
call fcn.1000a140
mov eax, dword [esp + 0x48]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
mov dword [esp + 4], eax
jmp fcn.1000c930
push str._WebConn__Get_Web_Accept_Head_fail
push 0x110
push str..WebConn.c
push 1
mov ecx, str.StartWebAccept
call fcn.1000be40
push str._WebConn__Get_Web_Accept_Head_fail
push 0x110
push str..WebConn.c
push 1
mov ecx, str.StartWebAccept
call fcn.1000bb50
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push str.127.0.0.1
push ebp
call fcn.10019a8f
mov ebx, eax
neg ebx
sbb ebx, ebx
push 0x3a
push ebp
add ebx, 1
call fcn.10018930
add esp, 0x10
test eax, eax
je 0x100080b0
mov ebx, 0x100489a8
jmp 0x100080be
test ebx, ebx
mov ebx, 0x10048910
jne 0x100080be
mov ebx, 0x1004895c
push ebx
push ebp
call fcn.10019a8f
add esp, 8
test eax, eax
jne 0x100080d2
cmp word [ebx + 0x40], di
je 0x10008113
mov eax, ebp
mov ecx, 0x40
call fcn.1000f9f0
mov eax, dword [ebx + 0x48]
test eax, eax
mov word [ebx + 0x40], di
je 0x10008103
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebx + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x48], 0
mov edx, dword [ebx + 0x44]
push edx
call sub.WS2_32.dll_closesocket
mov dword [ebx + 0x44], 0xffffffff
push esi
call fcn.1000a140
mov eax, dword [esp + 0x18]
add esp, 4
push eax
call fcn.1000c930
add esp, 4
mov esi, ebx
call fcn.100082e0
mov edi, eax
call sub.WS2_32.dll_WSAGetLastError
cmp dword [ebx + 0x48], 0
mov esi, eax
jne 0x10008156
push 0
push 0
push ebx
push 0x10008400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x48], eax
test edi, edi
je 0x1000817d
mov edi, dword [esp + 0x24]
push str._Reply__Result_True__Result__Msg___Msg___Reply_
push 0x1000
mov ecx, str.StartWebAccept
call fcn.10001420
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0
push 0x400
push 0x100519d8
push 0x400
push esi
push 0
push 0x12ff
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edi, dword [esp + 0x24]
push 0x100519d8
push str._Reply__Result_False__Result__Msg__s__Msg___Reply_
push 0x1000
mov ecx, str.StartWebAccept
call fcn.10001420
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret