joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000adc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.10056110
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.10056110
add esp, 0x18
test esi, esi
je 0x1000aebc
test ebx, ebx
je 0x1000aebc
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1000aebc
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x1000aebc
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000aea7
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.1005956c
add esp, 0xc
test eax, eax
je 0x1000aecf
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x1000ae51
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.1000cec0
xor ecx, ecx
test edi, edi
je 0x1000aeed
cmp edi, 0x7fffffff
jbe 0x1000aef2
mov ecx, 0x80070057
test ecx, ecx
js 0x1000af28
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x1000af10
cmp word [eax], 0
je 0x1000af10
add eax, 2
sub esi, 1
jne 0x1000af02
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x1000af2a
xor esi, esi
test ecx, ecx
js 0x1000af7b
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x1000af6e
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7fffffff
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x1000af6e
movzx eax, word [edi + ecx]
test ax, ax
je 0x1000af6e
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x1000af55
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045897
mov esp, ebp
pop ebp
ret
Function at 0x1000b170
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x9c], eax
xor edi, edi
lea eax, [ebp - 0x88]
mov dword [ebp - 0x94], ecx
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x1000b1c5
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
push esi
push ebx
call fcn.10059786
add esp, 4
mov esi, eax
push esi
push ebx
push 0
push dword [ebp - 0x94]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000b2da
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000b2da
mov ebx, dword [ebp - 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
test ebx, ebx
je 0x1000b272
mov ecx, dword [ebp - 0x90]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000ce40
add esp, 0x14
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000b272
mov eax, dword [ebp - 0x8c]
push eax
push eax
call edi
inc eax
push eax
push ebx
call fcn.1000cec0
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
je 0x1000b2d5
mov ecx, dword [ebp - 0x90]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xCompanyName
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.1000ce40
add esp, 0x14
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x84]
push eax
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000b2d5
mov eax, dword [ebp - 0x8c]
push eax
push eax
call edi
inc eax
push eax
push ebx
call fcn.1000cec0
mov edi, 1
push esi
call fcn.10059781
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.10045897
mov esp, ebp
pop ebp
ret

