Function at 0x40c740
Capabilities:
Get graphical window text

Disassembly:
mov ecx, dword [esp + 8]
push ebx
movzx eax, cx
push esi
cmp eax, 0x64
push edi
jg 0x40c75e
je 0x40c7bc
cmp eax, 2
je 0x40c79a
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
cmp eax, 0xa8e
jg 0x40c77c
je 0x40c905
cmp eax, 0x70
je 0x40c8de
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
cmp eax, 0xa91
je 0x40c9b8
cmp eax, 0xa93
je 0x40c9e3
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
mov esi, dword [esp + 0x10]
push 0
mov dword [0x4493ac], 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
mov esi, dword [esp + 0x10]
push 0x400
push 0x448f80
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0xa8c
push esi
call edi
push eax
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
call ebx
push 0x101
mov eax, dword [0x4493ac]
add eax, 0x128
push eax
push 0xa90
push esi
call edi
push eax
call ebx
push 0xa8d
mov ebx, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push esi
call ebx
test eax, eax
je 0x40c81a
mov eax, dword [0x4493ac]
or byte [eax + 0x32e], 2
push 0xa92
push esi
call ebx
test eax, eax
je 0x40c832
mov eax, dword [0x4493ac]
or byte [eax + 0x32e], 4
cmp byte [0x448f80], 0
je 0x40c868
push 0x448f80
call fcn.0040dd10
test eax, eax
jne 0x40c868
push 1
push 0xa8c
push esi
call edi
push eax
push 0x28
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
push 0x400
push 0x448f80
call fcn.00441413
add esp, 8
push 0x448f80
call fcn.0043ee5c
add esp, 4
mov eax, dword [0x4493ac]
add eax, 0x229
push 0x448f80
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [0x4493ac]
test byte [ecx + 0x32e], 4
je 0x40c8ca
push esi
call fcn.0040dac0
test eax, eax
jne 0x40c8ca
push 0
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
push 0x1f
mov eax, dword [0x448dd0]
push 1
add eax, 0x20a
push eax
mov ecx, dword [0x448dc8]
push ecx
call dword [sym.imp.USER32.dll_WinHelpA]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
shr ecx, 0x10
movzx eax, cx
cmp eax, 1
je 0x40c921
cmp eax, 2
je 0x40c999
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
mov esi, dword [esp + 0x10]
push 1
push 0x64
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
call edi
push eax
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
push 1
push 0xa91
push esi
call edi
push eax
call ebx
mov ebx, dword [esp + 0x18]
mov eax, dword [0x448dd0]
add eax, 0x77e8
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0
push 0x188
push ebx
call edi
push eax
push 0x189
push ebx
call edi
mov eax, dword [0x448dd0]
add eax, 0x77e8
push eax
call fcn.0040d590
push eax
mov dword [0x4493ac], eax
push esi
call fcn.0040ca30
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
mov esi, dword [esp + 0x10]
push 0
push 0x64
push 0x111
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
mov eax, dword [0x4493ac]
mov esi, dword [esp + 0x10]
add eax, 0x21
push eax
push 0xa90
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc
mov esi, dword [esp + 0x10]
push 0x35
push 0x96
push 0x105
push 0x448f80
push esi
call fcn.0043e180
test eax, eax
je 0x40ca1a
push 0x448f80
push 0xa8c
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, 1
pop edi
pop esi
pop ebx
ret 0xc