Function at 0x40ac30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42a32c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x43b14c]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43b14c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb4]
xor esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0xac], esi
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xac], 1
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xac], 2
mov edx, dword [0x44130c]
mov eax, dword [edx + 0xc]
mov ecx, 0x44130c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xac], 3
mov dword [esp + 0x34], str.https:__dns.alidns.com_resolve_name_stype_d
mov dword [esp + 0x38], str.http:__dns.alidns.com_resolve_name_stype_d
mov dword [esp + 0x3c], str.https:__223.5.5.5_resolve_name_stype_d
mov dword [esp + 0x40], str.http:__223.5.5.5_resolve_name_stype_d
mov dword [esp + 0x24], esi
jmp 0x40ad10
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + esi*4 + 0x34]
push ecx
push edx
push eax
lea edi, [esp + 0x2c]
call fcn.004016f0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push ecx
lea ecx, [esp + 0x30]
call fcn.0040a8e0
add esp, 4
mov byte [esp + 0xac], 4
mov ebx, dword [eax]
lea eax, [esp + 0x18]
call fcn.00403710
mov byte [esp + 0xac], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ad7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jle 0x40af5f
lea ecx, [esp + 0x44]
push ecx
call fcn.00405ff0
mov byte [esp + 0xac], 5
cmp dword [ebx - 4], 1
mov esi, dword [ebx - 0xc]
jle 0x40adb7
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004037a0
mov ebx, dword [esp + 0x18]
mov eax, esi
mov edi, ebx
lea edx, [esp + 0x44]
call fcn.00406060
test eax, eax
je 0x40af46
push str.Answer
lea esi, [esp + 0x48]
call fcn.004060e0
cmp dword [eax], 0
jne 0x40adf8
mov ecx, dword [eax + 0x50]
sub ecx, dword [eax + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
jmp 0x40adfa
xor ebp, ebp
xor edi, edi
test ebp, ebp
jle 0x40af46
xor ebx, ebx
mov dword [esp + 0x28], ebx
lea ebx, [ebx]
push str.Answer
lea esi, [esp + 0x48]
call fcn.004060e0
mov esi, eax
cmp dword [esi], 0
jne 0x40ae6b
test edi, edi
jl 0x40ae6b
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jae 0x40ae6b
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40ae64
call fcn.00419e01
mov esi, dword [esi + 0x4c]
add esi, ebx
jmp 0x40ae70
mov esi, 0x4420e0
push str.type
call fcn.004060e0
cmp dword [eax], 2
jne 0x40ae89
fld qword [eax + 0x38]
call fcn.004292c0
jmp 0x40ae8b
xor eax, eax
cmp eax, dword [esp + 0xbc]
jne 0x40af32
push str.Answer
lea esi, [esp + 0x48]
call fcn.004060e0
mov esi, eax
cmp dword [esi], 0
jne 0x40aef3
test edi, edi
jl 0x40aef3
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jae 0x40aef3
mov ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x4c]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40aeec
call fcn.00419e01
mov esi, dword [esi + 0x4c]
add esi, ebx
jmp 0x40aef8
mov esi, 0x4420e0
push str.data
call fcn.004060e0
cmp dword [eax], 3
jne 0x40af17
cmp dword [eax + 0x34], 0x10
jb 0x40af12
mov eax, dword [eax + 0x20]
jmp 0x40af19
add eax, 0x20
jmp 0x40af19
xor eax, eax
mov ebx, eax
lea eax, [esp + 0x1c]
call fcn.004031f0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jg 0x40af42
mov ebx, dword [esp + 0x28]
inc edi
add ebx, 0x58
cmp edi, ebp
mov dword [esp + 0x28], ebx
jl 0x40ae10
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 3
call fcn.00401e70
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
cmp dword [ebp - 0xc], 0
jg 0x40af73
inc esi
mov dword [esp + 0x24], esi
cmp esi, 4
jb 0x40ad10
mov esi, dword [esp + 0x30]
push esi
mov ecx, ebp
call fcn.00403020
mov byte [esp + 0xac], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40afa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0xac], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40afcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0xac], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40afef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b01d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00419054
add esp, 0x9c
ret