Function at 0x4a73e0
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
lea ebp, [esp - 0xb8]
sub esp, 0xb8
push 0xffffffffffffffff
push 0x52b3d5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x57f578]
xor eax, ebp
mov dword [ebp + 0xb4], 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 + 0xc4]
mov ebx, dword [ebp + 0xc0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xcc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
jne 0x4a773b
lea ecx, [ebp + 4]
call fcn.004a7220
mov dword [ebp - 4], 0
push str.lh.kehuduan.2345.com
call fcn.00409590
add esp, 4
lea ecx, [ebp + 4]
push eax
push str.lh.kehuduan.2345.com
call fcn.004092c0
push str._khd_index.php
call fcn.00409590
add esp, 4
lea ecx, [ebp + 0x1c]
push eax
push str._khd_index.php
call fcn.004092c0
push 0x557c44
call fcn.00409590
add esp, 4
lea ecx, [ebp + 0x34]
push eax
push 0x557c44
call fcn.004092c0
push str.1.0.0.1
call fcn.00409590
add esp, 4
lea ecx, [ebp + 0x4c]
push eax
push str.1.0.0.1
call fcn.004092c0
push str.59ad61c33118c52847c23ae328fadaa0
call fcn.004028a0
add esp, 4
lea ecx, [ebp + 0x64]
push eax
push str.59ad61c33118c52847c23ae328fadaa0
call fcn.00409420
push 0x110
mov dword [ebp + 0xb0], 0
call fcn.004e67b9
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov dword [esi], 0
call fcn.004357d0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x38]
call fcn.004a7220
mov byte [ebp - 4], 3
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov byte [ebp - 4], 4
lea ecx, [esi + 0xcc]
call fcn.004a8470
mov byte [ebp - 4], 5
lea ecx, [esi + 0x108]
xor eax, eax
xchg dword [ecx], eax
mov byte [ebp - 4], 0
mov eax, 1
mov dword [ebp + 0xb0], esi
lock xadd dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [esi]
cmp eax, 1
jne 0x4a76ea
lea ecx, [ebp + 4]
call fcn.00408e80
test al, al
jne 0x4a76ea
lea ecx, [ebp + 0x1c]
call fcn.00408e80
test al, al
jne 0x4a76ea
lea ecx, [ebp + 0x34]
call fcn.00408e80
test al, al
jne 0x4a76ea
lea ecx, [ebp + 0x4c]
call fcn.00408e80
test al, al
jne 0x4a76ea
lea eax, [ebp + 4]
push eax
lea ecx, [esi + 0x38]
call fcn.004a87a0
mov edx, dword [esi + 0xc4]
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00436750
mov eax, dword [esi + 0xc0]
mov dword [esi + 0xc4], eax
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xe4]
call fcn.00436750
mov eax, dword [esi + 0xe4]
lea ecx, [esi + 0xf0]
add esp, 4
mov dword [esi + 0xe8], eax
call fcn.004a8aa0
lea ecx, [esi + 0xfc]
call fcn.004a8a70
lea ecx, [esi + 0xcc]
call fcn.00409140
mov dword [ebp - 0x14], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x4a763b
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00409800
add esp, 8
lea ecx, [ebp + 0x8c]
call fcn.00408fb0
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movq qword [ebp + 0xa4], xmm0
mov dword [ebp + 0xac], 0
mov dword [ebp + 0xa4], 0
mov dword [ebp + 0xa8], 0
mov dword [ebp + 0xac], 0
mov byte [ebp - 4], 8
lea eax, [ebp + 0xa4]
push ecx
push eax
lea eax, [ebp + 0x8c]
push eax
lea ecx, [ebp + 0xb0]
call fcn.004a8890
test eax, eax
je 0x4a76b7
cmp eax, 3
je 0x4a76cc
mov byte [edi + 0xc], 1
jmp 0x4a76cc
lea eax, [ebp + 0xa4]
push eax
push ecx
mov ecx, edi
call fcn.004a7830
mov word [edi + 0xc], 0x101
mov byte [ebp - 4], 7
lea ecx, [ebp + 0xa4]
call fcn.004365f0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x8c]
call fcn.00408080
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xb0]
call fcn.004a8350
mov dword [ebp - 4], 0xc
lea ecx, [ebp + 0x64]
call fcn.004090a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0x4c]
call fcn.00408080
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x34]
call fcn.00408080
mov byte [ebp - 4], 9
lea ecx, [ebp + 0x1c]
call fcn.00408080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 4]
call fcn.00408080
mov ecx, dword [ebp - 0x18]
mov al, byte [edi + 0xd]
push ebx
mov dword [ebp], 0
mov byte [ecx], al
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0044e750
mov esi, dword [edi]
mov ebx, dword [ebp]
cmp ebx, esi
je 0x4a776f
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + 0x10]
push eax
call fcn.0040d980
test eax, eax
jns 0x4a7771
mov ebx, esi
cmp ebx, esi
je 0x4a777d
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
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 + 0xb4]
xor ecx, ebp
call fcn.004e679a
lea esp, [ebp + 0xb8]
pop ebp
ret 0x10