Function at 0x4b7da0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1058
call fcn.004d4ce0
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 0x4b8050
cmp edi, 0x133
je 0x4b7fc6
cmp edi, 0xd
ja 0x4b7ebd
je 0x4b7e8a
lea eax, [edi - 1]
cmp eax, 0xb
ja case.default.0x4b8071
xor ecx, ecx
mov cl, byte [eax + 0x4b84d4]
jmp dword [ecx*4 + 0x4b84c0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
jmp case.default.0x4b8071
mov ecx, dword [esp + 0x106c]
call fcn.004b7a40
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.0x4b8071
mov ecx, esi
call fcn.004b8510
jmp case.default.0x4b8071
mov ecx, dword [esp + 0x106c]
call fcn.004b79a0
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 0x4b7fa9
cmp edi, 0x14
je 0x4b80ec
cmp edi, 0x111
jne case.default.0x4b8071
mov eax, ebp
shr eax, 0x10
cmp eax, 8
je 0x4b7f82
cmp eax, 0x300
jne 0x4b82f7
mov eax, dword [esi + 0x268]
mov ecx, dword [esi + 0x270]
cmp eax, ecx
je 0x4b7f15
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 0x4b7f66
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [esi + 0x214], eax
jne 0x4b7f66
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 0x4b7f66
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.004b9440
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 0x4b82f7
mov eax, dword [esi + 0x264]
mov ebx, 0x20
cmp eax, ebx
je 0x4b82f7
push 0
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b7ac0
jmp 0x4b82f7
mov ecx, dword [esp + 0x106c]
push 1
call fcn.004b7ac0
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 0x4b8004
push 2
jmp 0x4b8006
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [0x73eec4]
test eax, eax
je 0x4b803d
mov edi, dword [esi + 0x214]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x4b803d
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 0x4b820c
je 0x4b81d2
lea eax, [edi - 0x200]
cmp eax, 3
ja case.default.0x4b8071
jmp dword [eax*4 + 0x4b84e0]
mov esi, dword [esp + 0x106c]
push 2
mov ecx, esi
call fcn.004d3910
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.004b7ca0
mov ecx, dword [esi + 0x264]
mov ebx, 0x20
cmp ecx, ebx
jne 0x4b80da
test eax, eax
je 0x4b80ec
push 0
mov ecx, esi
mov dword [esi + 0x264], 0x10
call fcn.004b7ac0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1058
ret 0x14
test eax, eax
jne 0x4b80ec
push eax
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b7ac0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1058
ret 0x14
cmp dword [esi + 0x264], 1
je case.default.0x4b8071
mov ecx, esi
call fcn.004b7d10
test eax, eax
je 0x4b81a2
mov ecx, esi
call fcn.004b7d70
mov dword [esi + 0x264], 0x20
jmp 0x4b814e
cmp dword [esi + 0x264], 1
je case.default.0x4b8071
mov ecx, esi
call fcn.004b7ca0
test eax, eax
je 0x4b8190
mov ecx, esi
mov dword [esi + 0x264], 1
call fcn.004b7d70
push 0
mov ecx, esi
call fcn.004b7ac0
cmp edi, 0x140
jb 0x4b82d8
cmp edi, 0x15a
ja 0x4b82d8
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.004b7d10
test eax, eax
je 0x4b81a2
mov ecx, esi
call fcn.004b8510
mov dword [esi + 0x264], 0x20
jmp 0x4b814e
cmp dword [esi + 0x264], 0x10
je case.default.0x4b8071
mov ecx, esi
call fcn.004b7ca0
neg eax
sbb eax, eax
and al, 0xf0
add eax, 0x20
mov dword [esi + 0x264], eax
jmp 0x4b814e
mov esi, dword [esp + 0x106c]
mov ebx, 0x20
cmp dword [esi + 0x264], ebx
je 0x4b82b3
mov ecx, esi
call fcn.004b7ca0
test eax, eax
jne 0x4b82b3
push eax
mov ecx, esi
mov dword [esi + 0x264], ebx
call fcn.004b7ac0
jmp 0x4b82b3
mov eax, edi
sub eax, 0x1400
je 0x4b844e
dec eax
je 0x4b8263
dec eax
jne case.default.0x4b8071
cmp dword [esp + 0x1078], 1
jne 0x4b8240
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 0x4b829d
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.004b7ac0
mov eax, edi
sub eax, 0x40b
je 0x4b816f
sub eax, 2
je 0x4b816f
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 0x4b829d
je 0x4b843b
cmp edi, 0x4e
je 0x4b8409
cmp edi, 0x111
jne 0x4b82b3
mov edx, dword [esi + 0x40]
mov eax, dword [esp + 0x107c]
cmp eax, edx
jne 0x4b82b3
mov ecx, ebp
shr ecx, 0x10
lea eax, [ecx - 5]
cmp eax, 5
ja case.0x4b8316.6
jmp dword [eax*4 + 0x4b84f0]
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 0x4b82b3
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 0x4b82b3
mov dword [esi + 0x68], 1
jmp 0x4b82b3
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 0x4b82b3
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 0x4b82b3
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 0x4b84b0
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.004d3c20
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1058
ret 0x14