Function at 0x4157e0
Capabilities:
Reference cloudflare dns server
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x440716
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x44e2d0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e2d0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
xor esi, esi
push esi
mov ebx, ecx
mov edi, 0xf
push 0x4467ff
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], esi
mov byte [esp + 0xc4], 0
call fcn.004060e0
mov dword [esp + 0xe0], esi
push 7
push str.1.0.0.1
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], esi
mov byte [esp + 0xa8], 0
call fcn.004060e0
push 0xffffffffffffffff
mov byte [esp + 0xe4], 1
push esi
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], esi
mov byte [esp + 0x58], 0
call fcn.00404dc0
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0xc0]
mov byte [esp + 0xe8], 2
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], esi
mov byte [esp + 0x90], 0
call fcn.00404dc0
push 0xffffffffffffffff
mov byte [esp + 0xe4], 3
push esi
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], esi
mov byte [esp + 0x74], 0
call fcn.00404dc0
mov byte [esp + 0xe0], 4
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
lea edx, [ebx + 0x18]
lea ecx, [ebx + 0x28]
push eax
call fcn.00416840
mov byte [esp + 0xe0], 5
mov eax, dword [ebx + 0x110]
push eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ebp, dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [ebx + 0x100]
push esi
mov dword [esp + 0x18], eax
call ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x30], eax
call fcn.00416580
mov edx, dword [edi + 4]
push edx
lea ecx, [esp + 0x3c]
call fcn.004146f0
mov eax, dword [ebx + 0xab]
push eax
call ebp
mov esi, dword [edi + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
call fcn.00416580
push 0
call ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
call fcn.00416580
movzx eax, word [ebx + 0xa7]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [edi + 4]
movzx edx, ax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], edx
call fcn.004164d0
push 0
call ebp
mov esi, dword [edi + 4]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
call fcn.00416580
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, dword [edi + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.00416580
lea ecx, [esp + 0x64]
mov ebx, edi
call fcn.004149e0
push 0
mov ebx, eax
call ebp
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], eax
call fcn.00416580
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [ebx + 4]
movzx edx, ax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edx
call fcn.004164d0
push 0
call ebp
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
call fcn.00416580
lea ecx, [esp + 0x80]
call fcn.004149e0
lea ecx, [esp + 0x48]
mov ebx, eax
call fcn.004149e0
mov eax, dword [esp + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x415a67
push eax
call fcn.004293c2
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
jb 0x415a8b
mov edx, dword [esp + 0x68]
push edx
call fcn.004293c2
add esp, 4
cmp dword [esp + 0x98], esi
mov edi, 0xf
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
jb 0x415ab5
mov eax, dword [esp + 0x84]
push eax
call fcn.004293c2
add esp, 4
cmp dword [esp + 0x60], esi
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x415add
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004293c2
add esp, 4
cmp dword [esp + 0xb4], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
jb 0x415b02
mov edx, dword [esp + 0xa0]
push edx
call fcn.004293c2
add esp, 4
cmp dword [esp + 0xd0], esi
jb 0x415b1b
mov eax, dword [esp + 0xbc]
push eax
call fcn.004293c2
add esp, 4
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0042877c
add esp, 0xd0
ret