Function at 0x1001f330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10059020
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [0x1006eb44]
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0x50], edi
push 0x271
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
call fcn.10013a10
mov byte [esp + 0x50], 1
mov eax, dword [0x1006eb44]
push 0x272
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.10013a10
mov ebx, dword [ebp + 8]
mov byte [esp + 0x50], 2
lea ecx, [ebx + 0x4b4]
lea edx, [ebx + 0x554]
lea eax, [ebx + 0x5f4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], 0x4f3
mov dword [esp + 0x30], 0x4f2
mov dword [esp + 0x34], 0x4f4
mov dword [esp + 0x20], edi
jmp 0x1001f3e0
mov eax, dword [esp + edi + 0x2c]
mov ecx, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f4f8
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001f4f8
mov eax, dword [esp + edi + 0x38]
test eax, eax
mov dword [esp + 0x28], eax
je 0x1001f4f8
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1001f4f8
lea edi, [eax + 1]
mov ecx, edi
lea ebx, [esp + 0x10]
call fcn.10015350
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, ebx
call fcn.10011c20
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [edi - 8], eax
lea edx, [esp + 0x18]
mov word [edi + eax*2], 0
push edx
lea eax, [esp + 0x20]
push eax
mov edx, ebx
call fcn.100159b0
mov edi, eax
mov eax, ebx
mov byte [esp + 0x50], 3
call fcn.10015ac0
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1001f4b5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1001f4b5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x1001f4cf
mov esi, eax
lea eax, [esp + 0x10]
call fcn.10013510
mov esi, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call sub.LiteHtml.dll_public:_int___thiscall_CLiteHtmlCtrl::SubclassWindow_struct_HWND____
push esi
call fcn.100135e0
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
mov ecx, esi
call sub.LiteHtml.dll_public:_bool___thiscall_CLiteHtmlCtrl::Load_wchar_t_const___struct_HINSTANCE_____wchar_t_const__
mov edi, dword [esp + 0x20]
mov ebx, dword [ebp + 8]
add edi, 4
cmp edi, 0xc
mov dword [esp + 0x20], edi
jb 0x1001f3e0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1001f530
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x1001f530
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x1001f552
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x1001f552
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1001f574
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x1001f574
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4