Function at 0x418ca0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10c
mov eax, dword [0x49e280]
xor eax, esp
mov dword [esp + 0x108], eax
push edi
call fcn.00418c10
mov edi, eax
mov dword [esp + 4], edi
mov dword [esp + 8], 0
test edi, edi
jne 0x418ce7
mov eax, 0x200
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00457c10
add esp, 0x10c
ret
mov eax, dword [esp + 0x114]
push ebx
dec eax
push ebp
push esi
cmp eax, 0x7f
ja case.0x418d08.12
movzx eax, byte [eax + 0x4192a8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
jmp dword [eax*4 + 0x419278]
cmp dword [0x4a443c], 0
jne 0x418ffb
cmp dword [0x4a4434], 0
je 0x418d2f
mov esi, 0x4978
jmp 0x419009
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc80
add esi, 0x3e8
jmp 0x419012
cmp dword [0x4a443c], 0
jne 0x418ffb
cmp dword [0x4a4434], 0
je 0x418d6a
mov esi, 0x4978
jmp 0x419009
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc7f
add esi, 0x3e9
jmp 0x419012
cmp dword [0x4a443c], 0
jne 0x418ffb
cmp dword [0x4a4434], 0
je 0x418da5
mov esi, 0x4978
jmp 0x419009
cmp dword [0x4a4440], 0
je 0x418db8
mov esi, 0x68
jmp 0x419012
push 0x3e9
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0x3e8
jmp 0x419000
cmp dword [0x4a443c], 0
je 0x418ded
mov esi, 0x8029
jmp 0x419000
cmp dword [0x4a4434], 0
je 0x418e00
mov esi, 0x4979
jmp 0x419009
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc7f
add esi, 0x3ea
jmp 0x419012
cmp dword [0x4a443c], 0
jne 0x4190aa
cmp dword [0x4a4434], 0
jne 0x4190aa
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc7b
add esi, 0x3ef
jmp 0x419012
cmp dword [0x4a443c], 0
je 0x418e63
mov esi, 0x8029
jmp 0x419000
cmp dword [0x4a4434], 0
je 0x418e76
mov esi, 0x4979
jmp 0x419009
cmp dword [0x4a4440], 0
je 0x418ecf
xor ecx, ecx
push 0xfe
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.0045acf0
add esp, 0xc
push 0x80
lea eax, [esp + 0x1c]
push eax
push 0x68
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x48a578
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 0x69
jmp 0x419000
push 0x3ea
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x3ef
jmp 0x419000
cmp dword [0x4a443c], 0
je 0x418f05
mov esi, 0x802a
jmp 0x419000
cmp dword [0x4a4434], 0
je 0x418f18
mov esi, 0x497a
jmp 0x419009
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc82
add esi, 0x3eb
jmp 0x419012
cmp dword [0x4a443c], 0
je 0x418f46
mov esi, 0x802b
jmp 0x419000
cmp dword [0x4a4434], 0
je 0x418f59
mov esi, 0x497b
jmp 0x419009
mov esi, dword [0x4a4440]
neg esi
sbb esi, esi
and esi, 0xfffffc80
add esi, 0x3ee
jmp 0x419012
cmp dword [0x4a443c], 0
je 0x418f84
mov esi, 0x804a
jmp 0x419000
cmp dword [0x4a4434], 0
je 0x418f94
mov esi, 0x499a
jmp 0x419009
cmp dword [0x4a4440], 0
je case.default.0x4191c4
mov esi, 0x8ca8
mov dword [esp + 0x14], 1
jmp 0x419201
cmp dword [0x4a443c], 0
je 0x418fc3
mov esi, 0x802d
jmp 0x419000
cmp dword [0x4a4434], 0
je case.default.0x4191c4
mov esi, 0x497d
jmp 0x419009
cmp dword [0x4a443c], 0
je 0x418fe7
mov esi, 0x802c
jmp 0x419000
cmp dword [0x4a4434], 0
je case.default.0x4191c4
mov esi, 0x497c
jmp 0x419009
mov esi, 0x8028
cmp dword [0x4a443c], 0
jne 0x41902f
cmp dword [0x4a4434], 0
jne 0x41902f
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4190de
mov eax, 0x200
jmp 0x41925f
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je case.default.0x4191c4
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
test edi, edi
je case.default.0x4191c4
mov eax, dword [esp + 0x10]
movzx edx, bx
push edx
push edi
push 0x117
push eax
call ebp
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
jne 0x41908a
mov ecx, dword [esp + 0x10]
push ecx
inc ebx
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
jne 0x419042
mov eax, 0x200
jmp 0x41925f
test al, 3
je 0x4190de
mov eax, dword [esp + 0x120]
cmp eax, 0x20
jne 0x4190b4
cmp esi, 0x8029
je 0x4190aa
cmp esi, 0x4979
jne 0x4190de
mov eax, 0x410
jmp 0x41925f
cmp eax, 0x11
je 0x4190be
cmp eax, 0x12
jne 0x4190de
cmp esi, 0x802d
je 0x4190aa
cmp esi, 0x497d
je 0x4190aa
cmp esi, 0x802c
je 0x4190aa
cmp esi, 0x497c
je 0x4190aa
cmp esi, 0x3e8
ja 0x41915a
je 0x419150
lea eax, [esi - 0x68]
cmp eax, 6
ja case.default.0x4191c4
jmp dword [eax*4 + 0x419328]
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.0045acf0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0x80
lea ecx, [esp + 0x1c]
push ecx
push 0x68
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push str.Pause
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, eax
neg edi
sbb edi, edi
add edi, 0x102
jmp 0x419206
mov edi, 0x101
jmp 0x419206
cmp esi, 0x4978
ja 0x41918b
je case.0x4191c4.32808
lea eax, [esi - 0x3e9]
cmp eax, 6
ja case.default.0x4191c4
jmp dword [eax*4 + 0x419344]
mov edi, 0x102
jmp 0x419206
mov edi, 0x110
jmp 0x419206
cmp esi, 0x499a
ja 0x4191ab
je 0x419201
lea eax, [esi - 0x4979]
cmp eax, 4
ja case.default.0x4191c4
jmp dword [eax*4 + 0x419360]
cmp esi, 0x804a
ja 0x4191f5
je 0x419201
lea eax, [esi - 0x8028]
cmp eax, 5
ja case.default.0x4191c4
jmp dword [eax*4 + 0x419374]
mov edi, 0x104
jmp 0x419206
mov edi, 0x108
jmp 0x419206
mov edi, 0x140
jmp 0x419206
mov edi, 0x180
jmp 0x419206
mov edi, 0x111
jmp 0x419206
mov edi, 0x112
jmp 0x419206
cmp esi, 0x8ca8
jne case.default.0x4191c4
mov edi, 0x113
cmp dword [0x4a443c], 0
jne 0x419240
cmp dword [0x4a4434], 0
jne 0x419240
cmp dword [esp + 0x14], 0
jne 0x419240
mov ebx, dword [esp + 0x10]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
movzx ecx, si
push ecx
push 0x111
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
jmp 0x41925f
mov eax, dword [esp + 0x10]
push 0
movzx edx, si
push edx
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, edi
jmp 0x41925f
mov eax, 0xa00
mov ecx, dword [esp + 0x118]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.00457c10
add esp, 0x10c
ret