Function at 0x403420
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x124
mov dword [ebp - 4], 0
call fcn.004062e8
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00404d3c
push 0
push 0xffffffffffffffff
push 0x2d
push str.Click_the_Left_or_Right_mouse_button_to_play
push 0xffffffffffffffff
push 3
push 0x40706c
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2d
push 0x1e
call fcn.00404d90
push eax
push 0xffffffffffffffff
push 2
push 0x407004
push 0xffffffffffffffff
push 0x5c
push str.Here_is_a_24_Game__will_tell_you_the_complete_solution_except_derivative_solutions._Enjoy__
push 0xffffffffffffffff
push 2
push 0x407004
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2d
push 0x1e
call fcn.00404d90
push eax
push 7
push str.KFC24_n
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x58]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x64]
push eax
call fcn.00404e3c
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.00404200
push 0
push 0xffffffffffffffff
push 0xd
push str.kefa_163.com
push 0xffffffffffffffff
push 2
push 0x407004
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2d
push 0x1e
call fcn.00404d90
push eax
push 0xa
push str._n_n_nKFC24_n
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
lea eax, [ebp - 0x7c]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0x88]
push eax
call fcn.00404e3c
push eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x94]
push eax
call fcn.00404e3c
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
call fcn.00404200
lea eax, [ebp - 0xb0]
push eax
push edi
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop edi
pop eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
push str.Arial
push 0x10
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x30
call sub.GDI32.dll_CreateFontA
mov dword [ebp - 0xd0], eax
push 0
push 0
push 0
push 0
push 0xf0
push 0x140
push 1
call sub.USER32.dll_GetSystemMetrics
mov ecx, 2
cdq
idiv ecx
add eax, 0xffffff88
push eax
push 0
call sub.USER32.dll_GetSystemMetrics
mov ecx, 2
cdq
idiv ecx
add eax, 0xffffff60
push eax
push 0x10ca0000
push str.KFC24___FreeBasic_example
push str.32770
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xb4], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0x50
push 0x3c
push 0x2a
push 0xa
push 0x50000000
push section..data
push str.BUTTON
push 0x20000
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xb8], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0x50
push 0x3c
push 0x2a
push 0x4c
push 0x50000000
push section..data
push str.BUTTON
push 0x20000
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xbc], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0x50
push 0x3c
push pe_nt_image_headers32
push 0xa
push 0x50000000
push section..data
push str.BUTTON
push 0x20000
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xc0], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0x50
push 0x3c
push pe_nt_image_headers32
push 0x4c
push 0x50000000
push section..data
push str.BUTTON
push 0x20000
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xc4], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0x1c
push 0x7e
push 8
push 0xa
push 0x50000000
push str.Click_me__
push str.BUTTON
push 1
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xc8], eax
push 0
push 0
push 0
push dword [ebp - 0xb4]
push 0xc8
push 0x9e
push 8
push 0x91
push 0x50000001
push dword [ebp - 0x10]
push str.STATIC
push 0x201
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0xcc], eax
push 1
push dword [ebp - 0xd0]
push 0x30
push dword [ebp - 0xb8]
call sub.USER32.dll_SendMessageA
push 1
push dword [ebp - 0xd0]
push 0x30
push dword [ebp - 0xbc]
call sub.USER32.dll_SendMessageA
push 1
push dword [ebp - 0xd0]
push 0x30
push dword [ebp - 0xc0]
call sub.USER32.dll_SendMessageA
push 1
push dword [ebp - 0xd0]
push 0x30
push dword [ebp - 0xc4]
call sub.USER32.dll_SendMessageA
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xd4], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xd8], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xdc], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xe0], eax
push 0
push 0
push 0
lea eax, [ebp - 0xb0]
push eax
call sub.USER32.dll_GetMessageA
test eax, eax
je 0x403f96
lea eax, [ebp - 0xb0]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0xb0]
push eax
call sub.USER32.dll_DispatchMessageA
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xe4], eax
jne 0x4039ff
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x111
jne 0x4039fa
push dword [ebp - 0x70]
push dword [ebp - 0xcc]
call sub.USER32.dll_SetWindowTextA
push 0x1f4
call fcn.004052f0
push 0
call fcn.00405360
jmp 0x403e26
mov eax, dword [ebp - 0xc8]
cmp dword [ebp - 0xe4], eax
jne 0x403c72
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x201
jne 0x403aad
push str.Check_Solutions
push dword [ebp - 0xc8]
call sub.USER32.dll_SetWindowTextA
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xe0]
push dword [ebp - 0xdc]
push dword [ebp - 0xd8]
push dword [ebp - 0xd4]
call fcn.00401320
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x124]
push eax
call fcn.0040423c
push dword [ebp - 0x124]
push dword [ebp - 0xcc]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0x124]
push eax
call fcn.00404cb4
jmp 0x403c6d
cmp dword [ebp - 0x118], 0x202
jne 0x403bc8
push str.Click_me__
push dword [ebp - 0xc8]
call sub.USER32.dll_SetWindowTextA
push dword [ebp - 0x10]
push dword [ebp - 0xcc]
call sub.USER32.dll_SetWindowTextA
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xd4], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xd8], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xdc], eax
push 6
call fcn.00404f94
sub esp, 8
fstp qword [esp]
call fcn.00405018
push eax
call fcn.00405144
push eax
call fcn.00405294
mov ecx, 0x34
cdq
idiv ecx
mov eax, edx
inc eax
mov ecx, 0xd
cdq
idiv ecx
mov eax, edx
inc eax
mov dword [ebp - 0xe0], eax
jmp 0x403c6d
cmp dword [ebp - 0x118], 0x204
jne 0x403c51
push str.Check_Solutions
push dword [ebp - 0xc8]
call sub.USER32.dll_SetWindowTextA
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xe0]
push dword [ebp - 0xdc]
push dword [ebp - 0xd8]
push dword [ebp - 0xd4]
call fcn.00401320
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x124]
push eax
call fcn.0040423c
push dword [ebp - 0x124]
push dword [ebp - 0xcc]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0x124]
push eax
call fcn.00404cb4
jmp 0x403c6d
cmp dword [ebp - 0x118], 0x205
jne 0x403c6d
push str.Click_me__
push dword [ebp - 0xc8]
call sub.USER32.dll_SetWindowTextA
jmp 0x403e26
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0xe4], eax
jne 0x403ce1
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x202
jne 0x403cb5
cmp dword [ebp - 0xd4], 1
jne 0x403cad
mov dword [ebp - 0xd4], 0xd
jmp 0x403cb3
dec dword [ebp - 0xd4]
jmp 0x403cdc
cmp dword [ebp - 0x118], 0x205
jne 0x403cdc
cmp dword [ebp - 0xd4], 0xd
jne 0x403cd6
mov dword [ebp - 0xd4], 1
jmp 0x403cdc
inc dword [ebp - 0xd4]
jmp 0x403e26
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xe4], eax
jne 0x403d50
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x202
jne 0x403d24
cmp dword [ebp - 0xd8], 1
jne 0x403d1c
mov dword [ebp - 0xd8], 0xd
jmp 0x403d22
dec dword [ebp - 0xd8]
jmp 0x403d4b
cmp dword [ebp - 0x118], 0x205
jne 0x403d4b
cmp dword [ebp - 0xd8], 0xd
jne 0x403d45
mov dword [ebp - 0xd8], 1
jmp 0x403d4b
inc dword [ebp - 0xd8]
jmp 0x403e26
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0xe4], eax
jne 0x403dbc
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x202
jne 0x403d93
cmp dword [ebp - 0xdc], 1
jne 0x403d8b
mov dword [ebp - 0xdc], 0xd
jmp 0x403d91
dec dword [ebp - 0xdc]
jmp 0x403dba
cmp dword [ebp - 0x118], 0x205
jne 0x403dba
cmp dword [ebp - 0xdc], 0xd
jne 0x403db4
mov dword [ebp - 0xdc], 1
jmp 0x403dba
inc dword [ebp - 0xdc]
jmp 0x403e26
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0xe4], eax
jne 0x403e26
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0x202
jne 0x403dff
cmp dword [ebp - 0xe0], 1
jne 0x403df7
mov dword [ebp - 0xe0], 0xd
jmp 0x403dfd
dec dword [ebp - 0xe0]
jmp 0x403e26
cmp dword [ebp - 0x118], 0x205
jne 0x403e26
cmp dword [ebp - 0xe0], 0xd
jne 0x403e20
mov dword [ebp - 0xe0], 1
jmp 0x403e26
inc dword [ebp - 0xe0]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xd4]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xf0]
push eax
call fcn.0040423c
push dword [ebp - 0xf0]
push dword [ebp - 0xb8]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0xf0]
push eax
call fcn.00404cb4
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xd8]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xfc]
push eax
call fcn.0040423c
push dword [ebp - 0xfc]
push dword [ebp - 0xbc]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0xfc]
push eax
call fcn.00404cb4
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xdc]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
call fcn.0040423c
push dword [ebp - 0x108]
push dword [ebp - 0xc0]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0x108]
push eax
call fcn.00404cb4
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0xe0]
call fcn.00404bb0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x114]
push eax
call fcn.0040423c
push dword [ebp - 0x114]
push dword [ebp - 0xc4]
call sub.USER32.dll_SetWindowTextA
lea eax, [ebp - 0x114]
push eax
call fcn.00404cb4
push 0
call fcn.004052f0
jmp 0x403977
lea eax, [ebp - 0x70]
push eax
call fcn.00404cb4
lea eax, [ebp - 0x10]
push eax
call fcn.00404cb4
push 0
call fcn.00405360
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret