Function at 0x414aa0
Capabilities:
Reference cloudflare dns server

Disassembly:
sub esp, 0x4c
push ebx
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
push 0
push 0
push ebp
call fcn.0040a2d0
push ebp
call fcn.0040f7a0
push 0x2c
call fcn.004047d0
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
add esp, 0x14
push eax
push 0x384
push ebp
call ebx
push 0x2b
call fcn.004047d0
add esp, 4
push eax
push 0x385
push ebp
call ebx
push 0x2a
call fcn.004047d0
add esp, 4
push eax
push 0x386
push ebp
call ebx
push 0x23
call fcn.004047d0
add esp, 4
push eax
push 0x68
push ebp
call ebx
push 0x26
call fcn.004047d0
add esp, 4
push eax
push 1
push ebp
call ebx
push 0x25
call fcn.004047d0
add esp, 4
push eax
push 2
push ebp
call ebx
push 0x1d
call fcn.004047d0
add esp, 4
push eax
push 0x6c
push ebp
call ebx
push 0x1e
call fcn.004047d0
add esp, 4
push eax
push 0x6b
push ebp
call ebx
test dword [0x42868c], 0x8000000
je 0x414b8c
mov edi, 0x4291e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x414b71
push 0x4291e8
push 0x6c
push ebp
call ebx
mov edi, 0x4290e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x414b8c
push 0x4290e8
push 0x6b
push ebp
call ebx
mov eax, dword [0x41e158]
test eax, eax
jne 0x414ba7
push 0
push 0x65
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [0x429490], 0x1010101
jne 0x414c12
mov edi, 0x41e198
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x414c12
mov eax, dword [0x42874c]
test ah, 4
je 0x414c12
mov edi, 0x41e198
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x428cac
mov eax, ecx
mov esi, edi
mov edi, 0x428cac
mov byte [0x428330], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040af30
add esp, 4
push eax
call fcn.004051a0
add esp, 8
mov al, byte [0x428330]
test al, al
jne 0x414c2b
push 0x429490
call fcn.0040a1d0
add esp, 4
push eax
jmp 0x414c30
push 0x428330
push 0x65
push ebp
call ebx
lea ecx, [esp + 0x30]
push ecx
call fcn.00414940
add esp, 4
lea edx, [esp + 0x30]
push edx
push 0x66
push ebp
call ebx
mov al, byte [0x429498]
push 0
test al, 8
jne 0x414c6b
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 0
push 0xf1
push 0x68
push ebp
call esi
jmp 0x414cac
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push 1
push 0xf1
push 0x68
push ebp
call esi
mov ecx, dword [esp + 0x4e]
mov eax, dword [esp + 0x4a]
mov edx, dword [esp + 0x52]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x56]
push ecx
push 0x67
push ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 0
call ebx
mov al, byte [0x429498]
shr al, 5
and al, 3
cmp al, 1
jne 0x414cc7
push 0
push 1
push 0xf1
push 0x6c
jmp 0x414cd6
cmp al, 2
jne 0x414cd9
push 0
push 1
push 0xf1
push 0x6b
push ebp
call esi
test dword [0x42868c], 0x4000000
je 0x414cf7
push 0
push 0x68
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret