Function at 0x40224c
Capabilities:
Get graphical window text

Disassembly:
push rbp
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x120], rcx
mov dword [rbp + 0x128], edx
mov qword [rbp + 0x130], r8
mov qword [rbp + 0x138], r9
mov eax, dword [rbp + 0x128]
cmp eax, 2
je 0x40228e
cmp eax, 0x111
je 0x4022a6
jmp 0x402bbb
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_PostQuitMessage]
call rax
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 1
jne 0x4022d2
mov r8d, 0
mov edx, 1
mov ecx, 0x7600e9
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 3
jne 0x4022fe
mov r8d, 0
mov edx, 1
mov ecx, 0x777b04
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 2
jne 0x40232a
mov r8d, 0
mov edx, 1
mov ecx, 0x777b18
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 4
jne 0x402356
mov r8d, 0
mov edx, 1
mov ecx, 0x777b1c
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 5
jne 0x402382
mov r8d, 0
mov edx, 1
mov ecx, 0x777b10
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 6
jne 0x4023ae
mov r8d, 0
mov edx, 1
mov ecx, 0x777b90
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 7
jne 0x4023da
mov r8d, 0
mov edx, 1
mov ecx, 0x777b24
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 8
jne 0x402406
mov r8d, 0
mov edx, 1
mov ecx, 0x777b80
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 9
jne 0x402432
mov r8d, 0
mov edx, 1
mov ecx, 0x777af0
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xa
jne 0x40245e
mov r8d, 0
mov edx, 1
mov ecx, 0x777aec
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xb
jne 0x40248a
mov r8d, 0
mov edx, 1
mov ecx, 0x777aa0
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xc
jne 0x4024b6
mov r8d, 0
mov edx, 1
mov ecx, 0x777aa4
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xd
jne 0x4024e2
mov r8d, 0
mov edx, 1
mov ecx, 0x777b88
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xe
jne 0x40250e
mov r8d, 0
mov edx, 1
mov ecx, 0x777b0c
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0xf
jne 0x40253a
mov r8d, 0
mov edx, 1
mov ecx, 0x777afc
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x10
jne 0x402566
mov r8d, 0x4204
mov edx, 0x4180
mov ecx, 0x6efbda
call sym.change_2Byte_hobbit_void__unsigned_short__unsigned_short_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x12
jne 0x402592
mov r8d, 0
mov edx, 1
mov ecx, 0x777b5c
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x13
jne 0x4025be
mov r8d, 0
mov edx, 1
mov ecx, 0x777af8
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x14
jne 0x4025ea
mov r8d, 0
mov edx, 1
mov ecx, 0x777af4
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x11
jne 0x402613
movss xmm1, dword [0x0048c838]
mov ecx, 0x75bdb4
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x15
jne 0x402721
mov edx, 0x16
mov rcx, qword [rbp + 0x120]
mov rax, qword [sym.imp.USER32.dll_GetDlgItem]
call rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov r9d, 0
mov r8d, 0
mov edx, 0x147
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov dword [rbp + 0xc4], eax
mov eax, dword [rbp + 0xc4]
movsxd rdx, eax
mov rax, qword [rbp + 0xc8]
mov r9d, 0
mov r8, rdx
mov edx, 0x149
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov dword [rbp + 0xc0], eax
mov eax, dword [rbp + 0xc0]
add eax, 1
cdqe
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp + 0xb8], rax
mov rcx, qword [rbp + 0xb8]
mov eax, dword [rbp + 0xc4]
movsxd rdx, eax
mov rax, qword [rbp + 0xc8]
mov r9, rcx
mov r8, rdx
mov edx, 0x148
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov eax, dword [rbp + 0xc4]
shl eax, 2
cdqe
add rax, 0x75be98
movss xmm1, dword [0x0048c838]
mov rcx, rax
call sym.plusA_float_hobbit_void__float_
cmp qword [rbp + 0xb8], 0
je 0x40271c
mov rax, qword [rbp + 0xb8]
mov rcx, rax
call sym.operator_delete___void_
jmp 0x402bbb
mov rax, qword [rbp + 0x130]
cmp ax, 0x17
jne 0x402837
mov edx, 0x16
mov rcx, qword [rbp + 0x120]
mov rax, qword [sym.imp.USER32.dll_GetDlgItem]
call rax
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0x108]
mov r9d, 0
mov r8d, 0
mov edx, 0x147
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
movsxd rdx, eax
mov rax, qword [rbp + 0x108]
mov r9d, 0
mov r8, rdx
mov edx, 0x149
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov dword [rbp + 0x100], eax
mov eax, dword [rbp + 0x100]
add eax, 1
cdqe
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp + 0xf8], rax
mov rcx, qword [rbp + 0xf8]
mov eax, dword [rbp + 0x104]
movsxd rdx, eax
mov rax, qword [rbp + 0x108]
mov r9, rcx
mov r8, rdx
mov edx, 0x148
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_SendMessageA]
call rax
mov eax, dword [rbp + 0x104]
shl eax, 2
cdqe
add rax, 0x75be9a
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.change_2Byte_hobbit_void__unsigned_short__unsigned_short_
cmp qword [rbp + 0xf8], 0
je 0x40282d
mov rax, qword [rbp + 0xf8]
mov rcx, rax
call sym.operator_delete___void_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x18
jne 0x402860
movss xmm1, dword [0x0048c838]
mov ecx, 0x75bdc4
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x19
jne 0x402889
movss xmm1, dword [0x0048c83c]
mov ecx, 0x75bdc4
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x1a
jne 0x4028b2
movss xmm1, dword [0x0048c838]
mov ecx, 0x75be14
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x1b
jne 0x4028db
movss xmm1, dword [0x0048c83c]
mov ecx, 0x75be14
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x1c
jne 0x402904
movss xmm1, dword [0x0048c840]
mov ecx, 0x772bf0
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x1d
jne 0x40292d
movss xmm1, dword [0x0048c844]
mov ecx, 0x772bf0
call sym.plusA_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x1e
jne 0x402959
mov r8d, 0
mov edx, 1
mov ecx, 0x75fbf4
call sym.change_1Byte_hobbit_void__unsigned_char__unsigned_char_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x20
jne 0x4029d4
mov edx, 0x1f
mov rcx, qword [rbp + 0x120]
mov rax, qword [sym.imp.USER32.dll_GetDlgItem]
call rax
mov qword [rbp + 0xf0], rax
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0xf0]
mov r8d, 0x100
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_GetWindowTextA]
call rax
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.atoi
mov dword [rbp + 0xec], eax
pxor xmm0, xmm0
cvtsi2ss xmm0, dword [rbp + 0xec]
movaps xmm1, xmm0
mov ecx, 0x75b850
call sym.change_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x21
jne 0x402a87
mov ecx, 0x75ba3c
call sym.ukazatel_hobbit_void_
mov qword [0x004ab040], rax
mov rax, qword [0x004ab040]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xe0]
add rax, 0x14
mov rcx, rax
call sym.save_float_hobbit_void_
pxor xmm2, xmm2
cvtsi2ss xmm2, eax
movd eax, xmm2
mov dword [0x004ab030], eax
mov rax, qword [rbp + 0xe0]
add rax, 0x18
mov rcx, rax
call sym.save_float_hobbit_void_
pxor xmm3, xmm3
cvtsi2ss xmm3, eax
movd eax, xmm3
mov dword [0x004ab034], eax
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov rcx, rax
call sym.save_float_hobbit_void_
pxor xmm4, xmm4
cvtsi2ss xmm4, eax
movd eax, xmm4
mov dword [0x004ab038], eax
mov eax, dword [rbp + 0xdc]
mov dword [rbp - 0x54], eax
cvttss2si rax, dword [rbp - 0x54]
jmp 0x402be7
mov rax, qword [rbp + 0x130]
cmp ax, 0x22
jne 0x402bbb
mov eax, dword [0x004ab030]
mov dword [rbp + 0xd8], eax
mov eax, dword [0x004ab034]
mov dword [rbp + 0xd4], eax
mov eax, dword [0x004ab038]
mov dword [rbp + 0xdc], eax
mov rax, qword [0x004ab040]
mov qword [rbp + 0xe0], rax
pxor xmm0, xmm0
ucomiss xmm0, dword [rbp + 0xd8]
jp 0x402ae8
pxor xmm0, xmm0
ucomiss xmm0, dword [rbp + 0xd8]
je 0x402bb4
mov rax, qword [rbp + 0xe0]
add rax, 0x14
mov edx, dword [rbp + 0xd8]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov rax, qword [rbp + 0xe0]
add rax, 0x464
mov edx, dword [rbp + 0xd8]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov rax, qword [rbp + 0xe0]
add rax, 0x18
mov edx, dword [rbp + 0xd4]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov rax, qword [rbp + 0xe0]
add rax, 0x468
mov edx, dword [rbp + 0xd4]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov rax, qword [rbp + 0xe0]
add rax, 0x1c
mov edx, dword [rbp + 0xdc]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov rax, qword [rbp + 0xe0]
add rax, 0x46c
mov edx, dword [rbp + 0xdc]
mov dword [rbp - 0x54], edx
movss xmm1, dword [rbp - 0x54]
mov rcx, rax
call sym.change_float_hobbit_void__float_
mov eax, 0
jmp 0x402be7
mov rcx, qword [rbp + 0x138]
mov rdx, qword [rbp + 0x130]
mov eax, dword [rbp + 0x128]
mov r9, rcx
mov r8, rdx
mov edx, eax
mov rcx, qword [rbp + 0x120]
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
call rax
add rsp, 0x190
pop rbp
ret