Function at 0x4091e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x59c
mov eax, dword [0x487004]
xor eax, esp
mov dword [esp + 0x598], eax
mov eax, dword [0x48ba7c]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0
push 0
mov edi, ecx
mov ecx, dword [eax + 0xc]
push 0x229
push ecx
mov dword [esp + 0x2c], edi
call esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x74], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [0x48ba70]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push 0
push ecx
push 0
push edi
push edx
push eax
push 0
push 0
push 0x50800215
push 0x47a59c
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x400
lea ecx, [esp + 0x1a4]
push 0x30
push ecx
mov dword [0x48ba40], eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 2
call fcn.0043f810
push str.00:00:0000000000
lea edx, [esp + 0x1b0]
push 0x400
push edx
call fcn.0043d52d
mov edx, dword [0x48ba40]
mov ebx, dword [sym.imp.USER32.dll_GetDC]
add esp, 0x18
lea eax, [esp + 0x10]
push eax
push 1
lea ecx, [esp + 0x1a8]
push ecx
push edx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48ba44]
test eax, eax
jne 0x409321
push str.Arial_Cyr
push eax
push 2
push eax
push eax
push 0xcc
push eax
push eax
push eax
push 0x190
push eax
push eax
push eax
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x48ba44], eax
mov ecx, dword [0x48ba40]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x48ba44]
push edx
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
call fcn.0040ddc0
mov edx, 0x3cac
xor edi, edi
mov dword [esp + 0x18], edx
mov eax, dword [0x48ba7c]
cmp word [edx + eax + 0x3a0], 0
lea edx, [edx + eax + 0x3a0]
je 0x4093a5
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0xc], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409373
sub eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
sar eax, 1
push eax
push edx
mov edx, dword [0x48ba40]
push edx
call ebx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x10]
cmp eax, edi
jle 0x4093a5
mov edi, eax
mov edx, dword [esp + 0x18]
sub edx, 0x584
mov dword [esp + 0x18], edx
jns 0x409353
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xe8
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4093f1
dec edx
or edx, 0xfffffff8
inc edx
mov ecx, dword [0x48ba40]
shl eax, 9
add eax, 0x48bb08
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x1061
push ecx
mov dword [0x48cb08], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
call esi
mov ecx, dword [0x48ba40]
lea edx, [esp + 0x10]
push edx
push 9
lea eax, [esp + 0x1a8]
push eax
push ecx
mov dword [esp + 0x34], 2
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
mov edx, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xe6
push ecx
lea edi, [edx + edi + 7]
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x40948d
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 1
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push 7
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
add edi, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xe7
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x409519
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 2
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push 0x11
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
add edi, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xe9
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4095a5
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 3
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push 9
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
add edi, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xea
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x409631
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 4
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push 9
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
add edi, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xeb
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4096bd
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 5
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
mov edx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push 0xa
lea ecx, [esp + 0x1a8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [0x48cb08]
mov ecx, dword [0x48ba6c]
add edi, dword [esp + 0x10]
push 0x100
shl eax, 9
add eax, 0x48bb08
push eax
push 0xee
push ecx
call ebx
mov eax, dword [0x48cb08]
lea edx, [eax + 1]
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x409749
dec edx
or edx, 0xfffffff8
inc edx
lea ecx, [esp + 0x20]
push ecx
shl eax, 9
add eax, 0x48bb08
push 6
mov dword [0x48cb08], edx
mov edx, dword [0x48ba40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push 0x1061
push edx
mov dword [esp + 0x38], eax
call esi
push 0x34
xor ebx, ebx
lea eax, [esp + 0xe0]
push ebx
push eax
call fcn.0043f810
lea ecx, [esp + 0x158]
add esp, 0xc
mov dword [esp + 0xdc], 0xd
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xc], 0x3cac
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, dword [0x48ba7c]
mov eax, dword [esp + 0xc]
cmp word [eax + edx + 0x3a0], bx
je 0x40998b
mov edx, dword [0x48ba40]
lea ecx, [esp + 0xdc]
push ecx
push ebx
push 0x104d
push edx
mov dword [esp + 0xf0], 1
mov dword [esp + 0xf4], ebx
call esi
mov ecx, dword [0x48ba7c]
mov edx, dword [esp + 0xc]
mov ebx, eax
lea eax, [edx + ecx + 0x3a0]
mov edx, dword [0x48ba40]
lea ecx, [esp + 0x74]
push ecx
push ebx
push 0x1074
push edx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], eax
call esi
mov eax, dword [0x48ba7c]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + eax + 0x260]
mov ecx, dword [0x48ba40]
lea eax, [esp + 0xa8]
push eax
push ebx
push 0x1074
push ecx
mov dword [esp + 0xc0], 1
mov dword [esp + 0xcc], edx
call esi
mov edx, dword [0x48ba7c]
mov eax, dword [esp + 0xc]
lea ecx, [eax + edx + 0x2a0]
mov eax, dword [0x48ba40]
lea edx, [esp + 0x74]
push edx
push ebx
push 0x1074
push eax
mov dword [esp + 0x8c], 2
mov dword [esp + 0x98], ecx
call esi
mov ecx, dword [0x48ba7c]
mov edx, dword [esp + 0xc]
lea eax, [edx + ecx + 0x2e0]
mov edx, dword [0x48ba40]
lea ecx, [esp + 0xa8]
push ecx
push ebx
push 0x1074
push edx
mov dword [esp + 0xc0], 3
mov dword [esp + 0xcc], eax
call esi
mov eax, dword [0x48ba7c]
mov ecx, dword [esp + 0xc]
lea edx, [ecx + eax + 0x320]
mov ecx, dword [0x48ba40]
lea eax, [esp + 0x74]
push eax
push ebx
push 0x1074
push ecx
mov dword [esp + 0x8c], 4
mov dword [esp + 0x98], edx
call esi
mov edx, dword [0x48ba7c]
mov eax, dword [esp + 0xc]
lea ecx, [eax + edx + 0x360]
mov eax, dword [0x48ba40]
lea edx, [esp + 0xa8]
push edx
push ebx
push 0x1074
mov dword [esp + 0xbc], 5
mov dword [esp + 0xc8], ecx
push eax
call esi
mov ecx, dword [0x48ba7c]
mov edx, dword [esp + 0xc]
lea eax, [edx + ecx + 0x7a0]
mov edx, dword [0x48ba40]
lea ecx, [esp + 0x74]
push ecx
push ebx
push 0x1074
push edx
mov dword [esp + 0x8c], 6
mov dword [esp + 0x98], eax
call esi
xor ebx, ebx
sub dword [esp + 0x18], 4
sub dword [esp + 0xc], 0x584
jns 0x4097c0
mov ecx, dword [0x48ba40]
lea eax, [esp + 0x10]
push eax
push ebx
push 0x1010
push ecx
call esi
mov eax, dword [0x48ba40]
lea edx, [esp + 0x54]
push edx
push 1
push 0x1010
push eax
call esi
mov ecx, dword [0x48ba7c]
mov edx, dword [ecx + 0x4490]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 8
mov dword [esp + 0x1c], edx
call ebx
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x14]
mov edx, dword [0x48ba40]
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
push 1
lea eax, [ecx + eax*2]
push eax
push edi
push 0
push 0
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x110]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x1c]
push 0x3ed
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 8
call ebx
push 1
add eax, eax
push 4
mov dword [esp + 0x14], eax
call ebx
mov ecx, eax
mov eax, dword [esp + 0x6c]
add ecx, dword [esp + 0x10]
lea eax, [eax + eax*2]
cdq
sub eax, edx
mov edx, dword [esp + 0x118]
sar eax, 1
add eax, ecx
add eax, dword [esp + 0x1c]
push eax
push edi
push edx
push 0x10
call ebx
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x30]
push eax
call ebx
mov eax, dword [esp + 0x68]
push 1
mov ecx, dword [esp + 0x68]
push eax
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [esp + 0x20]
push ecx
push eax
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call ebx
mov edx, dword [0x48ba40]
push 0
push 0
push 0x1037
push edx
call esi
or eax, 0x20
push eax
mov eax, dword [0x48ba40]
push 0
push 0x1036
push eax
call esi
mov ecx, dword [esp + 0x5a4]
mov eax, dword [0x48ba40]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043c4a7
mov esp, ebp
pop ebp
ret