Function at 0x1000a3d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
or ebx, 0xffffffff
movlpd qword [ebp - 0x14], xmm0
xor cl, cl
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [edi + 0x68]
sub eax, dword [edi + 0x64]
mov esi, dword [edi + 0x30]
sar eax, 2
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x29], cl
cmp eax, ebx
jle 0x1000a667
mov edx, esi
lea ecx, [ebp - 0x4c]
inc ebx
call fcn.10145120
cmp dword [eax + 0x14], 8
jb 0x1000a447
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push eax
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], eax
call fcn.1000ae90
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000a49c
cmp dword [0x102eec30], 0
je 0x1000a604
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x1000a485
mov eax, dword [eax]
push esi
push ecx
push str.CCDetectWebProxyServerThreadProc:_getaddrinfo_failed__d_with_port__d:__n
push 0x1025b044
push 0x1025b044
push eax
jmp 0x1000a5ea
mov eax, dword [ebp - 0x28]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, eax
mov dword [edi + 4], ecx
cmp ecx, 0xffffffff
jne 0x1000a523
cmp dword [0x102eec30], 0
je 0x1000a506
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
mov dword [ebp - 0x30], eax
jb 0x1000a4d2
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [0x102eec30]
mov ecx, esi
push eax
push str.CCDetectWebProxyServerThreadProc:_Error_at_socket__:__ld_with_port__d_n
push 0x1025b044
push 0x1025b044
push dword [ebp - 0x30]
push str.c3containerBL
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x20
push dword [ebp - 0x28]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
cmp ebx, dword [ebp - 0x34]
jge 0x1000a664
mov eax, dword [edi + 0x64]
mov esi, dword [eax + ebx*4]
jmp 0x1000a434
mov eax, dword [ebp - 0x28]
push dword [eax + 0x10]
push dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1000a59a
cmp dword [0x102eec30], 0
je 0x1000a586
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
mov dword [ebp - 0x30], eax
jb 0x1000a552
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, dword [0x102eec30]
mov ecx, esi
push eax
push str.CCDetectWebProxyServerThreadProc:_bind_failed_with_error:__d__with_port__d_n
push 0x1025b044
push 0x1025b044
push dword [ebp - 0x30]
push str.c3containerBL
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x20
cmp ebx, dword [ebp - 0x34]
jge 0x1000a664
mov eax, dword [edi + 0x64]
mov esi, dword [eax + ebx*4]
jmp 0x1000a434
push dword [ebp - 0x28]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
push SysReAllocString
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x1000a614
cmp dword [0x102eec30], 0
je 0x1000a604
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
mov dword [ebp - 0x30], eax
jb 0x1000a5d0
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.CCDetectWebProxyServerThreadProc:_Listen_failed_with_error:__ld_with_port__d_n
push 0x1025b044
push 0x1025b044
push dword [ebp - 0x30]
mov esi, dword [0x102eec30]
mov ecx, esi
push str.c3containerBL
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x20
cmp ebx, dword [ebp - 0x34]
jge 0x1000a664
mov eax, dword [edi + 0x64]
mov esi, dword [eax + ebx*4]
jmp 0x1000a434
mov ebx, dword [0x102eec30]
test ebx, ebx
je 0x1000a64e
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x1000a629
mov eax, dword [eax]
push esi
push str.Bind_successful_on_port__d_n
push 0x1025b044
push 0x1025b044
push eax
push str.c3containerBL
push 0x1e
mov ecx, ebx
call dword [0x1024852c]
call ebx
add esp, 0x1c
mov al, 1
mov byte [edi + 0x2d], al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0x29]
cmp dword [0x102eec30], 0
je 0x1000a6bc
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x1000a67b
mov eax, dword [eax]
mov esi, dword [0x102eec30]
mov ecx, esi
push str.Not_able_to_bind_on_to_any_available_port
push 0x1025b044
push 0x1025b044
push eax
push str.c3containerBL
push 0x32
call dword [0x1024852c]
call esi
mov al, byte [ebp - 0x29]
add esp, 0x18
mov byte [edi + 0x2d], al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x2d], cl
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101cff65
mov esp, ebp
pop ebp
ret