Function at 0x40c000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44014c
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x454654]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x454654]
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 [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xac], 1
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xac], 2
mov edx, dword [0x45a98c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45a98c
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 + 0x28], esi
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + eax*4 + 0x38]
push edx
push ecx
lea edi, [esp + 0x2c]
call fcn.004018c0
mov edi, dword [esp + 0x2c]
add esp, 0xc
push edi
lea ecx, [esp + 0x28]
call fcn.0040bb50
add esp, 4
mov byte [esp + 0xac], 4
mov ebx, dword [eax]
lea eax, [esp + 0x18]
call fcn.00403a10
mov byte [esp + 0xac], 3
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 0xc], 0
mov esi, dword [ecx - 0x10]
lea eax, [ecx - 0x10]
je 0x40c184
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x40c15e
cmp dword [ecx - 8], 0
jl 0x40c3c5
mov dword [ecx - 0xc], 0
mov eax, dword [esp + 0x24]
xor edx, edx
mov word [eax], dx
mov ecx, dword [esp + 0x24]
jmp 0x40c184
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x24], ecx
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c1a0
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 0x40c37f
lea ecx, [esp + 0x44]
push ecx
call fcn.00406b50
mov byte [esp + 0xac], 5
cmp dword [ebx - 4], 1
mov esi, dword [ebx - 0xc]
jle 0x40c1da
mov edx, esi
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00403b20
mov ebx, dword [esp + 0x18]
mov eax, esi
mov edi, ebx
lea edx, [esp + 0x44]
call fcn.00406bc0
test eax, eax
je 0x40c36a
push str.Answer
lea esi, [esp + 0x48]
call fcn.00406c40
cmp dword [eax], 0
jne 0x40c21b
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 0x40c21d
xor ebp, ebp
xor edi, edi
test ebp, ebp
jle 0x40c366
xor ebx, ebx
mov dword [esp + 0x2c], ebx
lea ecx, [ecx]
push str.Answer
lea esi, [esp + 0x48]
call fcn.00406c40
mov esi, eax
cmp dword [esi], 0
jne 0x40c28b
test edi, edi
jl 0x40c28b
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 0x40c28b
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 0x40c284
call fcn.00428397
mov esi, dword [esi + 0x4c]
add esi, ebx
jmp 0x40c290
mov esi, 0x45bad0
push str.type
call fcn.00406c40
cmp dword [eax], 2
jne 0x40c2a9
fld qword [eax + 0x38]
call fcn.0043e5c0
jmp 0x40c2ab
xor eax, eax
cmp eax, dword [esp + 0xbc]
jne 0x40c352
push str.Answer
lea esi, [esp + 0x48]
call fcn.00406c40
mov esi, eax
cmp dword [esi], 0
jne 0x40c313
test edi, edi
jl 0x40c313
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 0x40c313
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 0x40c30c
call fcn.00428397
mov esi, dword [esi + 0x4c]
add esi, ebx
jmp 0x40c318
mov esi, 0x45bad0
push str.data
call fcn.00406c40
cmp dword [eax], 3
jne 0x40c337
cmp dword [eax + 0x34], 0x10
jb 0x40c332
mov eax, dword [eax + 0x20]
jmp 0x40c339
add eax, 0x20
jmp 0x40c339
xor eax, eax
mov ebx, eax
lea eax, [esp + 0x1c]
call fcn.004036b0
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
jg 0x40c362
mov ebx, dword [esp + 0x2c]
inc edi
add ebx, 0x58
cmp edi, ebp
mov dword [esp + 0x2c], ebx
jl 0x40c230
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 3
call fcn.00401f70
mov edi, dword [esp + 0x20]
cmp dword [ebp - 0xc], 0
jg 0x40c397
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 4
jb 0x40c0d4
mov edx, dword [esp + 0x30]
push edx
mov ecx, ebp
call fcn.00403460
lea eax, [edi - 0x10]
mov byte [esp + 0xac], 2
cmp dword [eax + 4], 0
mov esi, dword [eax]
je 0x40c405
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40c3dd
cmp dword [edi - 8], 0
jge 0x40c3cf
push 0x80070057
call fcn.00401960
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x40c405
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c3f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov edi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c421
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
cmp dword [eax + 4], 0
mov esi, dword [eax]
je 0x40c481
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40c459
cmp dword [ebx - 8], 0
jge 0x40c44d
push 0x80070057
call fcn.00401960
mov dword [ebx - 0xc], 0
mov byte [ebx], 0
jmp 0x40c481
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c46f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, eax
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c49d
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
cmp dword [eax + 4], 0
mov esi, dword [eax]
je 0x40c500
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x40c4d8
cmp dword [ebp - 8], 0
jge 0x40c4c9
push 0x80070057
call fcn.00401960
xor ecx, ecx
mov dword [ebp - 0xc], 0
mov word [ebp], cx
jmp 0x40c500
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c4ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebp, eax
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c51c
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]
cmp dword [eax - 0xc], 0
mov esi, dword [eax - 0x10]
lea edx, [eax - 0x10]
je 0x40c598
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x40c56f
cmp dword [eax - 8], 0
jge 0x40c553
push 0x80070057
call fcn.00401960
mov dword [eax - 0xc], 0
mov edx, dword [esp + 0xb8]
xor ecx, ecx
mov word [edx], cx
mov eax, dword [esp + 0xb8]
jmp 0x40c598
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40c585
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 4]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
add eax, 0x10
mov dword [esp + 0xb8], eax
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
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.0042761e
add esp, 0x9c
ret