Function at 0x4082d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x69c
mov eax, dword [0x43eec4]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0xffffffffffffffeb
push 0
mov dword [esp + 0x6ac], eax
mov eax, dword [0x44954c]
mov ecx, dword [eax + 0xc]
push 0
push 0x229
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x68], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edi, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x449540]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push 0
push ecx
push 0
push edi
sub edx, ebx
push edx
sub eax, dword [esp + 0x54]
push eax
push 0
push 0
push 0x50800215
push 0x437910
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x4484fc], eax
mov eax, 0x30303030
mov ecx, 0x100
lea edi, [esp + 0x2a0]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2a0]
push str.00:00:0000000000
push ecx
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x38], 0
mov dword [esp + 0x28], 2
call fcn.0041bcba
mov ecx, dword [0x4484fc]
mov ebx, dword [sym.imp.USER32.dll_GetDC]
add esp, 8
lea edx, [esp + 0xc]
push edx
push 1
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x448500]
test eax, eax
jne 0x408408
push str.Arial_Cyr
push eax
mov edx, dword [esp + 0x18]
push 2
push eax
push eax
push 0xcc
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x448500], eax
push eax
mov eax, dword [0x4484fc]
push eax
call ebx
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
call edi
mov ecx, dword [0x448500]
mov edx, dword [ebp + 8]
push ecx
push edx
call ebx
push eax
call edi
mov ecx, dword [0x44954c]
call fcn.0040c630
mov eax, 0x3cac
xor edi, edi
mov dword [esp + 0x14], eax
mov ecx, dword [0x44954c]
cmp word [eax + ecx + 0x3a0], 0
lea eax, [eax + ecx + 0x3a0]
mov dword [esp + 0x18], eax
je 0x40848a
lea edx, [esp + 0xc]
push edx
push eax
call fcn.0041b2c3
mov ecx, dword [0x4484fc]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xc]
cmp eax, edi
jle 0x40848a
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, 0x584
mov dword [esp + 0x14], eax
jns 0x408440
push 0xe8
call fcn.00416d90
add esp, 4
lea edx, [esp + 0x1c]
push edx
push 0
mov dword [esp + 0x30], eax
mov eax, dword [0x4484fc]
push 0x1061
push eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0
call esi
mov eax, dword [0x4484fc]
lea ecx, [esp + 0xc]
push ecx
push 9
lea edx, [esp + 0x2a8]
push edx
push eax
mov dword [esp + 0x30], 2
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0xc]
push 0xe6
lea edi, [ecx + edi + 7]
call fcn.00416d90
mov ecx, dword [0x4484fc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0x1061
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 7
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xc]
push 0xe7
add edi, eax
call fcn.00416d90
mov ecx, dword [0x4484fc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 2
push 0x1061
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 0x11
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xc]
push 0xe9
add edi, eax
call fcn.00416d90
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
mov ecx, dword [0x4484fc]
lea eax, [esp + 0x1c]
push eax
push 3
push 0x1061
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 9
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xc]
push 0xea
add edi, eax
call fcn.00416d90
mov ecx, dword [0x4484fc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0x1061
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 9
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0xc]
push 0xeb
add edi, eax
call fcn.00416d90
mov ecx, dword [0x4484fc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 5
push 0x1061
push ecx
mov dword [esp + 0x34], edx
call esi
mov ecx, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 0xa
lea eax, [esp + 0x2a8]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
add edi, dword [esp + 0xc]
push 0xee
mov dword [esp + 0x1c], edi
call fcn.00416d90
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push 6
mov dword [esp + 0x2c], edx
push 0x1061
mov ecx, dword [0x4484fc]
push ecx
call esi
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x24c]
mov dword [esp + 0x70], 0xd
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov ebx, 0x3cac
mov dword [esp + 0x14], edx
jmp 0x408700
mov eax, dword [0x44954c]
cmp word [ebx + eax + 0x3a0], 0
je 0x4088bd
mov edx, dword [0x4484fc]
lea ecx, [esp + 0x70]
push ecx
push 0
push 0x104d
push edx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0
call esi
mov ecx, dword [0x44954c]
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [eax], edi
lea eax, [esp + 0xb4]
push eax
push edi
lea edx, [ebx + ecx + 0x3a0]
mov ecx, dword [0x4484fc]
push 0x1074
push ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd8], edx
call esi
mov edx, dword [0x44954c]
lea ecx, [esp + 0x1b8]
push ecx
push edi
lea eax, [ebx + edx + 0x260]
mov edx, dword [0x4484fc]
push 0x1074
push edx
mov dword [esp + 0x1d0], 1
mov dword [esp + 0x1dc], eax
call esi
mov eax, dword [0x44954c]
lea edx, [esp + 0x150]
push edx
push edi
lea ecx, [ebx + eax + 0x2a0]
mov eax, dword [0x4484fc]
push 0x1074
push eax
mov dword [esp + 0x168], 2
mov dword [esp + 0x174], ecx
call esi
mov ecx, dword [0x44954c]
lea eax, [esp + 0x1ec]
push eax
push edi
lea edx, [ebx + ecx + 0x2e0]
mov ecx, dword [0x4484fc]
push 0x1074
push ecx
mov dword [esp + 0x204], 3
mov dword [esp + 0x210], edx
call esi
mov edx, dword [0x44954c]
lea ecx, [esp + 0xe8]
push ecx
push edi
lea eax, [ebx + edx + 0x320]
mov edx, dword [0x4484fc]
push 0x1074
push edx
mov dword [esp + 0x100], 4
mov dword [esp + 0x10c], eax
call esi
mov eax, dword [0x44954c]
lea edx, [esp + 0x11c]
push edx
push edi
lea ecx, [ebx + eax + 0x360]
mov eax, dword [0x4484fc]
push 0x1074
push eax
mov dword [esp + 0x134], 5
mov dword [esp + 0x140], ecx
call esi
mov ecx, dword [0x44954c]
mov dword [esp + 0x18c], 6
lea edx, [ebx + ecx + 0x7a0]
mov ecx, dword [0x4484fc]
lea eax, [esp + 0x184]
push eax
push edi
push 0x1074
push ecx
mov dword [esp + 0x1a8], edx
call esi
mov ecx, dword [esp + 0x14]
sub ecx, 4
sub ebx, 0x584
mov dword [esp + 0x14], ecx
jns 0x408700
mov eax, dword [0x4484fc]
lea edx, [esp + 0xc]
push edx
push 0
push 0x1010
push eax
call esi
mov edx, dword [0x4484fc]
lea ecx, [esp + 0x68]
push ecx
push 1
push 0x1010
push edx
call esi
mov eax, dword [0x44954c]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [eax + 0x4490]
push 8
call edi
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
sub edx, ecx
imul edx, ebx
push 1
add edx, ecx
mov ecx, dword [0x4484fc]
lea eax, [edx + eax*2]
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push eax
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ebx, dword [ebp + 8]
lea edx, [esp + 0xa4]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x3ed
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x50]
push ecx
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push 8
call edi
push 4
mov ebx, eax
call edi
mov ecx, eax
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x60]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + ebx*2]
mov ebx, dword [esp + 0x1c]
add eax, edx
push eax
mov eax, dword [esp + 0xb0]
push ebx
push eax
push 0x10
call edi
mov ecx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call edi
push 1
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 2
add eax, edx
push ecx
push eax
mov eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
push eax
push edx
call edi
mov eax, dword [0x4484fc]
push 0
push 0
push 0x1037
push eax
call esi
mov ecx, dword [0x4484fc]
or eax, 0x20
push eax
push 0
push 0x1036
push ecx
call esi
mov ecx, dword [esp + 0x6a4]
mov eax, dword [0x4484fc]
call fcn.0041b2b5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret