Function at 0x42e070
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afe13
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004372d0
mov byte [ebp - 4], 1
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.00436730
mov byte [ebp - 4], 2
push 0x4af4b8
lea ecx, [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0043d860
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043e4f0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1c8]
push edx
lea ecx, [ebp - 0x28]
call fcn.0043d860
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1cc]
push ecx
call fcn.00435b30
add esp, 0x14
lea ecx, [ebp - 0x28]
call fcn.0043f1b0
cmp eax, 3
jae 0x42e178
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00436ff0
mov eax, dword [ebp - 0x1a0]
or eax, 1
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00438400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004387e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
mov eax, dword [ebp + 8]
jmp 0x42e600
push str.explorer.exe
lea ecx, [ebp - 0x28]
push ecx
call fcn.004310c0
add esp, 8
movzx edx, al
test edx, edx
je 0x42e1e0
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00436ff0
mov ecx, dword [ebp - 0x1a0]
or ecx, 1
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00438400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004387e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
mov eax, dword [ebp + 8]
jmp 0x42e600
push 0x4b9d57
lea ecx, [ebp - 0xf0]
call fcn.00436820
mov byte [ebp - 4], 3
mov byte [ebp - 0x1a5], 0
mov edx, dword [ebp - 0x190]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x19c], 0xfffffffe
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x190]
add ecx, 0x14
call fcn.0043d7f0
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, dword [ebp - 0x190]
add ecx, 0x14
call fcn.0043e480
mov byte [ebp - 0x189], 0
jmp 0x42e25c
push 0
lea edx, [ebp - 0x1d0]
push edx
lea ecx, [ebp - 0x198]
call fcn.00439390
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x198]
call fcn.00439140
movzx ecx, al
test ecx, ecx
je 0x42e3e3
lea ecx, [ebp - 0x198]
call fcn.00439290
add eax, 0x28
push eax
lea ecx, [ebp - 0x40]
call fcn.00436730
mov byte [ebp - 4], 4
push 0x4af4b8
lea edx, [ebp - 0x1d4]
push edx
lea ecx, [ebp - 0x40]
call fcn.0043d860
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0043e4f0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043d860
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1e0]
push edx
call fcn.00435b30
add esp, 0x14
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1bc]
push ecx
mov ecx, dword [ebp - 0x190]
call fcn.00430430
mov byte [ebp - 4], 5
mov dword [ebp - 0x1a4], 0
jmp 0x42e313
mov edx, dword [ebp - 0x1a4]
add edx, 1
mov dword [ebp - 0x1a4], edx
lea ecx, [ebp - 0x1bc]
call fcn.004404d0
cmp dword [ebp - 0x1a4], eax
jae 0x42e39b
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.0043d7c0
push eax
call fcn.004310a0
add esp, 8
movzx edx, al
test edx, edx
je 0x42e396
lea ecx, [ebp - 0x198]
call fcn.00439290
movzx eax, byte [eax + 0xc]
test eax, eax
je 0x42e396
lea ecx, [ebp - 0x198]
call fcn.00439290
mov ecx, dword [eax + 8]
mov dword [ebp - 0x19c], ecx
lea ecx, [ebp - 0x198]
call fcn.00439290
add eax, 0x10
push eax
lea ecx, [ebp - 0xf0]
call fcn.00438ca0
mov byte [ebp - 0x189], 1
jmp 0x42e39b
jmp 0x42e304
movzx edx, byte [ebp - 0x189]
test edx, edx
je 0x42e3c3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1bc]
call fcn.00438710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00438400
jmp 0x42e3e3
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1bc]
call fcn.00438710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00438400
jmp 0x42e248
cmp dword [ebp - 0x19c], 0
jl 0x42e596
cmp dword [ebp - 0x19c], 0x2711
jne 0x42e401
jmp 0x42e596
cmp dword [ebp - 0x19c], 0x2712
jne 0x42e476
push 0x4ba948
lea ecx, [ebp - 0xa0]
call fcn.00438d10
mov dword [ebp - 0xd8], 0
push str.1.1.1.1
lea ecx, [ebp - 0xd0]
call fcn.00438d10
push 0x4b9d5a
lea ecx, [ebp - 0x70]
call fcn.00438d10
push 0x4ba958
lea ecx, [ebp - 0xb8]
call fcn.00438d10
push 0x4ba95c
lea ecx, [ebp - 0x58]
call fcn.00438d10
push 0x4b9d5b
lea ecx, [ebp - 0x88]
call fcn.00438d10
jmp 0x42e596
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x194]
push ecx
mov ecx, dword [ebp - 0x190]
call fcn.0043ebf0
lea edx, [ebp - 0x1e4]
push edx
mov ecx, dword [ebp - 0x190]
call fcn.0043e480
push eax
lea ecx, [ebp - 0x194]
call fcn.00439140
movzx eax, al
test eax, eax
je 0x42e55a
lea ecx, [ebp - 0x194]
call fcn.00439290
add eax, 0x3c
push eax
lea ecx, [ebp - 0xa0]
call fcn.00438ca0
lea ecx, [ebp - 0x194]
call fcn.00439290
mov ecx, dword [eax + 4]
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0x194]
call fcn.00439290
add eax, 0xc
push eax
lea ecx, [ebp - 0xd0]
call fcn.00438ca0
lea ecx, [ebp - 0x194]
call fcn.00439290
add eax, 0x6c
push eax
lea ecx, [ebp - 0x70]
call fcn.00438ca0
lea ecx, [ebp - 0x194]
call fcn.00439290
add eax, 0x24
push eax
lea ecx, [ebp - 0xb8]
call fcn.00438ca0
push str.Proxy:
lea ecx, [ebp - 0x58]
call fcn.00438d10
lea ecx, [ebp - 0x194]
call fcn.00439290
add eax, 0x54
push eax
lea ecx, [ebp - 0x88]
call fcn.00438ca0
jmp 0x42e596
mov edx, dword [ebp - 0x19c]
push edx
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp - 0x190]
call fcn.00430580
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.00438e20
lea ecx, [ebp - 0x188]
call fcn.004387e0
mov edx, dword [ebp - 0x190]
add edx, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0xd8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00436ff0
mov ecx, dword [ebp - 0x1a0]
or ecx, 1
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.00438400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00438400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.004387e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00438400
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.004adff8
mov esp, ebp
pop ebp
ret 0x1c