Function at 0x40ee85
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [0x441de0]
mov edi, eax
push str.TFTPd_console_receive_msg__d_n
call fcn.00410209
mov eax, dword [0x441de0]
pop ecx
pop ecx
lea ecx, [eax - 0xc8]
cmp ecx, 0x15
ja case.0x40ed5c.203
jmp dword [ecx*4 + 0x40f06b]
push dword [0x441de4]
push str.transfer__d_must_be_killed
push 1
call fcn.0040764f
mov ebx, dword [0x44618c]
add esp, 0xc
test ebx, ebx
je 0x40f063
mov eax, dword [ebx + 0x18]
cmp eax, dword [0x441de4]
je 0x40ed9b
mov ebx, dword [ebx + 0x4584]
test ebx, ebx
jne 0x40ed86
test ebx, ebx
je 0x40f063
push 0x63
call fcn.0040d211
mov dword [ebx + 0x4510], 2
jmp 0x40f062
push str.terminating_TFTP_service_n
call fcn.00410209
and dword [0x446ac0], 0
pop ecx
push 4
pop eax
call fcn.0040bcd2
jmp 0x40f063
push str.terminating_DHCP_service_n
call fcn.00410209
and dword [0x446aa8], 0
pop ecx
push 3
jmp 0x40edcd
push str.stopping_services_n
call fcn.00410209
pop ecx
push 0
call fcn.0040bfb5
jmp 0x40f062
push str.suspending_services_n
call fcn.00410209
pop ecx
push 1
jmp 0x40edfb
push str.starting_services_n
call fcn.00410209
pop ecx
push 1
call fcn.0040be63
jmp 0x40f062
push str.sending_DHCP_settings_n
call fcn.00410209
mov dword [esp], 0x4461a0
push 0x69
mov eax, 0x8b4
push edi
call section..text
add esp, 0xc
jmp 0x40f063
push str.sending_TFTP_settings_n
call fcn.00410209
mov dword [esp], 0x42bec0
push 0x68
mov eax, 0x580
jmp 0x40ee43
push str.storing_new_DHCP_settings_n
call fcn.00410209
pop ecx
mov ecx, 0x441de4
call fcn.004097f2
jmp 0x40f063
push 0x42a7cc
call fcn.00410209
mov dword [esp], str.storing_new_TFTP_settings_n
call fcn.00410209
mov eax, dword [0x441fac]
and dword [0x4409e4], 0
mov dword [0x4409e0], eax
mov eax, dword [0x42c088]
mov dword [0x4409dc], eax
mov eax, dword [0x42bfd8]
pop ecx
cmp eax, dword [0x441efc]
jne 0x40eed8
push 0x441f28
push 0x42c004
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40eedf
or dword [0x4409e4], 1
mov ebx, 0x441de4
mov ecx, 0x160
mov esi, ebx
mov edi, 0x42bec0
push ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0041069c
pop ecx
test eax, eax
je 0x40ef0e
push 0x104
push ebx
push 0x42c32c
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x4409dc
push 0
push 0x40c057
call fcn.00412e7b
add esp, 0xc
call fcn.0040b604
jmp 0x40f063
push str.restore_default_settings_n
call fcn.00410209
pop ecx
call fcn.0040b65f
jmp 0x40f063
mov ebx, 0x441de4
push ebx
push str.changing_working_directory_to___s__n
call fcn.00410209
push ebx
call fcn.0041069c
add esp, 0xc
test eax, eax
je 0x40f063
push 0x104
push ebx
push 0x42c32c
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x40f063
mov esi, 0x42c32c
push esi
push str.sending_working_directory___s__n
call fcn.00410209
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
inc eax
push 0x6a
jmp 0x40ee43
push dword [0x441de4]
push str.deleting_DHCP_entry__X_n
call fcn.00410209
mov eax, dword [0x441de4]
pop ecx
pop ecx
lea edi, [ebp - 0xc]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.0040a674
call fcn.004079b3
jmp 0x40f063
push str.sending_running_services_n
call fcn.00410209
pop ecx
xor eax, eax
mov edx, 0x4262bc
mov ecx, 0x446a60
cmp dword [ecx], 0
je 0x40efe7
or eax, dword [edx]
add ecx, 0x18
add edx, 0x38
cmp ecx, 0x446b20
jl 0x40efe0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x6c
push edi
push 4
pop eax
jmp 0x40ee44
push str.sending_IP_interfaces
call fcn.00410209
mov dword [esp], 0xb6c
push 0
push 0x43fe68
call fcn.00414720
add esp, 0xc
push 2
jmp 0x40edcd
push 0x42a8b0
call fcn.00410209
pop ecx
call fcn.0040a79e
jmp 0x40f063
push str.sending_Directory_content
call fcn.00410209
mov dword [0x44501c], 1
jmp 0x40f062
push eax
push str.Service_received_unknown_message__d_n
call fcn.00410209
pop ecx
pop ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret