Function at 0x42da40
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1068
call fcn.004493f0
mov eax, dword [0x463858]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x105c], eax
xor eax, eax
mov word [ebp - 0x1050], ax
lea eax, [ebp - 0x840]
push esi
mov dword [ebp - 0x84c], eax
xor eax, eax
push edi
push eax
mov dword [ebp - 0x1058], 0
mov dword [ebp - 0x1054], 0x400
mov dword [ebp - method.TMTStrStatic_1024_.virtual_0], vtable.TMTStrStatic_1024_.0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0x400
mov word [ebp - 0x840], ax
mov dword [ebp - method.TMTStrStatic_1024_.virtual_0], vtable.TMTStrStatic_1024_.0
call fcn.0043016f
mov dword [ebp - 0x1068], eax
add esp, 4
lea eax, [ebp - 0x1068]
push eax
mov dword [ebp - 0x1064], edx
call fcn.0042fed2
add esp, 4
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x3c]
push 0x1a
push eax
call fcn.0043448a
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1060]
push str.Time________:__s__n
push eax
call fcn.0042d210
mov ecx, dword [ebp - 0x84c]
add esp, 0x1c
test ecx, ecx
je 0x42db4e
mov edi, dword [ebp - 0x1058]
mov eax, dword [ebp - 0x844]
cmp edi, eax
jb 0x42db29
lea edi, [eax - 1]
lea esi, [edi + edi]
push esi
push dword [ebp - 0x105c]
push ecx
call fcn.00434630
mov eax, dword [ebp - 0x84c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x848], edi
mov word [esi + eax], cx
push str.Guard
lea eax, [ebp - 0x1060]
push str.Program_____:__s_n
push eax
call fcn.0042d210
mov edi, dword [ebp - 0x84c]
add esp, 0xc
test edi, edi
je 0x42dbcd
mov ecx, dword [ebp - 0x105c]
test ecx, ecx
je 0x42dbcd
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42db80
sub esi, edx
sar esi, 1
je 0x42dbcd
mov edx, dword [ebp - 0x848]
lea eax, [edx + esi]
cmp eax, dword [ebp - 0x844]
jae 0x42dbcd
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edi + edx*2]
push eax
call fcn.00434630
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
add ecx, esi
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x848], ecx
mov word [eax + ecx*2], dx
push str.1.1.1.1
lea eax, [ebp - 0x1060]
push str.Version_____:__s_n
push eax
call fcn.0042d210
mov edi, dword [ebp - 0x84c]
add esp, 0xc
test edi, edi
je 0x42dc4d
mov ecx, dword [ebp - 0x105c]
test ecx, ecx
je 0x42dc4d
mov esi, ecx
lea edx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42dc00
sub esi, edx
sar esi, 1
je 0x42dc4d
mov edx, dword [ebp - 0x848]
lea eax, [edx + esi]
cmp eax, dword [ebp - 0x844]
jae 0x42dc4d
lea eax, [esi + esi]
push eax
push ecx
lea eax, [edi + edx*2]
push eax
call fcn.00434630
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
add ecx, esi
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x848], ecx
mov word [eax + ecx*2], dx
call fcn.0042d280
mov edx, dword [ebp - 0x84c]
mov edi, eax
test edx, edx
je 0x42dcfb
test edi, edi
je 0x42dcc3
mov esi, edi
lea ecx, [esi + 2]
jmp 0x42dc70
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42dc70
sub esi, ecx
sar esi, 1
je 0x42dcc3
mov ecx, dword [ebp - 0x848]
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x844]
jae 0x42dcc9
lea eax, [esi + esi]
push eax
lea eax, [edx + ecx*2]
push edi
push eax
call fcn.00434630
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
add ecx, esi
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x848], ecx
mov word [eax + ecx*2], dx
mov edx, dword [ebp - 0x84c]
mov ecx, dword [ebp - 0x848]
test edx, edx
je 0x42dcfb
lea eax, [ecx + 1]
cmp eax, dword [ebp - 0x844]
jae 0x42dcfb
mov ax, word [0x45bb7c]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
inc ecx
xor edx, edx
mov dword [ebp - 0x848], ecx
mov word [eax + ecx*2], dx
call fcn.0042d860
mov ecx, dword [ebp - 0x84c]
mov edx, eax
test ecx, ecx
je 0x42dd72
test edx, edx
je 0x42dd72
mov esi, edx
lea edi, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42dd15
sub esi, edi
sar esi, 1
je 0x42dd72
mov edi, dword [ebp - 0x848]
lea eax, [edi + esi]
cmp eax, dword [ebp - 0x844]
jae 0x42dd72
lea eax, [esi + esi]
push eax
push edx
lea eax, [ecx + edi*2]
push eax
call fcn.00434630
mov ecx, dword [ebp - 0x848]
mov eax, dword [ebp - 0x84c]
add ecx, esi
add esp, 0xc
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [ebp - 0x84c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042f36b
mov esp, ebp
pop ebp
ret