Function at 0x404bf9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4294a4]
xor eax, esp
mov dword [esp + 0x218], eax
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
mov eax, 0x527
cmp ecx, 0x528
jg 0x404dff
cmp ecx, eax
jge 0x404f1e
mov eax, ecx
dec eax
je 0x404dd4
dec eax
je 0x404dcd
sub eax, 0x51b
je 0x404db3
sub eax, 3
je 0x404d74
dec eax
je 0x404d40
sub eax, 4
je 0x404cf5
dec eax
jne 0x404fc3
xor ebx, ebx
push ebx
push ebx
mov esi, 0xf0
push esi
push 0x526
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0x548
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push ebx
push esi
push 0x526
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 1
jne 0x404fc3
push 0x104
lea eax, [esp + 0x11c]
push eax
mov esi, 0x548
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
cmp byte [esp + 0x118], bl
jne 0x404fc3
push str.syslog.txt
push esi
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x404fc3
xor ebx, ebx
push ebx
push ebx
push 0xf0
push 0x525
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 1
jne 0x404d2d
push 0x30
push 0x42e9f8
push str.Use_an_anticipation_window_acclerates_transfers_nOn_the_other_hand__it_may_not_work_with_your_TFTP_client.
push edi
call fcn.0040fb1c
add esp, 0x10
push 1
push 0x51c
jmp 0x404d61
push ebx
push ebx
mov esi, 0x51c
push esi
push edi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push ebx
push esi
jmp 0x404d61
xor ebx, ebx
push ebx
push ebx
push 0xf0
push 0x521
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0x522
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x404fc3
push 0x104
lea eax, [esp + 0x14]
push eax
mov ebx, 0x517
push ebx
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
xor eax, eax
cmp byte [esp + 0x10], 0x2e
lea esi, [esp + 0x10]
setne al
push eax
push edi
call fcn.004011d7
pop ecx
pop ecx
test eax, eax
je 0x404fc3
mov eax, esi
push eax
push ebx
jmp 0x404ce9
xor ebx, ebx
push ebx
push ebx
push 0xf1
push 0x532
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x404fc3
push 0xffffffffffffffff
jmp 0x404ebf
mov ecx, edi
call fcn.00404030
test eax, eax
je 0x404fc3
xor ebx, ebx
push ebx
push ebx
push 0x8070
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x404ebe
sub ecx, 0x52a
je 0x404f1e
dec ecx
dec ecx
je 0x404f1e
sub ecx, 6
je 0x404ecb
sub ecx, 0x15
je 0x404e74
sub ecx, 0x35
je 0x404e4e
sub ecx, 0xa2b
jne 0x404fc3
push 1
xor ebx, ebx
push ebx
push ebx
push 0x446c40
push 0x42eb20
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x404fc3
xor ebx, ebx
push ebx
push ebx
push 0xf0
push 0x57c
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
push 0x57d
jmp 0x404d61
push 0x23
push 0x42ea6c
push str.Reset_current_configuration_nand_destroy_registry_entries__
push edi
call fcn.0040fb1c
add esp, 0x10
cmp eax, 6
jne 0x404fc3
xor ebx, ebx
push ebx
push ebx
push 0x8073
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x30
push 0x42eab0
push str.Settings_entries_have_been_deleted._nYou_have_to_restart_Tftpd32_in_order_to_use_the_new_specifications
push edi
call fcn.0040fb1c
add esp, 0x10
push ebx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x404fc3
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebx, ebx
push ebx
push ebx
push 0xf1
push 0x51d
push edi
call esi
push ebx
push ebx
push 0xf0
push 0x532
push edi
call esi
cmp eax, 1
jne 0x404fc3
push ebx
push eax
push 0xf1
push 0x546
push edi
call esi
push ebx
push 1
push 0xf1
push 0x523
push edi
call esi
jmp 0x404fc3
xor ebx, ebx
push ebx
push ebx
mov esi, 0xf0
push esi
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push ebx
push esi
push 0x528
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push ebx
push esi
push 0x52a
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push ebx
push esi
push 0x529
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push ebx
push esi
push 0x52c
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push ebx
push esi
push 0x52b
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x404fc3
push ebx
push 1
push 0xf1
push dword [ebp + 0xc]
push dword [esp + 0x1c]
call edi
push 0x30
push 0x42e9bc
push str.At_least_one_service_have_to_be_checked
push dword [esp + 0x18]
call fcn.0040fb1c
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00411a98
mov esp, ebp
pop ebp
ret