Function at 0x4045f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x427484]
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 0x4047ee
cmp ecx, eax
jge 0x40490d
mov eax, ecx
dec eax
je 0x4047cb
dec eax
je 0x4047c4
sub eax, 0x51b
je 0x4047aa
sub eax, 3
je 0x40476b
dec eax
je 0x404737
sub eax, 4
je 0x4046ec
dec eax
jne 0x4049b2
xor ebx, ebx
push ebx
push ebx
mov esi, pe_nt_image_headers32
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 0x4049b2
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 0x4049b2
push str.syslog.txt
push esi
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x4049b2
xor ebx, ebx
push ebx
push ebx
push pe_nt_image_headers32
push 0x525
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 1
jne 0x404724
push 0x30
push 0x42c18c
push str.Use_an_anticipation_window_acclerates_transfers_nOn_the_other_hand__it_may_not_work_with_your_TFTP_client.
push edi
call fcn.0040e080
add esp, 0x10
push 1
push 0x51c
jmp 0x404758
push ebx
push ebx
mov esi, 0x51c
push esi
push edi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
push ebx
push esi
jmp 0x404758
xor ebx, ebx
push ebx
push ebx
push pe_nt_image_headers32
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 0x4049b2
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 0x4049b2
mov eax, esi
push eax
push ebx
jmp 0x4046e0
xor ebx, ebx
push ebx
push ebx
push 0xf1
push 0x532
push edi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x4049b2
push 0xffffffffffffffff
jmp 0x4048ae
mov ecx, edi
call fcn.00403a8a
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 0x4048ad
sub ecx, 0x52a
je 0x40490d
dec ecx
dec ecx
je 0x40490d
sub ecx, 6
je 0x4048ba
sub ecx, 0x15
je 0x404863
sub ecx, 0x35
je 0x40483d
sub ecx, 0xa2b
jne 0x4049b2
push 1
xor ebx, ebx
push ebx
push ebx
push 0x444340
push 0x42c2c8
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4049b2
xor ebx, ebx
push ebx
push ebx
push pe_nt_image_headers32
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 0x404758
push 0x23
push 0x42c23c
push str.Reset_current_configuration_nand_destroy_registry_entries__
push edi
call fcn.0040e080
add esp, 0x10
cmp eax, 6
jne 0x4049b2
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 0x42c244
push str.Settings_entries_have_been_deleted._nYou_have_to_restart_Tftpd32_in_order_to_use_the_new_specifications
push edi
call fcn.0040e080
add esp, 0x10
push ebx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x4049b2
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 pe_nt_image_headers32
push 0x532
push edi
call esi
cmp eax, 1
jne 0x4049b2
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 0x4049b2
xor ebx, ebx
push ebx
push ebx
mov esi, pe_nt_image_headers32
push esi
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push ebx
push esi
push 0x528
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push ebx
push esi
push 0x52a
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push ebx
push esi
push 0x529
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push ebx
push esi
push 0x52c
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push ebx
push esi
push 0x52b
push dword [esp + 0x1c]
call edi
cmp eax, 1
je 0x4049b2
push ebx
push 1
push 0xf1
push dword [ebp + 0xc]
push dword [esp + 0x1c]
call edi
push 0x30
push 0x42c150
push str.At_least_one_service_have_to_be_checked
push dword [esp + 0x18]
call fcn.0040e080
add esp, 0x10
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040ffa3
mov esp, ebp
pop ebp
ret