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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.18117057
lea esi, [edi + 0x1e4]
xor ecx, ecx
mov eax, dword [esi]
inc ecx
mov ebx, 0x100
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or eax, ecx
jge 0x18117fb0
push ebx
mov ecx, esi
call fcn.1800773c
push ebx
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.18009ed8
push 1
mov ecx, edi
call fcn.18119d58
push 8
call fcn.18122d28
mov esi, eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], esi
test eax, eax
je 0x18118007
push 8
push eax
call fcn.181229a6
pop ecx
pop ecx
push 0x7d9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push 1
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x181ccf80
push 3
push esi
push 0x181b9e0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1811806c
mov ecx, dword [edi + 0x1ec]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x18118066
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
xor esi, esi
mov dword [edi + 0x1ec], ebx
mov ecx, edi
call fcn.181191d7
mov dword [ebp - 0xc], esi
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
push 0xbdc
lea ecx, [ebp - 0xc]
call fcn.180076e8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.18119dca
mov ecx, edi
call fcn.18119d29
push 0x7db
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 8]
test eax, eax
je 0x181180da
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret 0x10

Function at 0x181192af
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.1802745d
test al, al
je 0x181192e6
push 0x7dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1811931e
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.180076e8
lea eax, [ebp - 8]
mov ecx, esi
push eax
push 0x7dc
call fcn.181190e3
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.18122478
leave
ret 8
Function at 0x1811c9a9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [eax], 1
mov ebx, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.18137120
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x28], 0
mov edx, eax
mov dword [ebp - 0x60], edx
je 0x1811ca12
mov ecx, dword [ebx + 0x38]
jmp 0x1811ca20
cmp byte [ebx + 0x27], 0
je 0x1811ca1d
mov ecx, dword [ebx + 0x34]
jmp 0x1811ca20
mov ecx, dword [ebx + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x44]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_RoundRect]
cmp byte [ebx + 0x29], 0
je 0x1811ca6c
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x1811cb04
mov dword [ebp - 8], edi
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
inc esi
lea ecx, [ebp - 8]
push esi
call fcn.180075b2
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009ed8
push dword [ebx + 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x27
mov eax, ebx
pop ecx
cmp byte [ecx + eax], 0
je 0x1811cacb
mov eax, dword [ebx + 0x40]
jmp 0x1811cace
mov eax, dword [ebx + 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18122478
leave
ret 0x10
Function at 0x181220a2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x181a1400]
sub edx, 1
jne 0x181220a5
mov eax, ecx
ret
Function at 0x1815269a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.18152317

Function at 0x18159404
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1815927a

Function at 0x1815ddc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1815dded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1815dded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10013f0
Capabilities:
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push 0x1001110
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100142f
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push 0x10010e8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001441
push eax
push 5
call fcn.010013ab
pop ecx
pop ecx
push 2
call dword [sym.imp.msvcrt.dll_exit]
leave
ret 4

Function at 0x1001445
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
and byte [0x1002034], 0
lea eax, [ebp - 0x160]
push eax
mov dword [ebp - 8], 0x20
mov dword [ebp - 0x160], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x150], 2
je 0x100148c
push 3
call fcn.010013ab
pop ecx
push 2
call dword [sym.imp.msvcrt.dll_exit]
cmp dword [ebp - 0x15c], 3
ja 0x10014b3
jne 0x10014ba
cmp dword [ebp - 0x158], 0x33
jae 0x10014b3
cmp dword [ebp - 0x158], 0x32
jne 0x10014ba
cmp word [ebp - 0x14c], 0
je 0x10014ba
mov byte [0x1002034], 1
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x10011f0
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x10014f5
mov dword [0x1002028], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100151b
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x1001178
push edi
call esi
test eax, eax
jne 0x1001514
mov dword [0x1002028], 2
jmp 0x10014ea
and dword [0x1002028], 0
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x1001110
push edi
call esi
test eax, eax
pop edi
pop esi
pop ebx
jne 0x1001566
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10010e8
push dword [ebp - 4]
mov dword [ebp - 8], 0x20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001566
cmp dword [ebp - 0xc], 4
jne 0x1001566
mov eax, dword [ebp - 0x4c]
mov dword [0x1002030], eax
leave
ret
Function at 0x10015bf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010012a0
call fcn.01001445
call fcn.01001568
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov esi, eax
push esi
lea eax, [ebp - 0x10]
push 0x1001270
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
mov eax, esi
add esp, 0xc
sub eax, 0x3a4
je 0x100165a
sub eax, 4
je 0x1001653
sub eax, 0xd
je 0x100164c
dec eax
je 0x1001645
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
and eax, 0x3ff
cmp ax, 0x11
je 0x100163e
cmp ax, 0x12
je 0x100163e
cmp ax, 4
je 0x100163e
mov eax, 0x400
jmp 0x100165f
mov eax, 0x409
jmp 0x100165f
mov eax, 0x404
jmp 0x100165f
mov eax, 0x412
jmp 0x100165f
mov eax, 0x804
jmp 0x100165f
mov eax, 0x411
movzx eax, ax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.msvcrt.dll_setlocale]
cmp byte [0x100202c], bl
pop ecx
pop ecx
je 0x1001689
xor esi, esi
inc esi
push esi
jmp 0x10017b9
mov eax, dword [0x1002028]
cmp eax, ebx
jne 0x10016a0
push 2
call fcn.010013ab
pop ecx
push ebx
jmp 0x10017c0
cmp byte [0x1002034], bl
jne 0x10016b7
push 4
call fcn.010013ab
pop ecx
push 1
jmp 0x10017c0
xor esi, esi
inc esi
cmp byte [0x1002020], bl
je 0x1001783
mov ecx, dword [0x1002024]
sub ecx, ebx
je 0x1001742
dec ecx
je 0x100170a
dec ecx
je 0x10016e9
push 0x1001258
call dword [sym.imp.msvcrt.dll_printf]
pop ecx
push 2
jmp 0x10017c0
cmp dword [0x1002030], 2
jne 0x10016ff
cmp eax, 2
jne 0x10016fb
push 0xd
jmp 0x1001694
push 0xe
jmp 0x10016aa
push 2
call fcn.010013f0
push 0xf
jmp 0x1001771
xor esi, esi
inc esi
cmp dword [0x1002030], esi
jne 0x100172b
cmp byte [0x1002021], bl
je 0x1001724
push 0xa
jmp 0x10017b9
push 0xb
jmp 0x1001694
push esi
call fcn.010013f0
push 0xc
call fcn.010013ab
push 9
call fcn.010013ab
pop ecx
jmp 0x10017be
cmp dword [0x1002030], ebx
jne 0x1001769
cmp eax, esi
jne 0x1001760
push 6
call fcn.010013ab
movzx eax, byte [0x1002021]
pop ecx
push eax
jmp 0x10017c0
cmp eax, 2
jne 0x1001783
push 7
jmp 0x10017b9
push ebx
call fcn.010013f0
push 8
call fcn.010013ab
push 9
call fcn.010013ab
pop ecx
jmp 0x10016af
cmp byte [0x1002021], bl
jne 0x100179d
cmp eax, esi
jne 0x1001796
push 0x10
jmp 0x1001694
push 0x11
jmp 0x1001694
push 0x12
call fcn.010013ab
mov eax, dword [0x1002030]
cmp eax, esi
pop ecx
je 0x10017b7
cmp eax, 2
je 0x10017b7
push 0x14
jmp 0x10017b9
push 0x13
call fcn.010013ab
pop ecx
push esi
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x10017c7
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x1001278
call fcn.010019b0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1001802
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001802
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100181a
cmp eax, 0x20b
je 0x1001807
mov dword [ebp - 0x1c], edi
jmp 0x100182e
cmp dword [ecx + 0x84], 0xe
jbe 0x1001802
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1001828
cmp dword [ecx + 0x74], 0xe
jbe 0x1001802
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002038], 0xffffffff
or dword [0x100203c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [section..data]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100201c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1002040], eax
call fcn.010019ac
cmp dword [0x1002010], edi
jne 0x1001889
push fcn.010019ac
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100199a
push 0x10010a4
push 0x10010a0
call sub.msvcrt.dll__initterm
mov eax, dword [0x1002018]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1002014]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x100109c
push 0x1001098
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010015bf
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x1001900
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001935
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010019e9
ret
Function at 0x1005b4c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f27c
call fcn.0100e880
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
push dword [ebp + 0xc]
lea ecx, [esi + 0xe8]
call fcn.0100a98b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1005b85
push 0x98
jmp 0x1005b9e
mov eax, dword [eax + 0xc]
cmp ecx, eax
jne 0x1005b93
push 0x99
jmp 0x1005b9e
jbe 0x1005b9c
push 0x9a
jmp 0x1005b9e
push 0x75
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
xor eax, eax
push 0xd
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], ecx
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104c
push dword [esi + 0x1bc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x1005d69
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 4], 0
push esi
push edi
push 6
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [edx + 0x13c]
xor esi, esi
inc esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], esi
call ebx
mov edx, eax
test edx, edx
jl 0x1005ded
cmp edx, 7
jg 0x1005ded
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 8]
push 0
push 0x104b
push dword [eax + 0x13c]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], esi
call ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1005ef7
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f27c
call fcn.0100e880
sub esp, 0x38
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
lea ecx, [ebp - 0x10]
jne 0x1005f24
push 0x10c
jmp 0x1005f29
push 0x10b
call sub.MFC42u.DLL_CString::LoadStringW
xor eax, eax
push 0xd
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], 1
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104c
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1007066
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 4], 0
push esi
push edi
push 6
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x1053
push dword [edx + 0xe0]
xor esi, esi
inc esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x20], esi
call ebx
mov edx, eax
test edx, edx
jl 0x10070e5
push 0xd
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 8]
push 0
push 0x104b
push dword [eax + 0xe0]
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], esi
call ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10070fd
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x100f3c8
call fcn.0100e880
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_2
and dword [ebp - 4], 0
push 0xd
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc0]
mov dword [ebp - 0x30], 0x1013704
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x24], eax
call fcn.010045e0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104d
push dword [esi + 0xe0]
call edi
mov ebx, eax
test ebx, ebx
jl 0x10071b1
push 0
push ebx
lea ecx, [esi + 0xc0]
call sub.MFC42u.DLL_CListCtrl::SetCheck
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::LoadStringW
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
inc eax
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x30], eax
je 0x10071b1
xor eax, eax
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x104c
push dword [esi + 0xe0]
mov dword [ebp - 0x40], ebx
call edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10079ec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
push 0xd
xor eax, eax
pop ecx
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
lea edi, [esi + 0xe8]
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], 0x1013704
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x18], eax
call fcn.010045e0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
xor ebx, ebx
push ebx
push 0x104d
push dword [esi + 0x108]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1007b35
push ebx
push eax
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetCheck
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov eax, dword [ecx]
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42u.DLL_CString::GetBuffer
cmp eax, ebx
mov dword [ebp - 0x24], eax
je 0x1007b35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
push ebx
mov ebx, 0x104c
push ebx
push dword [eax + 0x108]
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
call esi
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
add ecx, 4
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 0xc]
add ecx, 0x1c
mov eax, dword [ecx]
mov eax, dword [eax - 8]
inc eax
push eax
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1007b35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
push 0
push ebx
push dword [eax + 0x108]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 2
call esi
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
add ecx, 0x1c
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
mov eax, dword [ecx]
mov eax, dword [eax - 8]
inc eax
push eax
mov dword [ebp + 0xc], ecx
call sub.MFC42u.DLL_CString::GetBuffer
test eax, eax
mov dword [ebp - 0x24], eax
je 0x1007b35
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
push 0
push ebx
push dword [eax + 0x108]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], 3
call esi
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8