Function at 0x409e00
Capabilities:
Access peb ldr_data
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x427db8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
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 [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
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 0x409eae
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 0x409f50
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409f50
mov ebx, dword [eax + 0x18]
lea eax, [esp + 0x14]
call fcn.00403310
mov ecx, dword [esp + 0x18]
push 1
push ecx
call sub.DNSAPI.dll_DnsFree
mov esi, dword [esp + 0x14]
jmp 0x409f50
cmp eax, 1
jne 0x409f50
push 5
push ecx
mov edx, esp
mov dword [esp + 0x20], esp
push edx
mov ecx, ebp
call fcn.004033a0
lea eax, [esp + 0x28]
push eax
call fcn.0040aaa0
add esp, 0xc
mov byte [esp + 0x38], 1
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x409f2b
cmp dword [edi + 0xc], ebx
lea esi, [edi + 0xc]
jl 0x409f1a
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x409f1a
call fcn.00403cd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x409f11
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 0x409f2b
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00403c40
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 0x409f50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi - 0xc], 0
jle 0x40a07b
push 0x2e
push esi
call fcn.004182fc
add esp, 8
test eax, eax
jne 0x409f6e
or eax, 0xffffffff
jmp 0x409f70
sub eax, esi
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
call fcn.0040d060
mov byte [esp + 0x38], 2
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x409fd0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x409fc3
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x409fc3
call fcn.00403cd0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409fba
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 0x409fd0
mov edi, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00403c40
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 0x409ff5
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.0040ce70
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
call fcn.00403450
mov byte [esp + 0x38], 3
mov edx, dword [eax]
lea ecx, [esp + 0x28]
call fcn.00414980
mov byte [esp + 0x38], 4
mov ebx, dword [eax]
lea eax, [esp + 0x14]
call fcn.00403310
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 0x40a052
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 0x40a077
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 0x40a094
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, 2
mov dword [esp + 0x1c], eax
jl 0x409e60
mov edi, dword [esp + 0x40]
push edi
mov ecx, esi
call fcn.00403450
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 0x40a0c4
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