Function at 0x10018280
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4877
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10138008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xc], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xcc], eax
jne 0x100185a4
lea ecx, [ebp - 0xc0]
call fcn.10018040
mov dword [ebp - 4], 0
push 0x1010bb08
call fcn.10004d20
add esp, 4
lea ecx, [ebp - 0xc0]
push eax
push 0x1010bb08
call fcn.100049b0
push str._khd_index.php
call fcn.10004d20
add esp, 4
lea ecx, [ebp - 0xa8]
push eax
push str._khd_index.php
call fcn.100049b0
push str.animate_mark
call fcn.10004d20
add esp, 4
lea ecx, [ebp - 0x90]
push eax
push str.animate_mark
call fcn.100049b0
push str.1.0.0.1
call fcn.10004d20
add esp, 4
lea ecx, [ebp - 0x78]
push eax
push str.1.0.0.1
call fcn.100049b0
push str.59ad61c33118c52847c23ae328fadaa0
call fcn.10004660
add esp, 4
lea ecx, [ebp - 0x60]
push eax
push str.59ad61c33118c52847c23ae328fadaa0
call fcn.10004b10
push 0x118
mov dword [ebp - 0x14], 0
call fcn.100bcc88
mov esi, eax
add esp, 4
mov dword [ebp - 0xc4], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov dword [esi], 0
call fcn.10015510
mov byte [ebp - 4], 2
lea ecx, [esi + 0x40]
call fcn.10018040
mov byte [ebp - 4], 3
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov byte [ebp - 4], 4
lea ecx, [esi + 0xd4]
call fcn.1001e660
mov byte [ebp - 4], 5
lea ecx, [esi + 0x110]
xor eax, eax
xchg dword [ecx], eax
mov byte [ebp - 4], 0
mov eax, 1
mov dword [ebp - 0x14], esi
lock xadd dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [esi]
cmp eax, 1
jne 0x1001854d
lea ecx, [ebp - 0xc0]
call fcn.10004710
test al, al
jne 0x1001854d
lea ecx, [ebp - 0xa8]
call fcn.10004710
test al, al
jne 0x1001854d
lea ecx, [ebp - 0x90]
call fcn.10004710
test al, al
jne 0x1001854d
lea ecx, [ebp - 0x78]
call fcn.10004710
test al, al
jne 0x1001854d
lea eax, [ebp - 0xc0]
push eax
lea ecx, [esi + 0x40]
call fcn.1001e9a0
mov edx, dword [esi + 0xcc]
push ecx
mov ecx, dword [esi + 0xc8]
call fcn.10016820
mov eax, dword [esi + 0xc8]
mov dword [esi + 0xcc], eax
mov edx, dword [esi + 0xf0]
mov ecx, dword [esi + 0xec]
call fcn.10016820
mov eax, dword [esi + 0xec]
lea ecx, [esi + 0xf8]
add esp, 4
mov dword [esi + 0xf0], eax
call fcn.1001ecb0
lea ecx, [esi + 0x104]
call fcn.1001ec40
lea ecx, [esi + 0xd4]
call fcn.10008ca0
lea ecx, [ebp - 0x38]
call fcn.100047b0
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.1001ea90
test eax, eax
je 0x10018523
cmp eax, 3
je 0x10018535
mov byte [edi + 0xc], 1
jmp 0x10018535
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, edi
call fcn.100186b0
mov word [edi + 0xc], 0x101
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.100164d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.10004720
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.1001e540
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x60]
call fcn.100046c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call fcn.10004720
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x90]
call fcn.10004720
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa8]
call fcn.10004720
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.10004720
mov ecx, dword [ebp - 0xcc]
mov al, byte [edi + 0xd]
push ebx
mov dword [ebp - 0xc4], 0
mov byte [ecx], al
lea eax, [ebp - 0xc4]
push eax
mov ecx, edi
call fcn.10018c30
mov esi, dword [edi]
mov ebx, dword [ebp - 0xc4]
cmp ebx, esi
je 0x100185e7
mov ecx, dword [ebp - 0xd0]
lea eax, [ebx + 0x10]
push eax
call fcn.10018db0
test eax, eax
jns 0x100185e9
mov ebx, esi
cmp ebx, esi
je 0x100185f8
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebx + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bcc77
mov esp, ebp
pop ebp
ret 0x10