Function at 0x41f3c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499645
mov eax, dword fs:[0]
push eax
sub esp, 0x154
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 0x10
cmp eax, 1
jne 0x41f4b2
mov eax, dword fs:[0x2c]
movzx edx, di
mov dword [ebp + 8], edx
mov ecx, dword [eax]
mov eax, dword [0x4d0374]
cmp eax, dword [ecx + 4]
jle 0x41f480
push 0x4d0374
call fcn.00472521
add esp, 4
cmp dword [0x4d0374], 0xffffffff
jne 0x41f47d
movaps xmm0, xmmword [0x4bc9c0]
movups xmmword [0x4d033c], xmm0
push 0x4d0374
movaps xmm0, xmmword [0x4bca20]
movups xmmword [0x4d034c], xmm0
mov dword [0x4d036c], 0x9c48
movaps xmm0, xmmword [0x4bc9f0]
movups xmmword [0x4d035c], xmm0
mov dword [0x4d0370], 0xd2
call fcn.004724d7
add esp, 4
mov edx, dword [ebp + 8]
xor esi, esi
cmp dword [esi*8 + 0x4d033c], edx
je 0x41f493
inc esi
cmp esi, 7
jb 0x41f482
jmp 0x41f4b2
push edx
lea eax, [ebx + 0x38]
push str.accelerator_pressed:__d
push eax
call fcn.00431880
mov eax, dword [esi*8 + 0x4d0340]
add esp, 0xc
cmp eax, 0xffffffff
cmovne edi, eax
add edi, 0xffffff7f
cmp edi, 0x57
ja case.0x41f4c8.130
movzx eax, byte [edi + 0x41ff64]
jmp dword [eax*4 + 0x41ff14]
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0x404
mov eax, dword [ecx]
call dword [eax + 0xc]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x160]
call fcn.00415090
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 4]
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], vtable.Control.0
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x150]
test eax, eax
jne 0x41f589
cmp dword [ebp - 0x158], eax
movzx eax, word [ebp - 0x158]
mov byte [ebp - 0x144], 1
jne 0x41f552
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x160]
push edx
push 0x42eaa0
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x41f59e
mov ecx, dword [ebx + 0x58]
lea eax, [ebx + 0x50]
push eax
call fcn.00422ac0
mov ecx, ebx
call fcn.0041dfd0
jmp 0x41f59e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x150]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x1c], vtable.Control.0
call fcn.00413d10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.0041e7e0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xcc
push 0x412
push dword [ebx + 0x274]
call esi
test eax, eax
je 0x41f6ac
cmp eax, 4
jne 0x41f68e
push 1
push 0xcc
push 0x402
push dword [ebx + 0x274]
call esi
mov edi, dword [ebx + 0x60]
mov eax, dword [edi + 0x488]
lea esi, [edi + 0x488]
mov ecx, esi
call dword [eax + 4]
cmp byte [edi + 0x4a4], 1
jne 0x41f663
mov dword [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [edi + 0x4a4], 1
mov dword [ebp - 4], 3
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xcc
push 0x402
push dword [ebx + 0x274]
call esi
mov ecx, dword [ebx + 0x60]
push 0
call fcn.0043ee10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x60]
call fcn.0043e790
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xce
push 0x412
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41f6ac
mov esi, dword [ebx + 0xf0]
mov ecx, esi
push 0x5c
call fcn.00437ad0
push 0x5b
mov ecx, esi
call fcn.00437ad0
push 0xa0
mov ecx, esi
call fcn.00437ad0
push 0xa1
mov ecx, esi
call fcn.00437ad0
cmp byte [esi + 0x208], 0
je 0x41f743
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xffe7
call dword [eax + 4]
cmp byte [esi + 0x209], 0
je 0x41f75a
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xffe8
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffe3
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffe9
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffff
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xffff
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xffe9
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xffe3
call dword [eax + 8]
cmp byte [esi + 0x208], 0
je 0x41f7c5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffe7
call dword [eax + 4]
cmp byte [esi + 0x209], 0
je 0x41f7dc
mov eax, dword [esi]
mov ecx, esi
push 1
push 0xffe8
call dword [eax + 4]
push 0xa1
mov ecx, esi
call fcn.00437b30
push 0xa0
mov ecx, esi
call fcn.00437b30
push 0x5b
mov ecx, esi
call fcn.00437b30
push 0x5c
mov ecx, esi
call fcn.00437b30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0xcf
push 0x412
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41f6ac
push 1
push 0xa2
lea ecx, [ebx + 0x6c]
call fcn.0040df40
push 1
push 0x1b
lea ecx, [ebx + 0x6c]
call fcn.0040df40
push 0
push 0x1b
lea ecx, [ebx + 0x6c]
call fcn.0040df40
push 0
push 0xa2
lea ecx, [ebx + 0x6c]
call fcn.0040df40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xd0
push 0x412
push dword [ebx + 0x274]
call esi
test eax, eax
je 0x41f6ac
lea ecx, [ebx + 0x280]
push 0xd0
cmp eax, 4
jne 0x41f8f8
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41f8d6
push 0x408
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 1
push 0xd0
push 0x402
push dword [ebx + 0x274]
call esi
mov byte [ebx + 0x23c], 1
push 1
jmp 0x41f865
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41f914
push 0x400
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0xd0
push 0x402
push dword [ebx + 0x274]
call esi
mov byte [ebx + 0x23c], 0
jmp 0x41f863
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xd1
push 0x412
push dword [ebx + 0x274]
call esi
test eax, eax
je 0x41f6ac
lea ecx, [ebx + 0x280]
push 0xd1
cmp eax, 4
jne 0x41f9a9
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41f982
push 0x408
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 1
push 0xd1
push 0x402
push dword [ebx + 0x274]
call esi
push 1
mov byte [ebx + 0x23d], 1
push 0xa4
jmp 0x41f86a
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41f9c5
push 0x400
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0xd1
push 0x402
push dword [ebx + 0x274]
call esi
push 0
mov byte [ebx + 0x23d], 0
push 0xa4
jmp 0x41f86a
push 0xfffffffffffffff0
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1c
test al, 1
je 0x41fa3d
lea eax, [ebx + 0x38]
push str.Hide_toolbar
push eax
call fcn.00431880
add esp, 8
lea ecx, [ebx + 0x280]
push 0x81
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41fa39
push 0x400
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
jmp 0x41fa84
cmp byte [ebx + 0x2bc], 0
jne 0x41f6ac
lea eax, [ebx + 0x38]
push str.Show_toolbar
push eax
call fcn.00431880
add esp, 8
lea ecx, [ebx + 0x280]
push 0x81
call fcn.0042ef90
cmp eax, 0xffffffff
je 0x41fa82
push 0x408
push eax
push dword [ebx + 0x284]
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 5
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x41f6ac
push 0
push 0xd2
push 0x412
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41f6ac
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x41fafb
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41fadd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41fafb
mov ecx, dword [ebx + 0x64]
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x41faf4
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x68], 0
mov esi, dword [ebx + 0x68]
test esi, esi
jne 0x41fb4c
push 0x1cc
call fcn.004721ec
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 0x64]
mov edx, dword [ecx]
call dword [edx + 0xc]
push eax
mov ecx, esi
call fcn.0040f3c0
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x68], eax
test eax, eax
je 0x41fb3e
lea edx, [eax + 0x24]
jmp 0x41fb40
xor edx, edx
mov ecx, dword [ebx + 0x64]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x41fb99
mov eax, dword [esi + 0x18]
xor ecx, ecx
test eax, eax
je 0x41fb5f
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
test eax, eax
movzx edx, ax
mov eax, edx
jne 0x41fb6e
mov eax, dword [esi + 4]
push esi
push 0x42eaa0
push ecx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x68]
mov ecx, dword [ecx + 0x10]
call fcn.0044ed00
jmp 0x41f6ac
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebx + 0x68]
mov ecx, dword [ecx + 0x10]
call fcn.0044ed00
jmp 0x41f6ac
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0x402
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41f6ac
mov ecx, ebx
call fcn.0041eba0
jmp 0x41f6ac
mov esi, dword [ebx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0x1e]
mov dword [ebp - 4], 5
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x41fc04
mov ecx, dword [ebp - 0x10]
call fcn.0041f210
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x30c]
cmp eax, dword [ecx + 0x310]
je 0x41f6ac
mov esi, dword [ecx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov ebx, dword [esi + 0x14]
mov dword [ebp - 4], 6
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi + 0x58]
mov eax, dword [esi + 0x28]
lea edi, [esi + 0x28]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x18]
mov dword [ebp - 4], 7
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
imul eax, ebx, 0x64
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebx + 0x30c]
cdq
idiv esi
mov edx, dword [ebx + 0x310]
sub edx, edi
sar edx, 2
test edx, edx
je 0x41fc9c
lea esi, [eax + 5]
mov eax, edi
nop dword [eax]
cmp dword [eax], esi
jg 0x41fc9c
inc ecx
add eax, 4
cmp ecx, edx
jb 0x41fc90
cmp ecx, edx
jb 0x41fca3
lea ecx, [edx - 1]
push 0x64
push dword [edi + ecx*4]
mov ecx, dword [ebx + 0x58]
call fcn.004229f0
mov esi, dword [ebx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov byte [esi + 0x1e], 0
mov dword [ebp - 4], 8
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
lea eax, [ebx + 0x50]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x58]
push eax
call fcn.00422ac0
mov ecx, ebx
call fcn.0041dfd0
jmp 0x41f6ac
mov esi, dword [ebx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov bl, byte [esi + 0x1e]
mov dword [ebp - 4], 9
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x41fd21
mov ecx, dword [ebp - 0x10]
call fcn.0041f210
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x30c]
cmp eax, dword [ecx + 0x310]
je 0x41f6ac
mov esi, dword [ecx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov ebx, dword [esi + 0x14]
mov dword [ebp - 4], 0xa
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [esi + 0x58]
mov eax, dword [esi + 0x28]
lea edi, [esi + 0x28]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esi + 0x18]
mov dword [ebp - 4], 0xb
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
imul eax, ebx, 0x64
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
cdq
idiv esi
mov edx, dword [ebx + 0x310]
mov esi, dword [ebx + 0x30c]
mov edi, eax
sub edx, esi
sar edx, 2
mov ecx, edx
dec ecx
cmp ecx, edx
jae 0x41fdb0
lea eax, [edi - 5]
cmp dword [esi + ecx*4], eax
jge 0x41fda3
xor eax, eax
cmp ecx, edx
push 0x64
cmovbe eax, ecx
mov ecx, dword [ebx + 0x58]
push dword [esi + eax*4]
call fcn.004229f0
mov esi, dword [ebx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov byte [esi + 0x1e], 0
mov dword [ebp - 4], 0xc
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
lea eax, [ebx + 0x50]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x58]
push eax
call fcn.00422ac0
mov ecx, ebx
call fcn.0041dfd0
jmp 0x41f6ac
push 0
push 0xd6
push 0x402
push dword [ebx + 0x274]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebx + 0x58]
push 0
push 1
call fcn.00422fa0
mov ecx, eax
mov eax, 1
cdq
idiv ecx
mov edx, dword [ebx + 0x28]
lea ecx, [ebx + 0x28]
mov esi, eax
call dword [edx + 4]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebp - 4], 0xd
lea ecx, [ebx + 0x28]
mov eax, dword [ebx + 0x28]
call dword [eax + 8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebx + 0x58]
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
call dword [eax + 4]
mov byte [esi + 0x1e], 0
mov dword [ebp - 4], 0xe
lea ecx, [esi + 0x28]
mov eax, dword [esi + 0x28]
call dword [eax + 8]
lea eax, [ebx + 0x50]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebx + 0x58]
push eax
call fcn.00422ac0
mov ecx, ebx
call fcn.0041dfd0
jmp 0x41f6ac
mov ecx, ebx
call fcn.0041f210
jmp 0x41f6ac
cmp byte [ebx + 0x2bc], 0
lea eax, [ebx + 0x38]
je 0x41fecd
push str.Switch_to_windowed_mode
push eax
call fcn.00431880
add esp, 8
mov ecx, ebx
call fcn.00420300
jmp 0x41f6ac
push str.Switch_to_full_screen_mode
push eax
call fcn.00431880
add esp, 8
mov ecx, ebx
call fcn.0041ffc0
jmp 0x41f6ac
mov ecx, dword [ebx + 0x5c]
push 0
push 0
push 0x403
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41f6ac
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8