joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f9d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
test ebx, ebx
push edi
mov edi, eax
je 0x1001f9f0
add ebx, 0xfffffb90
mov dword [esp + 0xc], ebx
jmp 0x1001f9fc
mov dword [esp + 0xc], 0
mov ebx, dword [esp + 0xc]
cmp dword [ebp + 8], 0
mov eax, dword [ebx + 4]
je 0x1001fa83
push 0x490
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov ecx, esi
mov ebx, edi
mov dword [esp + 0x10], 0xffffffff
call fcn.10015350
test eax, eax
je 0x1001fa75
mov ecx, dword [edi]
mov dword [ecx - 8], esi
mov edx, dword [edi]
mov word [edx + esi*2], 0
mov eax, dword [edi]
test eax, eax
je 0x1001fa75
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [esp + 0x10], eax
call fcn.10011c20
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi]
mov word [edx + eax*2], 0
cmp dword [esp + 0x10], esi
jge 0x1001fad5
mov ebx, dword [esp + 0xc]
xor esi, esi
jmp 0x1001fa98
mov edi, dword [edi]
push edi
push 0x490
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x1001faca
push 0xffffffffffffffff
add ebx, 0x470
call dword [sym.imp.USER32.dll_MessageBeep]
test ebx, ebx
je 0x1001fab2
lea eax, [ebx - 0x470]
jmp 0x1001fab4
xor eax, eax
mov ecx, dword [eax + 4]
push 0x490
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10021740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x10057f00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1006e020]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x414]
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x14], eax
call dword [section..data]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x100217c9
call fcn.100213a0
mov esi, eax
jmp 0x100218af
mov edx, dword [ebp - 0x14]
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x100217e5
call fcn.100213a0
jmp 0x100218a6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x100217fe
call fcn.100213a0
jmp 0x100218a6
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
cmp eax, ebx
mov dword [ebp - 0x14], ebx
jae 0x10021834
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10021822
lea eax, [ebp]
call fcn.10022b10
lea esi, [ebp - 0x1c]
call fcn.10021370
mov eax, 0x8007000e
jmp 0x100218c2
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.100218f0
mov dword [ebp - 4], 1
jmp 0x1002185c
mov esi, dword [ebp]
test esi, esi
jne 0x1002186a
mov esi, 0x8007000e
jmp 0x100218a8
call dword [section..data]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
push ebx
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1002188b
call fcn.100213a0
jmp 0x100218a6
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.10021930
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x100218c0
lea eax, [ebp]
call fcn.10022b10
nop
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10056d50
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10022ab0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x10022ac3
push 0x80004005
call fcn.10014720
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x10022ad0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x10022c70
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x1006e020]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x10022cde
test ecx, ecx
je 0x10022cd0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x10022cec
test ecx, ecx
je 0x10022d91
push ecx
jmp 0x10022d8b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
jne 0x10022d5e
jmp 0x10022d20
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.10022c70
mov edi, eax
test edi, edi
jne 0x10022dad
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
je 0x10022d20
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10022d75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10022d91
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10056d50
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10022dbc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x10022d93
Function at 0x10029bf0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1005baf0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
push 0x2e
push eax
xor ebp, ebp
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x10029c32
or eax, 0xffffffff
jmp 0x10029c36
sub eax, dword [edi]
sar eax, 1
mov ecx, dword [edi]
mov ecx, dword [ecx - 8]
lea edx, [esp + 0x18]
push edx
sub ecx, eax
push edi
call fcn.10015170
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MSVCR80.dll__wcsicmp]
push str..xml
push eax
call esi
add esp, 8
test eax, eax
je 0x10029c81
mov ecx, dword [esp + 0x18]
push str..rdf
push ecx
call esi
add esp, 8
test eax, eax
je 0x10029c81
mov ebp, 1
mov edx, dword [esp + 0x18]
push 0x1005dbc8
push edx
call esi
add esp, 8
test eax, eax
jne 0x10029cda
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10029cc1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10029cc1
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 6
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029da4
lea eax, [esp + 0x18]
call fcn.10015ac0
mov ecx, dword [esp + 0x18]
call fcn.1004a2a0
test al, al
mov eax, dword [esp + 0x18]
je 0x10029c98
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
je 0x10029d9f
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x1005dbc8
call fcn.10011b50
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], 0
jle 0x10029d6f
push 0x5c
push eax
call dword [sym.imp.MSVCR80.dll_wcschr]
add esp, 8
test eax, eax
je 0x10029d6f
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x10029d6f
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
lea ebx, [esp + 0x1c]
call fcn.10015a20
mov edi, eax
mov eax, ebx
mov byte [esp + 0x28], 1
call fcn.10015ac0
lea esi, [esp + 0x1c]
call fcn.10015b40
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], 0x10
jl 0x10029d9b
lea esi, [esp + 0x18]
call fcn.10015b40
mov eax, 5
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
test ebp, ebp
jne 0x10029da4
mov ebp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10029dd1
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10029dd1
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x100316b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x10058c48
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [edi + 0x4e8]
lea ebp, [edi + 0x4e8]
xor esi, esi
push eax
mov dword [edi + 0x51c], esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x51c], esi
jne 0x1003188d
mov ecx, dword [edi + 0x4e0]
push ecx
mov edx, ebp
call fcn.100086e0
mov eax, dword [eax + 8]
test al, 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x1003173d
mov eax, dword [edi + 0x4e0]
mov edx, dword [ebp]
push eax
push 4
push 0x110a
push edx
call ebx
push eax
mov edx, ebp
mov dword [edi + 0x4e0], eax
call fcn.100086e0
mov eax, dword [eax + 8]
test eax, 0x100
je 0x1003188d
mov eax, dword [0x1006eb44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], esi
mov ecx, dword [edi + 0x4e0]
push ecx
push ebp
lea esi, [esp + 0x18]
call fcn.10008530
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], 0
je 0x100317bd
mov eax, dword [edi + 0x4e0]
push eax
mov eax, dword [ebp]
push 3
push 0x110a
push eax
call ebx
push 0x172
push ecx
mov ebx, 0x1005e048
mov esi, esp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esp
call fcn.10015b70
mov ecx, dword [esp + 0x1c]
push ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.10036e20
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x4e0], edx
mov esi, edi
call fcn.10037540
mov eax, dword [edi + 0x4e0]
mov ecx, dword [ebp]
push eax
push 9
push 0x110b
push ecx
call ebx
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x4e0]
push eax
mov eax, dword [ebp]
push 0
push 0x1141
push eax
call ebx
mov ecx, dword [ebp]
push 0
push 0
push 0x110f
push ecx
mov dword [esp + 0x24], eax
call ebx
mov esi, eax
test esi, esi
jne 0x1003181e
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
jmp 0x10031874
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call ebx
push 0
push 0
push 0xb7
push esi
call ebx
mov eax, dword [esp + 0x14]
push 0x104
push 0x10070cb0
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x4e0]
push 0
push 0
push 0
push 0x10070cb0
push ebp
mov edx, 1
call fcn.10009dc0
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x1003188d
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1003188d
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x100319f0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [ebx + 0x4e8]
lea esi, [ebx + 0x4e8]
push edi
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x4e0]
push ecx
mov edx, esi
call fcn.100086e0
test dword [eax + 8], 0x100
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x10031a9e
mov eax, dword [ebx + 0x4e0]
mov edx, dword [esi]
push eax
push 1
push 0x110a
push edx
call edi
mov ebp, eax
test ebp, ebp
jne 0x10031a82
mov eax, dword [ebx + 0x4e0]
push eax
mov eax, dword [esi]
push 2
push 0x110a
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x10031a82
mov ebp, dword [ebx + 0x4e0]
push eax
push eax
push eax
push 0x1005e048
push esi
lea edx, [eax + 1]
mov ecx, ebp
call fcn.10009dc0
mov dword [ebx + 0x4e0], ebp
jmp 0x10031aba
mov ecx, dword [ebx + 0x4e0]
push ecx
call fcn.100374e0
mov dword [esp + 0x10], 0
mov dword [ebx + 0x4e0], ebp
jmp 0x10031aba
mov ecx, dword [ebx + 0x4e0]
push 0
push 0
push 0
push 0x1005e048
push esi
mov edx, 1
call fcn.10009dc0
mov edx, dword [ebx + 0x4e0]
mov eax, dword [esi]
push edx
push 9
push 0x110b
push eax
call edi
cmp dword [esp + 0x10], 0
je 0x10031b48
mov eax, dword [ebx + 0x4e0]
mov ecx, dword [esi]
push eax
push 0
push 0x1141
push ecx
call edi
mov edx, dword [esi]
push 0
push 0
push 0x110f
push edx
mov dword [esp + 0x20], eax
call edi
mov ebp, eax
test ebp, ebp
je 0x10031b48
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call edi
push 0
push 0
push 0xb7
push ebp
call edi
mov eax, dword [esp + 0x10]
push 0x104
push 0x10070eb8
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x4e0]
push 0
push 0
push 0
push 0x10070eb8
push esi
mov edx, 1
call fcn.10009dc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10032bf0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp eax, 0x100
mov esi, ecx
je 0x10032cce
cmp eax, 0x201
jne 0x10032d1a
mov eax, dword [esi - 0x1c]
push 0x3f3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10032c74
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10032c74
push edi
mov ecx, esi
mov dword [esi + 0x4ec], 1
call fcn.10030140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi - 0x1c]
push 0x4be
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10032d1a
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10032d1a
push edi
mov ecx, esi
mov dword [esi + 0x4f0], 1
call fcn.10030140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 8]
cmp eax, 0xd
je 0x10032d2b
cmp eax, 0x71
jne 0x10032d1a
mov edx, dword [edi]
cmp edx, dword [esi + 0x4c8]
lea ebx, [esi + 0x4c8]
jne 0x10032d1a
mov eax, dword [esi + 0x4c0]
test eax, eax
je 0x10032d1a
push eax
mov edx, ebx
call fcn.100086e0
test byte [eax + 8], 6
je 0x10032d1a
mov eax, dword [esi + 0x4c0]
mov ecx, dword [ebx]
push eax
push 0
push 0x1141
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov ecx, esi
call fcn.10030140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x4c8]
push 0
push 0
push 0x110f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x10032cdb
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10032cdb
push 0
push 0xd
push pe_nt_image_headers32
push ebx
mov dword [esi + 0x4e0], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov dword [esi + 0x4e4], 0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10033f00
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x10058c48
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [edi + 0x298]
lea ebp, [edi + 0x298]
xor esi, esi
push eax
mov dword [edi + 0x2cc], esi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0x2cc], esi
jne 0x100340dd
mov ecx, dword [edi + 0x290]
push ecx
mov edx, ebp
call fcn.100086e0
mov eax, dword [eax + 8]
test al, 1
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x10033f8d
mov eax, dword [edi + 0x290]
mov edx, dword [ebp]
push eax
push 4
push 0x110a
push edx
call ebx
push eax
mov edx, ebp
mov dword [edi + 0x290], eax
call fcn.100086e0
mov eax, dword [eax + 8]
test eax, 0x100
je 0x100340dd
mov eax, dword [0x1006eb44]
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], esi
mov ecx, dword [edi + 0x290]
push ecx
push ebp
lea esi, [esp + 0x18]
call fcn.10008530
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], 0
je 0x1003400d
mov eax, dword [edi + 0x290]
push eax
mov eax, dword [ebp]
push 3
push 0x110a
push eax
call ebx
push 0x172
push ecx
mov ebx, 0x1005e048
mov esi, esp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esp
call fcn.10015b70
mov ecx, dword [esp + 0x1c]
push ecx
push edi
lea ecx, [esp + 0x2c]
call fcn.10038d80
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x290], edx
mov esi, edi
call fcn.100394a0
mov eax, dword [edi + 0x290]
mov ecx, dword [ebp]
push eax
push 9
push 0x110b
push ecx
call ebx
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x290]
push eax
mov eax, dword [ebp]
push 0
push 0x1141
push eax
call ebx
mov ecx, dword [ebp]
push 0
push 0
push 0x110f
push ecx
mov dword [esp + 0x24], eax
call ebx
mov esi, eax
test esi, esi
jne 0x1003406e
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
jmp 0x100340c4
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call ebx
push 0
push 0
push 0xb7
push esi
call ebx
mov eax, dword [esp + 0x14]
push 0x104
push 0x100710c0
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x290]
push 0
push 0
push 0
push 0x100710c0
push ebp
mov edx, 1
call fcn.10009dc0
mov eax, dword [esp + 0x10]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x100340dd
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x100340dd
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x10034240
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [ebx + 0x298]
lea esi, [ebx + 0x298]
push edi
push eax
mov dword [esp + 0x14], 1
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x290]
push ecx
mov edx, esi
call fcn.100086e0
test dword [eax + 8], 0x100
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x100342ee
mov eax, dword [ebx + 0x290]
mov edx, dword [esi]
push eax
push 1
push 0x110a
push edx
call edi
mov ebp, eax
test ebp, ebp
jne 0x100342d2
mov eax, dword [ebx + 0x290]
push eax
mov eax, dword [esi]
push 2
push 0x110a
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x100342d2
mov ebp, dword [ebx + 0x290]
push eax
push eax
push eax
push 0x1005e048
push esi
lea edx, [eax + 1]
mov ecx, ebp
call fcn.10009dc0
mov dword [ebx + 0x290], ebp
jmp 0x1003430a
mov ecx, dword [ebx + 0x290]
push ecx
call fcn.10039440
mov dword [esp + 0x10], 0
mov dword [ebx + 0x290], ebp
jmp 0x1003430a
mov ecx, dword [ebx + 0x290]
push 0
push 0
push 0
push 0x1005e048
push esi
mov edx, 1
call fcn.10009dc0
mov edx, dword [ebx + 0x290]
mov eax, dword [esi]
push edx
push 9
push 0x110b
push eax
call edi
cmp dword [esp + 0x10], 0
je 0x10034398
mov eax, dword [ebx + 0x290]
mov ecx, dword [esi]
push eax
push 0
push 0x1141
push ecx
call edi
mov edx, dword [esi]
push 0
push 0
push 0x110f
push edx
mov dword [esp + 0x20], eax
call edi
mov ebp, eax
test ebp, ebp
je 0x10034398
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call edi
push 0
push 0
push 0xb7
push ebp
call edi
mov eax, dword [esp + 0x10]
push 0x104
push 0x100712c8
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x290]
push 0
push 0
push 0
push 0x100712c8
push esi
mov edx, 1
call fcn.10009dc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10035440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp eax, 0x100
mov esi, ecx
je 0x10035503
cmp eax, 0x201
jne 0x1003554f
mov eax, dword [esi - 0x1c]
push 0x3f3
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100354b8
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x100354b8
mov dword [esi + 0x29c], 1
jmp 0x1003554f
mov edx, dword [esi - 0x1c]
push 0x4be
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1003554f
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x1003554f
mov dword [esi + 0x2a0], 1
jmp 0x1003554f
mov eax, dword [edi + 8]
cmp eax, 0xd
je 0x1003556a
cmp eax, 0x71
jne 0x1003554f
mov edx, dword [edi]
cmp edx, dword [esi + 0x278]
lea ebx, [esi + 0x278]
jne 0x1003554f
mov eax, dword [esi + 0x270]
test eax, eax
je 0x1003554f
push eax
mov edx, ebx
call fcn.100086e0
test byte [eax + 8], 6
je 0x1003554f
mov eax, dword [esi + 0x270]
mov ecx, dword [ebx]
push eax
push 0
push 0x1141
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea ecx, [esi + 0xac]
call sub.LiteHtml.dll_public:_int___thiscall_CLiteHtmlCtrl::PreTranslateMessage_struct_tagMSG__
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x278]
push 0
push 0
push 0x110f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
je 0x10035510
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10035510
push 0
push 0xd
push pe_nt_image_headers32
push ebx
mov dword [esi + 0x290], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov dword [esi + 0x294], 0
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4