Function at 0x402b20
Capabilities:
Reference alidns dns server

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4227cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x432070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
movups xmm0, xmmword [0x42f068]
mov eax, dword [0x42f078]
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x54], 0
call fcn.00401300
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 4
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x42f07c
call dword [fcn.00423190]
push eax
lea ecx, [ebp - 0x64]
call fcn.00401160
mov esi, eax
lea eax, [ebp - 0x28]
push eax
push 0x42f088
call fcn.00402a00
add esp, 8
test esi, esi
jne 0x402d55
push 0x42f0a0
call fcn.00402a00
add esp, 4
mov byte [ebp - 0x29], 0
push 0x42f068
call dword [0x4231c8]
test eax, eax
jne 0x402ce8
push 0x42f0ac
call fcn.00402a00
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], esi
mov ecx, edi
mov byte [edi], 0
push 0xb
push 0x42f0c0
call fcn.00402200
call dword [0x4231b0]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402cc1
push eax
call fcn.004074a6
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 0x50]
call fcn.004020f0
lea ecx, [ebx + 8]
call fcn.00401fa0
mov eax, edi
jmp 0x402e90
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x402d0d
push dword [eax]
call dword [0x423188]
lea edx, [ebp - 0x29]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x402d00
lea eax, [ebp - 0x29]
mov ecx, edi
push eax
call fcn.00402090
call dword [0x4231b0]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402d2e
push eax
call fcn.004074a6
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 0x50]
call fcn.004020f0
lea ecx, [ebx + 8]
call fcn.00401fa0
mov eax, edi
jmp 0x402e90
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x38]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x68], eax
je 0x402d99
cmp dword [esi + 0x14], 0x10
jb 0x402d7f
mov eax, dword [esi]
jmp 0x402d81
mov eax, esi
push eax
inc edi
push edi
push 0x42f0cc
call fcn.00402a00
add esp, 0xc
add esi, 0x18
cmp edi, dword [ebp - 0x68]
jne 0x402d75
mov ecx, dword [ebp - 0x40]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x44]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x68], eax
je 0x402de4
nop dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x402dca
mov eax, dword [esi]
jmp 0x402dcc
mov eax, esi
push eax
inc edi
push edi
push 0x42f0e0
call fcn.00402a00
add esp, 0xc
add esi, 0x18
cmp edi, dword [ebp - 0x68]
jne 0x402dc0
push dword [ebp - 0x6c]
push 0x42f0f0
call fcn.00402a00
mov esi, dword [ebp - 0x70]
add esp, 8
mov ecx, esi
push 0xffffffffffffffff
push 0
push dword [ebp - 0x38]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.00402300
call dword [0x4231b0]
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x402e2c
push eax
call fcn.004074a6
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.00403070
lea ecx, [ebp - 0x38]
call fcn.00403070
lea ecx, [ebp - 0x50]
call fcn.004020f0
mov eax, dword [ebx + 0x1c]
cmp eax, 0x10
jb 0x402e8e
mov ecx, dword [ebx + 8]
inc eax
cmp eax, 0x1000
jb 0x402e85
test cl, 0x1f
je 0x402e61
call fcn.0040e8aa
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x402e6d
call fcn.0040e8aa
sub ecx, eax
cmp ecx, 4
jae 0x402e79
call fcn.0040e8aa
cmp ecx, 0x23
jbe 0x402e83
call fcn.0040e8aa
mov ecx, eax
push ecx
call fcn.004074a1
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040744f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret