Function at 0x414d00
Capabilities:
Reference cloudflare dns server

Disassembly:
sub esp, 0x2c0
lea eax, [esp + 0x40]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItemTextA]
push ebp
mov ebp, dword [esp + 0x2cc]
push esi
push edi
push 0x1a
push eax
push 0x66
push ebp
call ebx
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x414d41
push 0x30
push 0x4283b0
push 0x49
jmp 0x414de3
lea ecx, [esp + 0x50]
push ecx
call fcn.00415b10
mov eax, dword [0x41e154]
add esp, 4
test eax, eax
je 0x414d63
push 0x10
push 0x428cac
push 0x65
push ebp
call ebx
test dword [0x42874c], 0x80000
je 0x414d94
mov edi, str.1.1.1.1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x428cac
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x428cac
call fcn.0040af30
add esp, 4
cmp eax, 0xffffffff
je 0x414dc0
push 0x428cac
call fcn.0040af30
add esp, 4
test eax, eax
je 0x414dc0
mov byte [0x428330], 0
jmp 0x414e36
mov eax, dword [0x41e154]
test eax, eax
jne 0x414e05
mov edi, 0x428cac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x414e05
push 0x30
push 0x4283b0
push 0x47
call fcn.004047d0
add esp, 4
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c0
ret 4
push 0x20
push 0x428330
push 0x65
push ebp
call ebx
mov edi, str.1.1.1.1
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x428cac
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 1
push 0x428cac
call fcn.0040af30
add esp, 4
push eax
call fcn.004051a0
mov ecx, 6
lea esi, [esp + 0x58]
lea edi, [esp + 0x2c]
add esp, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push 0x13
push ecx
push 0x67
movsb byte es:[edi], byte [esi]
push ebp
mov byte [esp + 0x4d], 0
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jbe 0x414ec8
push 0x10
push 0x32
call fcn.004047d0
add esp, 4
lea edx, [esp + 0xd4]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0xd0]
push 0x30
push 0x4283b0
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c0
ret 4
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x414f16
lea ecx, [esp + 0xd0]
push 0x41f740
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp + 0xd0]
push 0x30
push 0x4283b0
push edx
push ebp
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c0
ret 4
lea eax, [esp + 0x3e]
push 0x11
push eax
push 0x67
push ebp
call ebx
lea ecx, [esp + 0x3e]
push ecx
call fcn.00415bd0
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
add esp, 4
push 0
push 0
push 0xf0
push 0x68
push ebp
call esi
test eax, eax
mov al, byte [0x429498]
jne 0x414f50
and al, 0xf7
jmp 0x414f52
or al, 8
push 0
push 0
push 0xf0
push 0x6c
push ebp
mov byte [0x429498], al
call esi
cmp eax, 1
mov al, byte [0x429498]
jne 0x414f73
or al, 0x20
jmp 0x414f75
and al, 0xdf
push 0
push 0
push 0xf0
push 0x6b
push ebp
mov byte [0x429498], al
call esi
cmp eax, 1
mov al, byte [0x429498]
jne 0x414f96
or al, 0x40
jmp 0x414f98
and al, 0xbf
lea edx, [esp + 0x24]
mov byte [0x429498], al
push edx
call fcn.00414710
add esp, 4
push 1
push ebp
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c0
ret 4