Function at 0x412c90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x44e134]
xor eax, ebp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x47c], ecx
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x2c4]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 4], 0
je 0x413074
push 0
push 0
push 0x14b
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x300]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x412d20
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x3c]
jae 0x413035
xor edx, edx
mov word [ebp - 0x240], dx
push 0x1fe
push 0
lea eax, [ebp - 0x23e]
push eax
call fcn.0041c290
add esp, 0xc
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x2c4]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x50
lea ecx, [edx + eax + 0x44]
push ecx
push 0x447f64
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], 0x17
mov dword [ebp - 0x34], 0xffffffff
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x2c4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ecx + edx*4 + 0x4c04]
push eax
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x2c4]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x208
lea ecx, [edx + eax + 0xb04]
push ecx
mov edx, dword [0x44f780]
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x300]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
push edx
push 0
push 0x40b
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x40]
jne 0x412e81
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov dword [ebp - 0x244], 0
jmp 0x412e9c
mov eax, dword [ebp - 0x244]
add eax, 1
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x2c4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x244]
cmp ecx, dword [edx + eax*4 + 0x7e84]
jae 0x413030
xor edx, edx
mov word [ebp - 0x478], dx
push 0x206
push 0
lea eax, [ebp - 0x476]
push eax
call fcn.0041c290
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x478]
push ecx
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x190
lea edx, [eax + ecx + 0x4c84]
mov eax, dword [ebp - 0x244]
mov ecx, dword [edx + eax*4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x270], 0
xor edx, edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x270], 0x17
mov dword [ebp - 0x26c], 0xffffffff
lea eax, [ebp - 0x478]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x264], eax
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x2c4]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x190
lea edx, [eax + ecx + 0x4c84]
mov eax, dword [ebp - 0x244]
mov ecx, dword [edx + eax*4]
push ecx
call fcn.0040150a
add esp, 4
mov dword [ebp - 0x24c], eax
mov edx, dword [ebp - 0x24c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x300]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0x260], eax
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x254], 1
lea ecx, [ebp - 0x270]
push ecx
push 0
push 0x40b
mov edx, dword [ebp - 0x47c]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x248], eax
jmp 0x412e8d
jmp 0x412d17
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x300]
push edx
push 0
push 0x402
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
mov edx, dword [ebp - 8]
push edx
push 0x14e
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0041c275
mov esp, ebp
pop ebp
ret