Function at 0x1000b6e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
or ebx, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x1000b769
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.10056110
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000b762
push edi
mov edi, dword [ebp + 8]
nop dword [eax]
cmp dword [ebp - 0x228], edi
je 0x1000b75b
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000b740
jmp 0x1000b761
mov ebx, dword [ebp - 0x218]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.10045897
mov esp, ebp
pop ebp
ret
Function at 0x1000bbb0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.100458b0
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1008], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x1000bd1f
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x64
jb 0x1000bd1f
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1000bc15
push edi
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x1000bd1f
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x804]
xor edi, edi
push 0x400
push eax
push edi
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x1000bcd7
push 0x800
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.10056110
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.10054dce
add esp, 0x14
test eax, eax
je 0x1000bc95
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x1000bc95
lea ecx, [edi + 1]
jmp 0x1000bc97
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
lea eax, [ebp - 0x804]
push ebx
cmovne eax, edx
push eax
push dword [ebp - 0x1008]
call fcn.100593b4
add esp, 0xc
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x1000bd05
push ebx
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.1000adc0
mov edi, eax
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10045897
mov esp, ebp
pop ebp
ret
Function at 0x1000bf80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000c0ba
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x1000c0ba
cmp dword [ebp - 0x14], 0
ja 0x1000c0ba
cmp edi, 0x12c00000
ja 0x1000c0ba
lea eax, [edi + 1]
push ebx
push eax
call fcn.10045526
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000c001
lea eax, [edi + 1]
push eax
push 0
push ebx
call fcn.10056110
add esp, 0xc
jmp 0x1000c003
xor ebx, ebx
push dword [ebp - 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ebx
mov dword [ebp - 0xc], 0
call fcn.10008930
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x1000c099
push 0
push 0
push 0
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1000c056
push 0
lea eax, [ebp - 8]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1000c099
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000c06f
mov eax, dword [ebp - 8]
mov dword [ecx], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x10]
mov dword [esi], ebx
call fcn.10009fc0
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10009fc0
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x1000d160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000d1b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000d1b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000d1aa
cmp esi, edx
jae 0x1000d1b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000d198
cmp esi, edx
jae 0x1000d1b9
cmp word [esi], 0
je 0x1000d1b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10013010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b6da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100c82c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.1000ad50
add eax, 0x10
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov eax, dword [edi + 0x40]
lea esi, [ebx + 0x40]
sub eax, 0x10
mov byte [ebp - 4], 5
push eax
mov dword [ebp + 8], esi
call fcn.1000ad50
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x44]
lea esi, [ebx + 0x44]
sub eax, 0x10
mov byte [ebp - 4], 6
push eax
mov dword [ebp + 8], esi
call fcn.1000ad50
add esp, 0xc
add eax, 0x10
mov dword [esi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100188e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009beb8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c82c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001892e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x10]
call fcn.10008f00
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [eax - 0xc]
cmp eax, 1
jl 0x10018a05
test eax, eax
js 0x10018a3f
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
push eax
call fcn.1005d497
mov ebx, dword [ebp + 0xc]
add esp, 4
movzx eax, ax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0xc]
call fcn.10017040
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0xc]
je 0x10018a05
mov edi, dword [eax + 0x14]
mov esi, dword [edi]
cmp esi, edi
je 0x100189f9
mov ecx, dword [esi + 0x10]
mov eax, dword [ebx]
push dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.10018290
test al, al
jne 0x100189f6
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100189d7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100189d3
cmp esi, dword [eax + 8]
jne 0x100189d3
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100189c3
mov esi, eax
jmp 0x100189ed
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100189ed
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100189e1
cmp esi, edi
je 0x100189f6
mov ebx, dword [ebp + 0xc]
jmp 0x10018996
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax + 0x14]
je 0x10018a05
mov esi, 1
jmp 0x10018a07
xor esi, esi
mov edi, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10018a29
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.1000abf0
int3
Function at 0x10018a50
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009bef6
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x44c], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x10018aa0
xor eax, eax
jmp 0x10018bd6
push 0x228
xor esi, esi
lea eax, [ebp - 0x440]
push esi
push eax
call fcn.10056110
add esp, 0xc
mov dword [ebp - 0x444], 0x22c
lea eax, [ebp - 0x444]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10018bcd
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10056110
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x43c]
call fcn.1000bbb0
add esp, 0x18
call fcn.1000b620
test eax, eax
je 0x10018bf4
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x448]
call fcn.1000ac10
test al, al
jne 0x10018b72
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10018b50
sub eax, edx
lea ecx, [ebp - 0x448]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.1000c450
push dword [ebp - 0x44c]
lea eax, [ebp - 0x448]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.100188e0
mov edx, dword [ebp - 0x448]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10018bb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x10018bcd
lea eax, [ebp - 0x444]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10018ae0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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 - 0x10]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1000abf0
int3
Function at 0x10019ea0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
jne 0x10019ecf
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
push esi
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push eax
lea eax, [ebp - 0x204]
push str.PP_dFrameClass
push eax
call fcn.1001cda0
add esp, 0xc
cmp eax, 1
je 0x1001a0b7
xor esi, esi
nop dword [eax]
mov eax, dword [esi + 0x100c709c]
lea ecx, [ebp - 0x204]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10019f66
test dx, dx
je 0x10019f62
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10019f66
add ecx, 4
add eax, 4
test dx, dx
jne 0x10019f40
xor eax, eax
jmp 0x10019f6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001a0b7
add esi, 4
cmp esi, 0xc
jb 0x10019f30
push 0x200
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.10056110
add esp, 0xc
lea eax, [ebp - 0x60c]
push 0xff
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x60c]
push str.Microsoft_PowerPoint
push eax
call fcn.10054e95
add esp, 8
test eax, eax
jne 0x1001a0b7
mov dword [ebp - 0x628], eax
lea eax, [ebp - 0x628]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x208
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.10056110
push 0x104
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x628]
call fcn.1000b780
add esp, 0x18
mov dword [ebp - 0x614], 0
xor eax, eax
mov dword [ebp - 0x610], 7
lea ecx, [ebp - 0x40c]
mov word [ebp - 0x624], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a027
sub ecx, edx
lea eax, [ebp - 0x40c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x624]
call fcn.1000eae0
cmp dword [ebp - 0x614], 0
jbe 0x1001a098
cmp dword [ebp - 0x610], 8
lea eax, [ebp - 0x624]
push str.wpp.exe
cmovae eax, dword [ebp - 0x624]
push eax
call fcn.100593f7
add esp, 8
test eax, eax
jne 0x1001a098
lea ecx, [ebp - 0x624]
lea esi, [eax + 1]
call fcn.10009e10
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x624]
xor esi, esi
call fcn.10009e10
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop edi
call fcn.10045897
mov esp, ebp
pop ebp
ret
Function at 0x1001b5a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, 0x100cadf0
mov dword [ebp - 0x34], 0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x38], 4
mov edx, 0x16
mov dword [ebp - 0x30], 0x4f0053
sub esi, eax
mov dword [ebp - 0x2c], 0x540046
mov dword [ebp - 0x28], 0x410057
mov dword [ebp - 0x24], 0x450052
mov dword [ebp - 0x20], 0x33005c
mov dword [ebp - 0x1c], 0x300036
mov dword [ebp - 0x18], 0x610053
mov dword [ebp - 0x14], 0x650066
mov dword [ebp - 0x10], 0x73005c
mov dword [ebp - 0xc], 0x610074
mov dword [ebp - 8], 0x74
lea ecx, [edx + 0x7fffffe8]
test ecx, ecx
je 0x1001b640
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001b640
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001b622
lea ecx, [eax - 2]
test edx, edx
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
push str.advtool_PopWndTracker
push 0x100cadf0
push SysStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop esi
test eax, eax
jne 0x1001b68c
cmp dword [ebp - 0x34], 1
jne 0x1001b68c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret
Function at 0x1001cbf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x100c82c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x100cad70
mov dword [ebp - 0x84], 0x4f0053
lea esi, [ebp - 0x84]
mov dword [ebp - 0x80], 0x540046
push edi
mov dword [ebp - 0x7c], 0x410057
mov edx, 0x40
mov dword [ebp - 0x78], 0x450052
sub esi, eax
mov dword [ebp - 0x74], 0x4d005c
mov dword [ebp - 0x70], 0x630069
mov dword [ebp - 0x6c], 0x6f0072
mov dword [ebp - 0x68], 0x6f0073
mov dword [ebp - 0x64], 0x740066
mov dword [ebp - 0x60], 0x57005c
mov dword [ebp - 0x5c], 0x6e0069
mov dword [ebp - 0x58], 0x6f0064
mov dword [ebp - 0x54], 0x730077
mov dword [ebp - 0x50], 0x43005c
mov dword [ebp - 0x4c], 0x720075
mov dword [ebp - 0x48], 0x650072
mov dword [ebp - 0x44], 0x74006e
mov dword [ebp - 0x40], 0x650056
mov dword [ebp - 0x3c], 0x730072
mov dword [ebp - 0x38], 0x6f0069
mov dword [ebp - 0x34], 0x5c006e
mov dword [ebp - 0x30], 0x700041
mov dword [ebp - 0x2c], 0x200070
mov dword [ebp - 0x28], 0x610050
mov dword [ebp - 0x24], 0x680074
mov dword [ebp - 0x20], 0x5c0073
mov dword [ebp - 0x1c], 0x360033
mov dword [ebp - 0x18], 0x730030
mov dword [ebp - 0x14], 0x660061
mov dword [ebp - 0x10], 0x2e0065
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
nop dword [eax + eax]
lea ecx, [edx + 0x7fffffbe]
test ecx, ecx
je 0x1001cd1e
movzx ecx, word [esi + eax]
test cx, cx
je 0x1001cd1e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x1001cd00
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x100cad70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10045897
mov esp, ebp
pop ebp
ret