Function at 0x4537f6
Capabilities:
Get graphical window text

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xe8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
push ecx
push edx
push 0x4a5e00
call fcn.00443fd0
test al, al
jne 0x453839
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [0x4a5e74]
mov edx, dword [ecx + eax*4]
mov ebp, dword [edx]
movzx eax, byte [ebp + 0x88]
mov esi, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], 0xffffffff
cmp eax, 0x1c
ja case.0x45386e.2
movzx eax, byte [eax + 0x453fce]
jmp dword [eax*4 + 0x453f92]
push 0
push 0
push 0x188
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je case.0x45386e.2
push 0
push edi
push 0x18a
push esi
call ebx
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c2a
add esp, 4
mov ebp, eax
push ebp
push edi
push 0x189
push esi
call ebx
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0
push 0
push 0x147
push esi
call ebx
mov edi, eax
cmp edi, 0xffffffff
je case.0x45386e.2
push 0
push edi
push 0x149
push esi
call ebx
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c2a
add esp, 4
mov ebp, eax
push ebp
push edi
push 0x148
push esi
call ebx
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
cmp byte [esp + 0xec], 0
push 0
push 0
je 0x453985
push 0xe
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
inc ebp
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c2a
add esp, 4
push ebp
mov ebx, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x453f81
mov dword [edi], eax
push ebx
call fcn.0041293d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0xf0
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], eax
test eax, eax
jne 0x45399d
mov dword [edi], 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0
push 0
push 0x408
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0
push 0
push 0x400
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x130b
push esi
call ebx
cmp byte [esp + 0xec], 0
mov dword [edi], eax
je 0x453a31
lea ecx, [esp + 0xc4]
push ecx
push eax
push 0x133c
push esi
mov dword [esp + 0xd4], 8
call ebx
mov edx, dword [esp + 0xdc]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x45382a
push 0x208
call fcn.00412c2a
mov edx, dword [esp + 0xe8]
add esp, 4
cmp byte [esp + 0xec], 0
lea ecx, [esp + 0x7c]
push ecx
push 0
mov esi, eax
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x88], 0x30
push eax
je 0x453ace
mov dword [esp + 0x90], 0x10
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], 0x104
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x453c74
mov dword [edi], eax
push esi
call fcn.0041293d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov dword [esp + 0x90], 1
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
push esi
test eax, eax
je 0x45396e
call fcn.0041293d
mov ecx, dword [esp + 0x8c]
mov dl, cl
and dl, 3
movsx eax, dl
add esp, 4
neg eax
sbb eax, eax
and eax, 0x40
add eax, 0x40
mov dword [edi], ecx
test ecx, 0x8080
je 0x453b18
or eax, 0x100
test cl, 8
je 0x453b22
or eax, 1
jmp 0x453b25
or eax, 4
test ecx, 0x1000
je 0x453b32
or eax, 0x200
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 9
push 0x110a
push esi
mov dword [edi], 0
call ebx
test eax, eax
je 0x453bef
cmp byte [esp + 0xec], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 4
je 0x453bd6
push 0x2000
call fcn.00412c2a
add esp, 4
mov edi, eax
lea eax, [esp + 0x40]
push eax
push 0
push 0x113e
push esi
mov dword [esp + 0x50], 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0xfff
call ebx
test eax, eax
je 0x453bbe
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push edi
call fcn.0041293d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x113e
push esi
call ebx
test eax, eax
je 0x453bef
mov edx, dword [esp + 0x64]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebp + 0xc]
push 0xfffffffffffffff0
push ecx
mov dword [esp + 0x4c], eax
mov dword [edi], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp byte [esp + 0xec], 0
mov esi, eax
mov dword [esp + 0x40], 8
mov dword [esp + 0x4c], 0xf000
je 0x453c83
push 0x2000
call fcn.00412c2a
add esp, 4
lea edx, [esp + 0x40]
push edx
push 0
mov esi, eax
mov eax, dword [ebp + 0x30]
push 0x113e
push eax
mov dword [esp + 0x50], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0xfff
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x453ab6
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov edx, dword [ebp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x113e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x453cd9
mov eax, dword [esp + 0x48]
test esi, 0x100
je 0x453cbb
mov ecx, eax
shr ecx, 0xc
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 4
mov dword [edi], ecx
test al, 2
je 0x453cc5
or dword [edi], 0x100
test al, 0x20
je 0x453ccf
or dword [edi], 0x400
test al, 0x10
je 0x453cd9
or dword [edi], 0x200
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call ebx
push 0x28
lea edx, [esp + 0x1c]
push 0
push edx
mov dword [edi], eax
call fcn.00414700
mov eax, dword [edi]
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x104b
push esi
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], eax
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0x38]
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov esi, dword [ebp + 0x30]
push 0xffffffffffffffec
push esi
mov dword [edi], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x28
lea edx, [esp + 0x1c]
push 0
push edx
mov ebx, eax
call fcn.00414700
mov eax, dword [esp + 0xf0]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push 0xffffffffffffffff
push 0x1053
push esi
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x45382a
test bl, 4
je 0x453dfd
cmp byte [esp + 0xec], 0
je 0x453dfd
lea edx, [esp + 0x18]
push edx
push 0
push 0x104b
push esi
mov dword [esp + 0x28], 8
mov dword [esp + 0x38], 0xf000
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x453dee
mov eax, dword [esp + 0x24]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0x2000
call fcn.00412c2a
xor ecx, ecx
add esp, 4
mov ebx, eax
xor edi, edi
cmp cx, word [ebp + 0x8c]
mov esi, ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x30], 0xfff
jge 0x453e96
mov eax, dword [ebp + 0x30]
lea edx, [esp + 0x18]
push edx
push 0
push 0x104b
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.004127e5
mov ecx, 0xffe
sub ecx, eax
add esp, 4
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x453f81
push ebx
call fcn.004127e5
mov cx, word [0x4a5e14]
lea eax, [ebx + eax*2]
add esp, 4
xor edx, edx
push eax
mov word [eax], cx
mov word [eax + 2], dx
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movsx eax, word [ebp + 0x8c]
inc edi
cmp edi, eax
jl 0x453e2b
mov edx, dword [ebp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x104b
push edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
lea esi, [ebp + 0x68]
push esi
call fcn.00445ce6
test al, al
je 0x453ee3
push esi
call fcn.0045155e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
mov ecx, esi
call fcn.004078f0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
lea eax, [esp + 0x68]
push eax
push 0
push 0x1001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je case.0x45386e.12
push 0x16
call fcn.00412c2a
movzx ecx, word [esp + 0x72]
movzx edx, word [esp + 0x6e]
push ecx
mov esi, eax
movzx eax, word [esp + 0x70]
push edx
push eax
push str._d__02d__02d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd0
ret 0xc
push 0
push 0
push 0xe
push esi
call ebx
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00412c2a
add esp, 4
push edi
mov ebx, eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xd0
ret 0xc