Function at 0x4b69f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1058
call fcn.004d3780
push ebx
push ebp
mov ebp, dword [esp + 0x1070]
push esi
mov esi, dword [esp + 0x1068]
push edi
mov edi, dword [esp + 0x1074]
cmp edi, 0x133
ja 0x4b6ca0
cmp edi, 0x133
je 0x4b6c16
cmp edi, 0xd
ja 0x4b6b0d
je 0x4b6ada
lea eax, [edi - 1]
cmp eax, 0xb
ja case.default.0x4b6cc1
xor ecx, ecx
mov cl, byte [eax + 0x4b7124]
jmp dword [ecx*4 + 0x4b7110]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
jmp case.default.0x4b6cc1
mov ecx, dword [esp + 0x106c]
call fcn.004b6690
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14
mov eax, dword [esp + 0x107c]
mov ecx, dword [esi + 0x214]
push eax
push ebp
push edi
push ecx
mov dword [esi + 0x6c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0x6c], 0
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 0x214]
jne case.default.0x4b6cc1
mov ecx, esi
call fcn.004b7160
jmp case.default.0x4b6cc1
mov ecx, dword [esp + 0x106c]
call fcn.004b65f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14
mov edx, dword [esp + 0x107c]
mov ecx, dword [esp + 0x106c]
mov eax, dword [esp + 0x1078]
push edx
mov edx, dword [ecx + 0x214]
push eax
push 0xd
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
cmp edi, 0xf
je 0x4b6bf9
cmp edi, 0x14
je 0x4b6d3c
cmp edi, 0x111
jne case.default.0x4b6cc1
mov eax, ebp
shr eax, 0x10
cmp eax, 8
je 0x4b6bd2
cmp eax, 0x300
jne 0x4b6f47
mov eax, dword [esi + 0x268]
mov ecx, dword [esi + 0x270]
cmp eax, ecx
je 0x4b6b65
mov ecx, dword [esi + 0x214]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x4b6bb6
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [esi + 0x214], eax
jne 0x4b6bb6
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esi + 0x70], 1
call dword [edx + 0x10]
mov eax, dword [esi + 0x12c4]
test eax, eax
je 0x4b6bb6
mov ecx, dword [esi + 0x214]
lea eax, [esi + 0x12c8]
push 0x823
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
mov ecx, esi
call fcn.004b8090
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x218]
push edx
push ebp
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b6f47
mov eax, dword [esi + 0x264]
mov ebx, 0x20
cmp eax, ebx
je 0x4b6f47
push 0
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b6710
jmp 0x4b6f47
mov ecx, dword [esp + 0x106c]
push 1
call fcn.004b6710
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14
mov esi, dword [esp + 0x106c]
mov edi, dword [esp + 0x1078]
mov ecx, dword [esi + 0x21c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esi + 0x220]
push edx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esi + 0x268]
mov ecx, dword [esi + 0x270]
cmp eax, ecx
jne 0x4b6c54
push 2
jmp 0x4b6c56
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x6dbf24]
test eax, eax
je 0x4b6c8d
mov edi, dword [esi + 0x214]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x4b6c8d
push 0
push 1
push 0x8d3
push edi
mov dword [esi + 0x44], 1
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x268]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
cmp edi, 0x2a3
ja 0x4b6e5c
je 0x4b6e22
lea eax, [edi - 0x200]
cmp eax, 3
ja case.default.0x4b6cc1
jmp dword [eax*4 + 0x4b7130]
mov esi, dword [esp + 0x106c]
push 2
mov ecx, esi
call fcn.004d24b0
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x1070]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.004b68f0
mov ecx, dword [esi + 0x264]
mov ebx, 0x20
cmp ecx, ebx
jne 0x4b6d2a
test eax, eax
je 0x4b6d3c
push 0
mov ecx, esi
mov dword [esi + 0x264], 0x10
call fcn.004b6710
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1058
ret 0x14
test eax, eax
jne 0x4b6d3c
push eax
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b6710
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1058
ret 0x14
cmp dword [esi + 0x264], 1
je case.default.0x4b6cc1
mov ecx, esi
call fcn.004b6960
test eax, eax
je 0x4b6df2
mov ecx, esi
call fcn.004b69c0
mov dword [esi + 0x264], 0x20
jmp 0x4b6d9e
cmp dword [esi + 0x264], 1
je case.default.0x4b6cc1
mov ecx, esi
call fcn.004b68f0
test eax, eax
je 0x4b6de0
mov ecx, esi
mov dword [esi + 0x264], 1
call fcn.004b69c0
push 0
mov ecx, esi
call fcn.004b6710
cmp edi, 0x140
jb 0x4b6f28
cmp edi, 0x15a
ja 0x4b6f28
mov edx, dword [esp + 0x107c]
mov eax, dword [esi + 0x40]
push edx
push ebp
push edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
mov ecx, esi
call fcn.004b6960
test eax, eax
je 0x4b6df2
mov ecx, esi
call fcn.004b7160
mov dword [esi + 0x264], 0x20
jmp 0x4b6d9e
cmp dword [esi + 0x264], 0x10
je case.default.0x4b6cc1
mov ecx, esi
call fcn.004b68f0
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x20
mov dword [esi + 0x264], eax
jmp 0x4b6d9e
mov esi, dword [esp + 0x106c]
mov ebx, 0x20
cmp dword [esi + 0x264], ebx
je 0x4b6f03
mov ecx, esi
call fcn.004b68f0
test eax, eax
jne 0x4b6f03
push eax
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b6710
jmp 0x4b6f03
mov eax, edi
sub eax, 0x1400
je 0x4b709e
dec eax
je 0x4b6eb3
dec eax
jne case.default.0x4b6cc1
cmp dword [esp + 0x1078], 1
jne 0x4b6e90
call dword [sym.imp.USER32.dll_GetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
mov eax, dword [esp + 0x106c]
mov ecx, dword [eax + 0x214]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14
mov eax, dword [esp + 0x107c]
test eax, eax
je 0x4b6eed
mov edx, dword [esi + 0x210]
push 0
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov ecx, dword [esi + 0x210]
mov eax, dword [esp + 0x107c]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0
mov ecx, esi
call fcn.004b6710
mov eax, edi
sub eax, 0x40b
je 0x4b6dbf
sub eax, 2
je 0x4b6dbf
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1070]
push eax
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
cmp edi, 0x407
ja 0x4b6eed
je 0x4b708b
cmp edi, 0x4e
je 0x4b7059
cmp edi, 0x111
jne 0x4b6f03
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x107c]
cmp eax, edx
jne 0x4b6f03
mov ecx, ebp
shr ecx, 0x10
lea eax, [ecx - 5]
cmp eax, 5
ja case.0x4b6f66.6
jmp dword [eax*4 + 0x4b7140]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push 0x823
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x1070]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x218]
push edi
push ebp
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
mov eax, dword [esi + 0x68]
test eax, eax
je 0x4b6f03
mov ecx, dword [esi + 0x214]
lea eax, [esi + 0x27c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 4]
push 0
push 0
push 0x1402
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4b6f03
mov dword [esi + 0x68], 1
jmp 0x4b6f03
mov eax, dword [esp + 0x1070]
mov ecx, dword [esi + 0x218]
push eax
push ebp
push 0x111
push ecx
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4b6f03
mov edx, dword [esp + 0x1070]
mov eax, dword [esi + 0x218]
push edx
push ebp
push 0x111
push eax
mov dword [esi + 0x68], 0
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b6f03
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1070]
push eax
push ebp
mov dword [eax], ecx
mov edx, dword [esi + 4]
push 0x4e
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
mov eax, dword [esi + 0x214]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1058
ret 0x14
cmp dword [esp + 0x1078], 0x2005
jne 0x4b7100
mov esi, dword [esp + 0x106c]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x238]
push 6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
mov edx, dword [esp + 0x1078]
push edx
call fcn.004d27c0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14