Function at 0x411590
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433c92
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x448008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], 0
lea ecx, [ebp - 0x118]
call fcn.00406a40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00406a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00406a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00411300
mov byte [ebp - 4], 3
push 0x43d268
lea ecx, [ebp - 0x118]
call fcn.00405d40
lea eax, [ebp - 0x13c]
push eax
call fcn.00411480
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x138]
push edx
lea ecx, [ebp - 0x120]
call fcn.00402ba0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.00406270
lea ecx, [ebp - 0x120]
call fcn.00402bc0
movzx eax, al
test eax, eax
je 0x4116d1
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405610
mov edx, dword [ebp - 0x11c]
or edx, 1
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00411460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00406270
mov eax, dword [ebp + 8]
jmp 0x411910
push 0x43d278
lea ecx, [ebp - 0x120]
call fcn.00402b80
push 0
push 0
push 0x80
push 3
push 1
push 0x80000000
lea ecx, [ebp - 0x120]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x12c]
call fcn.00411320
test eax, eax
jge 0x411773
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405610
mov ecx, dword [ebp - 0x11c]
or ecx, 1
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00411460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00406270
mov eax, dword [ebp + 8]
jmp 0x411910
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x12c]
call fcn.00411410
test eax, eax
jge 0x4117ee
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405610
mov ecx, dword [ebp - 0x11c]
or ecx, 1
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00411460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00406270
mov eax, dword [ebp + 8]
jmp 0x411910
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x124]
call fcn.004130d0
push eax
lea ecx, [ebp - 0x12c]
call fcn.004113b0
test eax, eax
jl 0x411823
mov dword [ebp - 0x130], 1
jmp 0x41182d
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x150], ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x124]
call fcn.00413080
lea ecx, [ebp - 0x124]
call fcn.00402bc0
movzx edx, al
test edx, edx
jne 0x4118b0
push 0xfde9
lea ecx, [ebp - 0x124]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x114]
call fcn.00413130
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x144]
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x118]
call fcn.00405d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x114]
call fcn.00410a00
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405610
mov edx, dword [ebp - 0x11c]
or edx, 1
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.00411460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00406270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00406270
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00406270
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419340
mov esp, ebp
pop ebp
ret