Function at 0x414470
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
mov ebp, dword [esp + 0x228]
push edi
lea eax, [esp + 0x10]
push eax
push ebp
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebp
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
cmp edi, 8
je 0x414854
cmp edi, 0x3f5
je 0x41482d
cmp ebx, 4
ja case.0x4144c3.1
jmp dword [ebx*4 + 0x4148c0]
call fcn.00406b70
cmp edi, 0x3f7
jne 0x414506
mov ebx, dword [eax + 0x84]
call fcn.00406b70
push 0x14
push 4
push 0x38
push 0xc2
push 2
push 0
push ebx
push esi
mov ecx, 6
push eax
lea edx, [ecx + 0x12]
call fcn.0043a240
jmp 0x4146fe
mov ebx, dword [eax + 0x88]
call fcn.00406b70
push 2
push 2
jmp 0x4146f6
cmp edi, 6
je 0x414587
cmp edi, 7
je 0x414587
cmp edi, 0x3fa
je 0x414587
cmp edi, 0x3fb
je 0x414587
cmp edi, 3
je 0x414587
cmp edi, 4
je 0x414587
cmp edi, 5
je 0x414587
cmp edi, 0x3f6
je 0x414587
cmp edi, 2
je 0x414587
call fcn.00406b70
cmp edi, 0x411
jne 0x414568
mov ebx, dword [eax + 0xa0]
jmp 0x4146ed
cmp edi, 0x3f7
mov ebx, dword [eax + 0x7c]
jne 0x4146ed
call fcn.00406b70
push 0x18
push 4
push 0x38
jmp 0x4146c7
call fcn.00406b70
mov ebx, dword [eax + 0x94]
jmp 0x4146ed
cmp edi, 6
je 0x4145f0
cmp edi, 7
je 0x4145f0
cmp edi, 0x3fa
je 0x4145f0
cmp edi, 0x3fb
je 0x4145f0
cmp edi, 3
je 0x4145f0
cmp edi, 4
je 0x4145f0
cmp edi, 5
je 0x4145f0
cmp edi, 0x3f6
je 0x4145f0
cmp edi, 2
je 0x4145f0
call fcn.00406b70
cmp edi, 0x411
jne 0x4145e5
mov ebx, dword [eax + 0xa4]
jmp 0x4146ed
mov ebx, dword [eax + 0x80]
jmp 0x4146b4
call fcn.00406b70
mov ebx, dword [eax + 0x98]
jmp 0x4146ed
cmp edi, 6
je 0x414653
cmp edi, 7
je 0x414653
cmp edi, 0x3fa
je 0x414653
cmp edi, 0x3fb
je 0x414653
cmp edi, 3
je 0x414653
cmp edi, 4
je 0x414653
cmp edi, 5
je 0x414653
cmp edi, 0x3f6
je 0x414653
cmp edi, 2
je 0x414653
call fcn.00406b70
cmp edi, 0x3f7
jne 0x41464b
mov ebx, dword [eax + 0x80]
jmp 0x4146bc
mov ebx, dword [eax + 0x78]
jmp 0x4146ed
call fcn.00406b70
mov ebx, dword [eax + 0x90]
jmp 0x4146ed
cmp edi, 6
je 0x4146e2
cmp edi, 7
je 0x4146e2
cmp edi, 0x3fa
je 0x4146e2
cmp edi, 0x3fb
je 0x4146e2
cmp edi, 3
je 0x4146e2
cmp edi, 4
je 0x4146e2
cmp edi, 5
je 0x4146e2
cmp edi, 0x3f6
je 0x4146e2
cmp edi, 2
je 0x4146e2
call fcn.00406b70
cmp edi, 0x411
jne 0x4146ae
mov ebx, dword [eax + 0xa8]
jmp 0x4146ed
mov ebx, dword [eax + 0x84]
cmp edi, 0x3f7
jne 0x4146ed
call fcn.00406b70
push 0x18
push 4
push 0x3a
push 0xc2
push 0
push 0
push ebx
push esi
mov ecx, 6
push eax
lea edx, [ecx + 0x16]
call fcn.0043a240
jmp 0x4146fe
call fcn.00406b70
mov ebx, dword [eax + 0x9c]
call fcn.00406b70
push 0
push 0
push esi
mov ecx, ebx
call fcn.0043aa90
push 0x1fe
lea ecx, [esp + 0x26]
push 0
push ecx
mov word [esp + 0x2c], 0
call fcn.00446fa0
add esp, 0xc
push 0x100
lea edx, [esp + 0x24]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x8000000
je 0x414791
push 0x565656
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414756
push 0x25
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004414cc
add esp, 0x21c
ret
cmp edi, 0x3f9
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
je 0x4147bd
cmp edi, 0x3f7
je 0x4147bd
cmp edi, 0x3f8
je 0x4147bd
push 0xaf6c15
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
jmp 0x4147ef
push 0xaf6c15
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4147d0
push 0x25
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4147f6
push 0x25
sub eax, edx
lea ecx, [esp + 0x14]
push ecx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
push esi
call ebx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004414cc
add esp, 0x21c
ret
call fcn.00406b70
sub ebx, 2
je 0x41484c
sub ebx, 1
je 0x414844
mov edi, dword [eax + 0xd0]
jmp 0x414897
mov edi, dword [eax + 0xc8]
jmp 0x414897
mov edi, dword [eax + 0xcc]
jmp 0x414897
mov eax, ebx
sub eax, 2
je 0x41488c
sub eax, 1
je 0x41487f
sub eax, 1
je 0x414872
call fcn.00406b70
mov edi, dword [eax + 0xc0]
jmp 0x414897
call fcn.00406b70
mov edi, dword [eax + 0xc4]
jmp 0x414897
call fcn.00406b70
mov edi, dword [eax + 0xb8]
jmp 0x414897
call fcn.00406b70
mov edi, dword [eax + 0xbc]
call fcn.00406b70
push 0
push 0
push esi
mov ecx, edi
call fcn.0043aa90
mov ecx, dword [esp + 0x224]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004414cc
add esp, 0x21c
ret