Function at 0x10010b79
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
sub esp, 0x220
mov eax, dword [0x1001f048]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
mov esi, dword [0x10020d5c]
mov ebp, ecx
xor ecx, ecx
mov dword [esp + 0xc], ebp
mov eax, esi
mov edx, ecx
test eax, eax
je 0x10010c02
mov eax, dword [eax + 0x450c]
inc edx
test eax, eax
jne 0x10010ba5
cmp edx, 0x1f4
jl 0x10010c02
lea eax, [esp + 8]
mov dword [esp + 8], 0x10
push eax
lea eax, [esp + 0x14]
push eax
push ecx
push 0x204
lea eax, [esp + 0x30]
push eax
push ebp
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jle 0x10010bfa
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.max_number_of_threads_reached__connection_from__s_dropped
push 1
call fcn.10001113
add esp, 0xc
or eax, 0xffffffff
jmp 0x10010e04
push ebx
push edi
mov edi, esi
jmp 0x10010c17
cmp dword [edi + 4], ecx
je 0x10010c11
cmp dword [edi], ecx
je 0x10010c1b
mov edi, dword [edi + 0x450c]
test edi, edi
jne 0x10010c08
xor ebx, ebx
test edi, edi
sete bl
test ebx, ebx
je 0x10010c73
test esi, esi
je 0x10010c55
mov eax, dword [esi + 0x450c]
test eax, eax
je 0x10010c3a
mov esi, eax
test esi, esi
jne 0x10010c2a
test esi, esi
je 0x10010c55
push 0x4510
push 1
call dword [sym.imp.MSVCR120.dll_calloc]
mov edi, eax
mov dword [esi + 0x450c], edi
jmp 0x10010c6a
push 0x4510
push 1
call dword [sym.imp.MSVCR120.dll_calloc]
mov edi, eax
mov dword [0x10020d5c], edi
and dword [edi + 0x450c], 0
pop ecx
pop ecx
mov ecx, edi
call fcn.1001092c
lea ecx, [esp + 0x10]
mov edx, 0x204
push ecx
lea eax, [edi + 0x4268]
mov dword [esp + 0x14], edx
push eax
push 0
push edx
lea esi, [edi + 0x4278]
push esi
push ebp
call dword [sym.imp.WS2_32.dll_recvfrom]
push esi
mov ebp, eax
push ebp
push dword [esp + 0x1c]
push str.TftpdChooseNewThread_socket_u_rc_u_buf_p
push 1
call fcn.10001113
add esp, 0x14
test ebp, ebp
jns 0x10010cf7
call fcn.10013b71
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Error_:_RecvFrom_returns__d:___s_
push 0
call fcn.10001113
add esp, 0x10
cmp dword [edi + 4], 0
jne 0x10010dff
mov ecx, dword [0x10020d5c]
jmp 0x10010ceb
mov ecx, eax
mov eax, dword [ecx + 0x450c]
cmp eax, edi
jne 0x10010ce9
jmp 0x10010d44
push ebp
mov edx, esi
lea ecx, [edi + 0x4268]
call fcn.10010a6d
pop ecx
test eax, eax
je 0x10010d5d
push dword [edi + 0x426c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push str.Warning_:_Unaccepted_request_received_from__s
push 1
call fcn.10001113
add esp, 0xc
cmp dword [edi + 4], 0
jne 0x10010dff
mov ecx, dword [0x10020d5c]
jmp 0x10010d3a
mov ecx, eax
mov eax, dword [ecx + 0x450c]
cmp eax, edi
jne 0x10010d38
mov eax, dword [edi + 0x450c]
push edi
mov dword [ecx + 0x450c], eax
call dword [sym.imp.MSVCR120.dll_free]
pop ecx
jmp 0x10010dff
movzx eax, word [edi + 0x426a]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push dword [edi + 0x426c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
xor ebp, ebp
push str.Connection_received_from__s_on_port__d
inc ebp
push ebp
call fcn.10001113
add esp, 0x10
mov dword [edi], ebp
test ebx, ebx
je 0x10010dd9
lea esi, [edi + 0xc]
push esi
push 0
push edi
push 0x1001278d
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
push dword [0x10020d5c]
mov dword [edi + 8], eax
push dword [edi + 0x18]
push dword [esi]
push str.Thread__d_transfer__d_started__records__p__p__n
call fcn.100138a5
push dword [edi + 8]
push str.thread__d_started
push 9
call fcn.10001113
add esp, 0x20
jmp 0x10010dff
push edi
push dword [edi + 0x20]
push dword [edi + 0x18]
push dword [edi + 0xc]
push str.waking_up_thread__d_for_transfer__d_s_u_pTftp_p_n
call fcn.100138a5
add esp, 0x14
cmp dword [edi + 0x10], 0
je 0x10010dff
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop edi
inc eax
pop ebx
mov ecx, dword [esp + 0x224]
pop esi
pop ebp
xor ecx, esp
call fcn.10015a21
add esp, 0x220
ret