Function at 0x49b9c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5e36
mov eax, dword fs:[0]
push eax
mov eax, 0x20cc8
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 - 0x20c9c], 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]
cmp dword [ebp + 0xc], 0
jne 0x49ba4a
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x20c9c]
call fcn.00494880
jmp 0x49c043
push str.0000000
lea ecx, [ebp - 0x20c98]
call fcn.00436820
mov dword [ebp - 4], 0
push 0x4c4bac
lea ecx, [ebp - 0x20c80]
call fcn.00436820
mov byte [ebp - 4], 1
mov dword [ebp - 0x20cb0], 0
mov edx, dword [ebp + 0x10]
add edx, 0x18
push edx
lea eax, [ebp - 0x20cb8]
push eax
mov ecx, 0x4ea670
call fcn.00495470
lea ecx, [ebp - 0x20cd4]
push ecx
mov ecx, 0x4ea670
call fcn.0043e480
push eax
lea ecx, [ebp - 0x20cb8]
call fcn.00439140
movzx edx, al
test edx, edx
je 0x49bb29
lea ecx, [ebp - 0x20cb8]
call fcn.00439290
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x20c9c]
mov ecx, dword [ecx + 0x4c]
call fcn.00495e90
mov dword [ebp - 0x20ca4], eax
cmp dword [ebp - 0x20ca4], 0
je 0x49bb29
mov edx, dword [ebp - 0x20ca4]
add edx, 0x414
push edx
lea ecx, [ebp - 0x20c98]
call fcn.00438d10
mov eax, dword [ebp - 0x20ca4]
mov ecx, dword [eax + 0x310]
mov dword [ebp - 0x20cb0], ecx
mov edx, dword [ebp - 0x20ca4]
add edx, 0x634
push edx
lea ecx, [ebp - 0x20c80]
call fcn.00438d10
cmp dword [ebp - 0x20cb0], 0
jne 0x49bce0
cmp dword [ebp + 0xc], 4
jbe 0x49bcdb
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
mov dword [ebp - 0x20cc0], eax
mov eax, dword [ebp - 0x20cc0]
movsx ecx, byte [eax + 3]
cmp ecx, 1
jne 0x49bc29
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
mov dword [ebp - 0x20cbc], eax
push 0x10
push 0
lea edx, [ebp - 0x20c20]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 2
mov word [ebp - 0x20c20], ax
mov ecx, dword [ebp - 0x20cbc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x20c1c], edx
mov eax, dword [ebp - 0x20cbc]
mov cx, word [eax + 8]
mov word [ebp - 0x20c1e], cx
push 0x10
lea edx, [ebp - 0x20c20]
push edx
mov eax, dword [ebp + 0xc]
sub eax, 0xa
push eax
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov ecx, dword [ebp - 0x20c9c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 0x20c9c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x14]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0xa
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 - 0x20c9c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20c9c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 4]
call eax
jmp 0x49bcdb
mov ecx, dword [ebp - 0x20cc0]
movsx edx, byte [ecx + 3]
cmp edx, 4
jne 0x49bcdb
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
mov dword [ebp - 0x20cc4], eax
push 0x1c
push 0
lea eax, [ebp - 0x20c4c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x17
mov word [ebp - 0x20c4c], cx
push 0x10
mov edx, dword [ebp - 0x20cc4]
add edx, 4
push edx
lea eax, [ebp - 0x20c44]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x20cc4]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x20c4a], dx
push 0x1c
lea eax, [ebp - 0x20c4c]
push eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x16
push ecx
push 0x16
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp - 0x20c9c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20c9c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx]
call eax
jmp 0x49bff4
cmp dword [ebp - 0x20cb0], 1
jne 0x49bff4
cmp dword [ebp + 0xc], 7
jbe 0x49bfb9
push 0xffff
push 0
lea ecx, [ebp - 0x10c10]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0xffff
push 0
lea edx, [ebp - 0x20c10]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
push eax
lea ecx, [ebp - 0x20c10]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x20ca8], 0
lea ecx, [ebp - 0x20c98]
call fcn.0043d960
push eax
lea ecx, [ebp - 0x20c80]
call fcn.0043d960
push eax
call fcn.004a8e70
add esp, 8
mov dword [ebp - 0x20ca0], eax
lea edx, [ebp - 0x20ca8]
push edx
lea eax, [ebp - 0x10c10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c10]
push edx
mov eax, dword [ebp - 0x20ca0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20ca0]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp + 0x14], 0
jne 0x49bf5d
cmp dword [ebp - 0x20ca8], 7
jbe 0x49bf5d
lea ecx, [ebp - 0x10c10]
mov dword [ebp - 0x20cac], ecx
mov edx, dword [ebp - 0x20cac]
movsx eax, byte [edx]
cmp eax, 1
jne 0x49bea1
push 0x400
push 0
lea ecx, [ebp - 0x810]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x20ca8]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.udpget__old_len___d__newlen___d_n
lea ecx, [ebp - 0x810]
push ecx
call fcn.00441870
add esp, 0x10
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10
push 0
lea eax, [ebp - 0x20c30]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 2
mov word [ebp - 0x20c30], cx
mov edx, dword [ebp - 0x20cac]
mov eax, dword [edx + 1]
mov dword [ebp - 0x20c2c], eax
mov ecx, dword [ebp - 0x20cac]
mov dx, word [ecx + 5]
mov word [ebp - 0x20c2e], dx
push 0x10
lea eax, [ebp - 0x20c30]
push eax
mov ecx, dword [ebp - 0x20ca8]
sub ecx, 7
push ecx
mov edx, 1
imul eax, edx, 7
lea ecx, [ebp + eax - 0x10c10]
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 - 0x20c9c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20c9c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx]
call eax
jmp 0x49bf5d
mov ecx, dword [ebp - 0x20cac]
movsx edx, byte [ecx]
cmp edx, 4
jne 0x49bf5d
push str.kkcap______this_12
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
mov dword [ebp - 0x20cc8], eax
push 0x1c
push 0
lea eax, [ebp - 0x20c68]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x17
mov word [ebp - 0x20c68], cx
push 0x10
mov edx, dword [ebp - 0x20cc8]
add edx, 4
push edx
lea eax, [ebp - 0x20c60]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x20cc8]
mov dx, word [ecx + 0x14]
mov word [ebp - 0x20c66], dx
push 0x1c
lea eax, [ebp - 0x20c68]
push eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x16
push ecx
push 0x16
mov ecx, dword [ebp + 0x10]
add ecx, 0x44
call fcn.00491240
push eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [edx + 0x18]
push ecx
mov edx, dword [ebp - 0x20c9c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x20c9c]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx]
call eax
cmp dword [ebp - 0x20ca0], 0
je 0x49bfb7
mov ecx, dword [ebp - 0x20ca0]
mov dword [ebp - 0x20ccc], ecx
mov edx, dword [ebp - 0x20ccc]
mov dword [ebp - 0x20cb4], edx
cmp dword [ebp - 0x20cb4], 0
je 0x49bfa3
push 1
mov eax, dword [ebp - 0x20cb4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20cb4]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x20cd0], eax
jmp 0x49bfad
mov dword [ebp - 0x20cd0], 0
mov dword [ebp - 0x20ca0], 0
jmp 0x49bff4
push 0x400
push 0
lea ecx, [ebp - 0xc10]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push str.kkcap____789_udp_returns_lenth__d
lea eax, [ebp - 0xc10]
push eax
call fcn.00441870
add esp, 0xc
lea ecx, [ebp - 0xc10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x14
push 0
mov edx, dword [ebp + 0x10]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ecx + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x20c9c]
call fcn.0049e300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20c80]
call fcn.00438400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c98]
call fcn.00438400
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