Function at 0x10009ef0
Capabilities:
Access peb ldr_data
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10029da8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003b030]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
xor ebx, ebx
push str.WSHTCPIP.DLL
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x1004130c]
mov edx, dword [eax + 0xc]
mov ecx, 0x1004130c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], eax
lea esp, [esp]
cmp eax, ebx
jne 0x10009f9e
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x68
push 5
push ebp
mov dword [esp + 0x30], ebx
call sub.DNSAPI.dll_DnsQuery_W
cmp eax, ebx
jne 0x1000a040
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000a040
mov ebx, dword [eax + 0x18]
lea eax, [esp + 0x14]
call fcn.100035c0
mov ecx, dword [esp + 0x18]
push 1
push ecx
call sub.DNSAPI.dll_DnsFree
mov esi, dword [esp + 0x14]
jmp 0x1000a040
cmp eax, 1
jne 0x1000a040
push 5
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, ebp
call fcn.10002f50
lea eax, [esp + 0x28]
push eax
call fcn.1000aa70
add esp, 0xc
mov byte [esp + 0x38], 1
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x1000a01b
cmp dword [edi + 0xc], ebx
lea esi, [edi + 0xc]
jl 0x1000a00a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x1000a00a
call fcn.10003910
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1000a001
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x1000a01b
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.10003880
mov esi, dword [esp + 0x14]
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a040
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 0xc], 0
jle 0x1000a16b
push 0x2e
push esi
call fcn.10019ebb
add esp, 8
test eax, eax
jne 0x1000a05e
or eax, 0xffffffff
jmp 0x1000a060
sub eax, esi
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.1000daa0
mov byte [esp + 0x38], 2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1000a0c0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1000a0b3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1000a0b3
call fcn.10003910
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1000a0aa
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x1000a0c0
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.10003880
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a0e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
call fcn.1000d8b0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
call fcn.10003000
mov byte [esp + 0x38], 3
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call fcn.10016670
mov byte [esp + 0x38], 4
mov ebx, dword [eax]
lea eax, [esp + 0x14]
call fcn.100035c0
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a167
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
jg 0x1000a184
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x10009f50
mov edi, dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.10003000
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000a1b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret