Function at 0x4013d4
Capabilities:
Get graphical window text

Disassembly:
call sub.comctl32.dll_InitCommonControls
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403cf0], eax
push 0x100
push 0x403ab8
push dword [0x403cf0]
call sub.kernel32.dll_GetModuleFileNameA
mov dword [0x403bbc], eax
push 0x403276
call sub.gdi32.dll_CreateFontIndirectA
mov dword [0x4032b2], eax
push 0
push 0x4013d4
push 0
push 0x65
push dword [0x403cf0]
call sub.user32.dll_DialogBoxParamA
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x111
jne 0x401915
cmp dword [ebp + 0x10], 0x191
jne 0x401413
push 0
push dword [0x403cf4]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0x302
push dword [0x403cf4]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x192
jne 0x401442
push 0
push dword [0x403cf8]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0x302
push dword [0x403cf8]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x193
jne 0x401471
push 0
push dword [0x403cfc]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0x302
push dword [0x403cfc]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x194
jne 0x4014a0
push 0
push dword [0x403d00]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0x302
push dword [0x403d00]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x195
jne 0x4014cf
push 0
push dword [0x403d04]
call sub.user32.dll_SetWindowTextA
push 0
push 0
push 0x302
push dword [0x403d04]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1f5
jne 0x401505
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x403cf4]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x301
push dword [0x403cf4]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1f6
jne 0x40153b
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x403cf8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x301
push dword [0x403cf8]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1f7
jne 0x401571
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x403cfc]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x301
push dword [0x403cfc]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1f8
jne 0x4015a7
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x403d00]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x301
push dword [0x403d00]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1f9
jne 0x4015dd
push 0xffffffffffffffff
push 0
push 0xb1
push dword [0x403d04]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x301
push dword [0x403d04]
call sub.user32.dll_SendMessageA
jmp 0x401910
cmp dword [ebp + 0x10], 0x1fa
jne 0x40162c
call fcn.00401dac
jb 0x401627
push dword [0x403ea8]
push dword [0x403ea4]
push dword [0x403ea0]
push dword [0x403e9c]
push str._03i__03i__03i__03i
push 0x403356
call sub.user32.dll_wsprintfA
add esp, 0x18
push 0
push 0
push 0x403356
push 0
call sub.user32.dll_MessageBoxA
jmp 0x401910
cmp dword [ebp + 0x10], 0x12d
jne 0x4016a2
push 0x1e
push 0x4039a8
push dword [0x403cf4]
call sub.user32.dll_GetWindowTextA
push 0x100000
push 0x403d18
push 0x4039a8
call fcn.0040259c
test eax, eax
jne 0x40167a
pushal
push 0x40000
push 0
push str.invalid_decimal_string
push dword [0x4039a0]
call sub.user32.dll_MessageBoxA
popal
jmp 0x40169d
push 0x200000
push 0x403d20
push 0x4039a8
call fcn.0040259c
call fcn.00402028
call fcn.0040208a
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x12e
jne 0x401710
push 0x1e
push 0x4039a8
push dword [0x403cf8]
call sub.user32.dll_GetWindowTextA
call fcn.00401cbc
jb 0x401c55
call fcn.00401c5b
test eax, eax
je 0x4016eb
push 0x10
push 0
push 0x4039a8
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
or eax, eax
je 0x401c3c
mov dword [0x403d18], eax
fld dword [0x403d18]
fstp qword [0x403d20]
call fcn.00402028
call fcn.0040208a
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x12f
jne 0x401783
push 0x1e
push 0x4039a8
push dword [0x403cfc]
call sub.user32.dll_GetWindowTextA
call fcn.00401cfc
jb 0x401c55
call fcn.00401c5b
test eax, eax
je 0x401758
push 0x10
push 0
push 0x4039a8
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoull
add esp, 0xc
or edx, edx
je 0x401c3c
mov dword [0x403d20], eax
mov dword [0x403d24], edx
fld qword [0x403d20]
fstp dword [0x403d18]
call fcn.00402028
call fcn.0040208a
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x130
jne 0x4017f1
push 0x1e
push 0x4039a8
push dword [0x403d00]
call sub.user32.dll_GetWindowTextA
call fcn.00401cbc
jb 0x401c55
call fcn.00401c5b
test eax, eax
je 0x4017cc
push 0x10
push 0
push 0x4039a8
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
or eax, eax
je 0x401c3c
mov dword [0x403d1c], eax
call fcn.00401ffd
fld dword [0x403d18]
fstp qword [0x403d20]
call fcn.0040208a
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x131
jne 0x40185f
push 0x1e
push 0x4039a8
push dword [0x403d04]
call sub.user32.dll_GetWindowTextA
call fcn.00401cfc
jb 0x401c55
call fcn.00401c5b
test eax, eax
je 0x401839
push 0x10
push 0
push 0x4039a8
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoull
add esp, 0xc
or edx, edx
je 0x401c3c
mov dword [0x403d28], eax
mov dword [0x403d2c], edx
call fcn.00402053
fld qword [0x403d20]
fstp dword [0x403d18]
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x132
jne 0x401895
call fcn.00401dac
jb 0x401c55
call fcn.00401e29
fld dword [0x403d18]
fstp qword [0x403d20]
call fcn.00402028
call fcn.0040208a
call fcn.00401e4c
jmp 0x401910
cmp dword [ebp + 0x10], 0x385
jne 0x4018db
xor dword [section..data], 1
push 0x243
push 0
push 0
push 0
push 0
push dword [section..data]
push dword [0x4039a0]
call sub.user32.dll_SetWindowPos
push 0xc9
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x401910
cmp dword [ebp + 0x10], 0x386
jne 0x401910
push 0x40000
push 0x4033f7
push str.This_program_was_written_in_March_2024_by_Jim_Giordano_for_GCBASIC.__It_is_used_convert_from_decimal_to_hexadecimal__in_both_standard_IEEE754_and_MicroChip_floating_point_formats.___r_n_r_nPress_Topmost_to_toggle_between_staying_on_top_of_other_windows_or_not._r_nEnter_a_decimal_number__eg._123.456___10.4e5_etc.__in_decimal_box.__Press_convert__and_the_program_will_convert_to_the_other_four_formats._r_nEnter_a_hexadecimal_number_in_one_of_the_other_boxes_and_press_convert_to_show_its_other_forms._r_nThe_Single_precision_Hexadecimal_entries_should_be_exactly_8_characters__while_the_double_precision_hex_should_be_16_characters._r_n
push 0
call sub.user32.dll_MessageBoxA
push 0xc9
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SetFocus
jmp 0x401c3a
cmp dword [ebp + 0xc], 0x133
jne 0x4019e4
cmp dword [0x4039a4], 0
je 0x401936
push dword [0x4039a4]
call sub.gdi32.dll_DeleteObject
push 0xfffffffffffffff4
push dword [ebp + 0x14]
call sub.user32.dll_GetWindowLongA
cmp eax, 0xca
jne 0x401966
push 1
push dword [ebp + 0x10]
call sub.gdi32.dll_SetBkMode
push 0xeaffea
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x4039a4], eax
pop ebp
ret 0x10
cmp eax, 0xcb
jne 0x40198c
push 1
push dword [ebp + 0x10]
call sub.gdi32.dll_SetBkMode
push 0xcff9fe
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x4039a4], eax
pop ebp
ret 0x10
cmp eax, 0xcc
jne 0x4019b2
push 1
push dword [ebp + 0x10]
call sub.gdi32.dll_SetBkMode
push 0xcedeff
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x4039a4], eax
pop ebp
ret 0x10
cmp eax, 0xcd
jne 0x4019d6
push 1
push dword [ebp + 0x10]
call sub.gdi32.dll_SetBkMode
push 0xfbe7ff
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x4039a4], eax
pop ebp
ret 0x10
mov eax, 0
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 5
jne 0x4019fd
cmp dword [0x4033c4], 0
jne 0x4019f8
call fcn.00401034
jmp 0x401c3a
cmp dword [ebp + 0xc], 0x110
jne 0x401c22
push dword [ebp + 8]
pop dword [0x4039a0]
call fcn.00402294
push 0xc9
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403cf4], eax
push 0xca
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403cf8], eax
push 0xcb
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403cfc], eax
push 0xcc
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d00], eax
push 0xcd
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d04], eax
push 0xce
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d08], eax
push 0x3e5
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d0c], eax
push 0x3e6
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d10], eax
push 0x3e7
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
mov dword [0x403d14], eax
push 0xc9
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e74], eax
push 0xca
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e78], eax
push 0xcb
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e7c], eax
push 0xcc
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e80], eax
push 0xcd
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e84], eax
push 0xce
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e88], eax
push 0x3e5
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e8c], eax
push 0x3e6
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e90], eax
push 0x3e7
push dword [0x4039a0]
call sub.user32.dll_GetDlgItem
push 0x4020be
push 0xfffffffffffffffc
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x403e94], eax
mov dword [0x4033c4], 0
mov dword [0x403302], 0xfffffc19
call fcn.00401034
jmp 0x401c3a
cmp dword [ebp + 0xc], 0x10
jne 0x401c3a
call fcn.004023a4
push 0
push dword [0x4039a0]
call sub.user32.dll_EndDialog
jmp 0x401c55
pushal
push 0x40000
push 0
push str.invalid_hex_string
push dword [0x4039a0]
call sub.user32.dll_MessageBoxA
popal
xor eax, eax
pop ebp
ret 0x10