Function at 0x404bb5
Capabilities:
Get file size
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
call fcn.0040473e
cmp dword [0x40bfec], 0
jne 0x404bec
lea eax, [ebp - 0x21c]
push eax
call fcn.00404580
add esp, 4
lea ecx, [ebp - 0x21c]
push ecx
call fcn.0040466d
add esp, 4
jmp 0x404c5e
mov dword [ebp - 0x20c], 0
jmp 0x404c07
mov edx, dword [ebp - 0x20c]
add edx, 1
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x20c]
cmp eax, dword [0x40c010]
jge 0x404c5e
push 0
mov ecx, dword [ebp - 0x20c]
push ecx
push 0x150
mov edx, dword [0x40bf10]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x404c5c
push 0x30
push 0x40b370
push str.At_least_one_field_has_zero_width.__Please_define_field_width_information_before_performing_the_conversion.
mov eax, dword [0x40bef0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404f74
jmp 0x404bf8
push 0x200
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [0x40bf20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x404cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0x20
jne 0x404cd5
push 0x30
push 0x40b3e4
push 0x40b3ec
mov ecx, dword [0x40bef0]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404cee
push 0x30
push 0x40b438
push 0x40b440
mov edx, dword [0x40bef0]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404f74
push 0x200
lea eax, [ebp - 0x424]
push eax
mov ecx, dword [0x40bf2c]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x404dd1
push 0x24
push 0x40b45c
push str.Do_you_want_to_over_write_the_target_file_
mov eax, dword [0x40bef0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x404db3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x404db1
push 0x30
push 0x40b490
push 0x40b498
mov eax, dword [0x40bef0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404f74
jmp 0x404dcf
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404f74
jmp 0x404e24
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x404e24
push 0x30
push 0x40b4bc
push str.Problem_creating_the_target_file.
mov edx, dword [0x40bef0]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404f74
push 0
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x404e5a
push 0x10
push 0x40b4e8
push str.Probelm_getting_information_on_the_source_file.
mov edx, dword [0x40bef0]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404f74
cmp dword [0x40bfe0], 0x32
je 0x404e6c
cmp dword [0x40bfe0], 0x33
jne 0x404ed8
cmp dword [0x40bfe0], 0x32
jne 0x404e81
mov dword [0x40bd30], 0x4e8
jmp 0x404e8b
mov dword [0x40bd30], 0x4e7
cmp dword [0x40c1a4], 1
jne 0x404eb6
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.0040598a
add esp, 0xc
test eax, eax
jne 0x404eb4
jmp 0x404f5d
jmp 0x404ed6
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.00405806
add esp, 0xc
test eax, eax
jne 0x404ed6
jmp 0x404f5d
jmp 0x404f45
cmp dword [0x40bfec], 0
jne 0x404f00
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.00405303
add esp, 0xc
test eax, eax
jne 0x404efe
jmp 0x404f5d
jmp 0x404f45
cmp dword [0x40bfec], 1
jne 0x404f28
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.0040548b
add esp, 0xc
test eax, eax
jne 0x404f26
jmp 0x404f5d
jmp 0x404f45
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call fcn.0040573f
add esp, 0xc
test eax, eax
jne 0x404f45
jmp 0x404f5d
push 0x40
push 0x40b520
push str.Conversion_is_complete.
mov eax, dword [0x40bef0]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret