Function at 0x49b2b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5db1
mov eax, dword fs:[0]
push eax
mov eax, 0x2089c
call fcn.004ae2d0
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20844], ecx
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str.udpget__oldlen___d_n
lea edx, [ebp - 0x410]
push edx
call fcn.00441870
add esp, 0xc
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x20844]
add ecx, 0x30
push ecx
lea ecx, [ebp - 0x20878]
call fcn.0048f930
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
add edx, 0x18
push edx
lea eax, [ebp - 0x20848]
push eax
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.00495470
cmp dword [ebp + 0xc], 0
jne 0x49b414
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20844]
call fcn.004946f0
lea edx, [ebp - 0x20894]
push edx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.0043e480
push eax
lea ecx, [ebp - 0x20848]
call fcn.00439140
movzx eax, al
test eax, eax
je 0x49b3fd
lea ecx, [ebp - 0x20848]
call fcn.00439290
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2087c], ecx
mov edx, dword [ebp - 0x2087c]
mov dword [ebp - 0x20860], edx
cmp dword [ebp - 0x20860], 0
je 0x49b3d7
push 1
mov ecx, dword [ebp - 0x20860]
call fcn.00491490
mov dword [ebp - 0x20880], eax
jmp 0x49b3e1
mov dword [ebp - 0x20880], 0
mov eax, dword [ebp - 0x20848]
push eax
lea ecx, [ebp - 0x20898]
push ecx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.0048f570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20878]
call fcn.00490ae0
jmp 0x49b845
lea edx, [ebp - 0x2089c]
push edx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.0043e480
push eax
lea ecx, [ebp - 0x20848]
call fcn.00439040
movzx eax, al
test eax, eax
je 0x49b462
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20844]
call fcn.004946f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20878]
call fcn.00490ae0
jmp 0x49b845
push str.0000000
lea ecx, [ebp - 0x20840]
call fcn.00436820
mov byte [ebp - 4], 1
push 0x4c4bac
lea ecx, [ebp - 0x20828]
call fcn.00436820
mov byte [ebp - 4], 2
mov dword [ebp - 0x20864], 1
cmp dword [ebp - 0x20864], 0
jne 0x49b4a2
jmp 0x49b7a2
cmp dword [ebp - 0x20864], 1
jne 0x49b7a2
cmp dword [ebp + 0xc], 7
jbe 0x49b767
lea ecx, [ebp - 0x20848]
call fcn.00439290
mov edx, dword [eax + 8]
mov dword [ebp - 0x20850], edx
push 0xffff
push 0
lea eax, [ebp - 0x10810]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0xffff
push 0
lea ecx, [ebp - 0x20810]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
push eax
lea eax, [ebp - 0x20810]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x20854], 0
mov ecx, dword [ebp - 0x20850]
add ecx, 0x160
push ecx
mov edx, dword [ebp - 0x20850]
add edx, 0x260
push edx
call fcn.004a8e70
add esp, 8
mov dword [ebp - 0x2084c], eax
lea eax, [ebp - 0x20854]
push eax
lea ecx, [ebp - 0x10810]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20810]
push eax
mov ecx, dword [ebp - 0x2084c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2084c]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp + 0x14], 0
jne 0x49b70b
cmp dword [ebp - 0x20854], 7
jbe 0x49b70b
lea ecx, [ebp - 0x10810]
mov dword [ebp - 0x20868], ecx
mov edx, dword [ebp - 0x20868]
movsx eax, byte [edx]
cmp eax, 1
jne 0x49b5ff
mov ecx, dword [ebp - 0x20850]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x20850]
add eax, 8
push eax
mov ecx, dword [ebp - 0x20854]
sub ecx, 7
push ecx
mov edx, 1
imul eax, edx, 7
lea ecx, [ebp + eax - 0x10810]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp - 0x20844]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20844]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx]
call eax
jmp 0x49b70b
mov ecx, dword [ebp - 0x20868]
movsx edx, byte [ecx]
cmp edx, 4
jne 0x49b70b
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
mov dword [ebp - 0x208a0], eax
mov eax, dword [ebp + 0x10]
add eax, 0x18
push eax
lea ecx, [ebp - 0x2086c]
push ecx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.00495470
lea edx, [ebp - 0x208a4]
push edx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.0043e480
push eax
lea ecx, [ebp - 0x2086c]
call fcn.00439040
movzx eax, al
test eax, eax
je 0x49b69d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20828]
call fcn.00438400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20840]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20878]
call fcn.00490ae0
jmp 0x49b845
lea ecx, [ebp - 0x2086c]
call fcn.00439290
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20858], ecx
cmp dword [ebp - 0x20858], 0
je 0x49b70b
mov edx, dword [ebp - 0x20858]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x20858]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x20854]
sub edx, 0x16
push edx
mov eax, 1
imul ecx, eax, 0x16
lea edx, [ebp + ecx - 0x10810]
push edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [eax + 0x18]
push edx
mov eax, dword [ebp - 0x20844]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x20844]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x14]
mov edx, dword [eax]
call edx
cmp dword [ebp - 0x2084c], 0
je 0x49b765
mov eax, dword [ebp - 0x2084c]
mov dword [ebp - 0x20884], eax
mov ecx, dword [ebp - 0x20884]
mov dword [ebp - 0x2085c], ecx
cmp dword [ebp - 0x2085c], 0
je 0x49b751
push 1
mov edx, dword [ebp - 0x2085c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2085c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x20888], eax
jmp 0x49b75b
mov dword [ebp - 0x20888], 0
mov dword [ebp - 0x2084c], 0
jmp 0x49b7a2
push 0x400
push 0
lea eax, [ebp - 0x810]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str.kkcap____789_dns_returns_lenth__d
lea edx, [ebp - 0x810]
push edx
call fcn.00441870
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20844]
call fcn.004946f0
lea ecx, [ebp - 0x20848]
call fcn.00439290
mov edx, dword [eax + 8]
mov dword [ebp - 0x2088c], edx
mov eax, dword [ebp - 0x2088c]
mov dword [ebp - 0x20870], eax
cmp dword [ebp - 0x20870], 0
je 0x49b7ef
push 1
mov ecx, dword [ebp - 0x20870]
call fcn.00491490
mov dword [ebp - 0x20890], eax
jmp 0x49b7f9
mov dword [ebp - 0x20890], 0
mov ecx, dword [ebp - 0x20848]
push ecx
lea edx, [ebp - 0x208a8]
push edx
mov ecx, dword [ebp - 0x20844]
add ecx, 0x20
call fcn.0048f570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20828]
call fcn.00438400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20840]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20878]
call fcn.00490ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0x10