Function at 0x403a8a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x427484]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x64c], edi
xor esi, esi
push 5
push dword [esi + 0x42b980]
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add esi, 0x18
cmp esi, 0x6d8
jb 0x403aac
mov ecx, edi
call fcn.00401593
test eax, eax
je 0x403aed
push ebx
push ebx
push 0x8071
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x104
lea eax, [ebp - 0x648]
push eax
push 0x517
push dword [ebp - 0x64c]
mov ecx, 0x146
mov esi, 0x444b40
lea edi, [ebp - 0x648]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push ebx
push ebx
mov edi, pe_nt_image_headers32
push edi
push 0x527
push dword [ebp - 0x64c]
mov dword [ebp - 0x4dc], ebx
call esi
cmp eax, 1
jne 0x403b48
or dword [ebp - 0x4dc], eax
push ebx
push ebx
push edi
push 0x528
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403b64
or dword [ebp - 0x4dc], 2
push ebx
push ebx
push edi
push 0x52a
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403b80
or dword [ebp - 0x4dc], 8
push ebx
push ebx
push edi
push 0x529
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403b9c
or dword [ebp - 0x4dc], 4
push ebx
push ebx
push edi
push 0x52c
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403bb8
or dword [ebp - 0x4dc], 0x20
push ebx
push ebx
push edi
push 0x52b
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403bd4
or dword [ebp - 0x4dc], 0x10
push ebx
push ebx
push edi
push 0x52d
push dword [ebp - 0x64c]
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x526
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x248], eax
call esi
cmp eax, 1
jne 0x403c24
push 0x104
lea eax, [ebp - 0x3cc]
push eax
push 0x548
push dword [ebp - 0x64c]
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
jmp 0x403c2a
mov byte [ebp - 0x3cc], bl
push ebx
push ebx
push edi
push 0x54a
push dword [ebp - 0x64c]
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x57c
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x2c8], eax
call esi
cmp eax, 1
jne 0x403c7e
push 0x28
lea eax, [ebp - 0x290]
push eax
push 0x57d
push dword [ebp - 0x64c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x403c84
mov byte [ebp - 0x290], bl
push ebx
push ebx
push edi
push 0x57b
push dword [ebp - 0x64c]
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x57e
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x298], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x50a
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x294], eax
call esi
cmp eax, 1
jne 0x403cd9
mov dword [ebp - 0x534], ebx
jmp 0x403d18
push ebx
push ebx
push edi
push 0x50d
push dword [ebp - 0x64c]
call esi
cmp eax, 1
jne 0x403cfa
mov dword [ebp - 0x534], 3
jmp 0x403d18
push ebx
push ebx
push edi
push 0x50c
push dword [ebp - 0x64c]
call esi
dec eax
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp - 0x534], eax
push ebx
push ebx
push 0x518
push dword [ebp - 0x64c]
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push ebx
push ebx
push 0x519
push dword [ebp - 0x64c]
mov dword [ebp - 0x540], eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push ebx
push ebx
push 0x51a
push dword [ebp - 0x64c]
mov dword [ebp - 0x53c], eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push ebx
push ebx
push edi
push 0x51b
push dword [ebp - 0x64c]
mov dword [ebp - 0x530], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x51e
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x52c], eax
call esi
dec eax
push ebx
neg eax
push ebx
sbb eax, eax
push 0x51c
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x520], eax
call dword [sym.imp.USER32.dll_GetDlgItemInt]
push ebx
push ebx
push edi
push 0x51d
push dword [ebp - 0x64c]
mov dword [ebp - 0x538], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x51f
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x528], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x533
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x51c], eax
call esi
dec eax
neg eax
sbb eax, eax
inc eax
push ebx
mov dword [ebp - 0x518], eax
push ebx
push edi
push 0x523
push dword [ebp - 0x64c]
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x524
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x510], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x546
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x50c], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
sbb eax, eax
push 0x532
push dword [ebp - 0x64c]
inc eax
mov dword [ebp - 0x508], eax
call esi
push ebx
dec eax
push ebx
neg eax
push edi
mov edi, dword [ebp - 0x64c]
sbb eax, eax
push 0x521
inc eax
push edi
mov dword [ebp - 0x524], eax
call esi
cmp eax, 1
jne 0x403eac
push 0x28
lea eax, [ebp - 0x504]
push eax
push 0x522
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x403eb2
mov byte [ebp - 0x504], bl
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x549
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
push edi
call fcn.00404083
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x24]
push 0x42c078
push eax
call fcn.00410b56
add esp, 0x14
cmp eax, 2
je 0x403f1e
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x4d8]
push eax
lea eax, [ebp - 0x24]
push str._d__d
push eax
call fcn.00410b56
add esp, 0x10
cmp eax, 2
je 0x403f1e
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4d8], ebx
cmp dword [ebp - 0x540], ebx
je 0x40405c
cmp dword [ebp - 0x53c], ebx
je 0x40405c
cmp dword [ebp - 0x530], ebx
je 0x40405c
call fcn.00401736
test eax, eax
jne 0x403fae
lea eax, [ebp - 0x648]
push eax
call fcn.0040eba0
pop ecx
test eax, eax
je 0x403fbe
push 0xfb0
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push ebx
lea eax, [ebp - 0x130]
push eax
push 0x104
lea eax, [ebp - 0x648]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.004055bd
pop ecx
pop ecx
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push ebx
push 0x806f
push edi
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x403fd3
push 0x30
push 0x42c0c8
push str.Can_not_change_directory
push edi
call fcn.0040e080
add esp, 0x10
mov eax, dword [0x444f40]
cmp eax, dword [ebp - 0x248]
jne 0x404031
mov eax, dword [0x444c58]
cmp eax, dword [ebp - 0x530]
jne 0x404031
mov eax, dword [0x444cac]
cmp eax, dword [ebp - 0x4dc]
jne 0x404031
mov eax, dword [0x444c5c]
cmp eax, dword [ebp - 0x52c]
jne 0x404031
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea eax, [ebp - 0x290]
push eax
push 0x444ef8
call esi
test eax, eax
jne 0x404031
lea eax, [ebp - 0x504]
push eax
push 0x444c84
call esi
test eax, eax
je 0x404046
push 0x30
push 0x42c0ec
push str.You_have_to_restart_Tftpd32_nin_order_to_apply_the_new_settings
push edi
call fcn.0040e080
add esp, 0x10
mov ecx, 0x146
lea esi, [ebp - 0x648]
mov edi, 0x444b40
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x404074
push 0x30
push 0x42c088
push str.Timeouts_and_Ports_should_be_numerical_and_can_not_be_0
push edi
call fcn.0040e080
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ffa3
leave
ret