Function at 0x140111b80
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x1401e7890]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x5d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x110]
add rax, 0xe8
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], pe_nt_image_headers64
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x144]
add eax, 4
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8d, eax
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x150]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x13c], eax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x138], 0
jne 0x140111c6c
movsxd rax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, 0xb8
mov r8, rax
lea rdx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
mov dword [rax + 0x138], ecx
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x13c], 4
jge 0x140111c9f
lea rdx, str.Received_too_short_packet
mov rcx, qword [rsp + 0x110]
call fcn.1400e22e0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 7
jmp 0x140111ee3
mov rax, qword [rsp + 0x30]
add rax, 0x150
mov rcx, rax
call fcn.140110dd0
mov word [rsp + 0x40], ax
movzx eax, word [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 5
ja case.0x140111cfb.1
movsxd rax, dword [rsp + 0x3c]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x111f00]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x13c], 4
jle 0x140111dd9
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14c]
inc eax
and eax, 0xffff
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x30]
add rcx, 0x150
call fcn.140110e10
movzx eax, ax
mov ecx, dword [rsp + 0x4c]
cmp ecx, eax
jne 0x140111dd9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x13c]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x150]
add rcx, 4
mov r9, rax
mov r8, rcx
mov edx, 1
mov rcx, qword [rsp + 0x110]
call fcn.1400e2580
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140111da1
mov edx, 5
mov rcx, qword [rsp + 0x30]
call fcn.140111a90
mov eax, dword [rsp + 0x38]
jmp 0x140111ee7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x13c]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x50]
add rax, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x50]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rsp + 0x110]
call fcn.140100500
jmp 0x140111ebc
mov rax, qword [rsp + 0x30]
add rax, 0x150
mov rcx, rax
call fcn.140110e10
mov word [rsp + 0x44], ax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x150]
add rax, 4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x13c]
sub eax, 4
cdqe
mov qword [rsp + 0x58], rax
movzx eax, word [rsp + 0x44]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140110e50
cmp rax, qword [rsp + 0x58]
jae 0x140111e5c
mov r8, qword [rsp + 0x60]
lea rdx, str.TFTP_error:__s
mov rcx, qword [rsp + 0x110]
call fcn.1400e21d0
jmp 0x140111ebc
jmp 0x140111ebc
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x13c]
sub eax, 2
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x150]
add rcx, 2
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x30]
call fcn.140110fa0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140111e9f
mov eax, dword [rsp + 0x38]
jmp 0x140111ee7
jmp 0x140111ebc
lea r8, str.Internal_error:_Unexpected_packet
lea rdx, [0x1401e119c]
mov rcx, qword [rsp + 0x110]
call fcn.1400e22e0
mov rcx, qword [rsp + 0x110]
call fcn.1401006c0
test eax, eax
je 0x140111ee3
mov edx, 5
mov rcx, qword [rsp + 0x30]
call fcn.140111a90
mov eax, Ordinal_46
jmp 0x140111ee7
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140156eb0
add rsp, 0x108
ret