Function at 0x10023780
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069f7d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100801a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
lea ebx, [esi + 8]
push 0xffffffffffffffff
push dword [ebx]
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
jb 0x100237d7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [esi + 0x4c], eax
test eax, eax
jne 0x10023932
push 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
call fcn.10042cf2
mov dword [ebp - 0x28], eax
mov ecx, 7
mov dword [ebp - 0x18], 0x1e
mov esi, str.Could_not_find_IP_address_for
mov dword [ebp - 0x14], 0x1f
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add esp, 4
movsw word es:[edi], word [esi]
mov byte [eax + 0x1e], 0
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
jb 0x1002383e
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, esi
mov edx, dword [ebp - 0x18]
sub eax, edx
mov edi, dword [ebp + 0x18]
cmp edi, eax
ja 0x10023877
lea eax, [edi + edx]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmp esi, 0x10
jb 0x10023860
mov eax, dword [ebp - 0x28]
push edi
lea esi, [eax + edx]
push ecx
push esi
call fcn.10044580
add esp, 0xc
mov byte [esi + edi], 0
lea edx, [ebp - 0x28]
jmp 0x1002388b
push edi
push ecx
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x44]
push edi
call fcn.10008860
mov edx, eax
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
add ecx, 0x14
lea eax, [ebp - 0x40]
mov dword [edx + 0x10], 0
push eax
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
call fcn.10005a00
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10023902
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100238f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023988
push ecx
push edx
call fcn.10042d22
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10023932
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023988
push ecx
push edx
call fcn.10042d22
add esp, 8
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1002396a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10023960
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002398d
push ecx
push edx
call fcn.10042d22
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10042ce4
mov esp, ebp
pop ebp
ret 0x18
call fcn.1004fd3c
call fcn.1004fd3c
int3