joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ab9c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 8], esi
cmp dword [ebp + 8], esi
jne 0x42abd7
mov eax, dword [0x49cf84]
cmp eax, esi
je 0x42abc2
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
jmp 0x42abc5
mov dword [ebp + 8], esi
cmp dword [ebp + 8], esi
jne 0x42abd7
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x42ac00
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp + 8], eax
je 0x42ac00
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42ac00
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 8], 1
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
mov dword [edi + 0x2fc], esi
call fcn.0042a7df
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, esi
jne 0x42ac2e
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x42ad12
push ebx
call fcn.00424b1e
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], esi
jne 0x42ac48
push dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.00424368
cmp dword [edi + 0x2f8], esi
je 0x42acb4
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push esi
push esi
push 0x2001
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push esi
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
cmp dword [ebp - 4], eax
je 0x42ac9c
push 1
push dword [ebp - 4]
push eax
call ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x42acb4
push esi
push eax
push dword [ebp + 0xc]
call ebx
mov ecx, edi
call fcn.0043634a
push 0x97
push esi
push esi
push esi
push esi
push esi
push dword [edi + 4]
mov dword [edi + 0x2fc], esi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 8], esi
je 0x42acfd
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp + 8], esi
je 0x42acfd
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 4]
jne 0x42acfd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebp - 0x10]
call fcn.00424b1e
pop ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x28]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42b869
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
xor esi, esi
push 0x38
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.0045c380
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xa
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42b8e1
cmp dword [ebp + 0x10], esi
je 0x42b8d8
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 1
jmp 0x42b902
push ebx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_ShellExecuteEx_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x49d440
call fcn.0042ee96
add esp, 0x1c
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x42b913
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x42b974
Capabilities:
Acquire debug privileges

Disassembly:
push 0x2c
push 0x494488
call fcn.00460db0
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x42b9f9
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x42b9f9
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x42b9f9
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0042ba10
mov eax, dword [ebp - 0x34]
call fcn.00460df8
ret
Function at 0x42bab3
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x42bafa
xor eax, eax
jmp 0x42bb1b
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42bb0f
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret

Function at 0x42bb28
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x49d3c4], 0
jne 0x42bb8c
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0045c380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov dword [0x49d3c4], 1
sbb eax, eax
inc eax
mov dword [0x49d3c0], eax
jmp 0x42bb91
mov eax, dword [0x49d3c0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045bc90
leave
ret

Function at 0x42bb9d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push edi
push 1
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
push dword [ebp - 4]
call fcn.0045e3b0
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push ebx
push 1
push dword [ebp + 8]
call esi
test eax, eax
je 0x42bc51
mov eax, dword [ebx]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x42bc51
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42bc51
lea eax, [ebp - 4]
push eax
push edi
push edi
push 1
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call esi
push dword [ebp - 4]
call fcn.0045e3b0
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push ebx
push 1
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x42bc51
mov esi, dword [ebx]
cmp esi, edi
je 0x42bc51
push esi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x42bc51
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0045e2e4
push ebx
call fcn.0045e2e4
pop ecx
mov eax, esi
jmp 0x42bc59
push ebx
call fcn.0045e2e4
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42bc5f
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x844], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x848], edx
lea edx, [ebp - 0x82c]
push edx
push 0x2001f
xor ebx, ebx
push ebx
push ecx
push eax
mov dword [ebp - 0x82c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42bea0
push edi
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x3ff
stosw word es:[edi], ax
lea eax, [ebp - 0x417]
push ebx
push eax
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x840], 0xa
mov dword [ebp - 0x834], ebx
mov byte [ebp - 0x418], bl
call fcn.0045c380
add esp, 0xc
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x834]
push eax
push ebx
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x82c]
mov dword [ebp - 0x830], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x42be93
push esi
mov esi, 0x206
lea edi, [esi + 2]
cmp dword [ebp - 0x834], 3
jne 0x42be92
xor eax, eax
push esi
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push ebx
push eax
mov dword [ebp - 0x83c], ebx
call fcn.0045c380
xor eax, eax
push esi
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push ebx
push eax
call fcn.0045c380
push 4
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x83c]
push 4
push eax
call fcn.0045e846
push dword [ebp - 0x83c]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x828]
push edi
push eax
call fcn.0045e846
mov eax, dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x830]
sub ecx, eax
sub ecx, 0xc
push ecx
lea eax, [ebp + eax - 0x40c]
push eax
lea eax, [ebp - 0x620]
push edi
push eax
call fcn.0045e846
add esp, 0x48
push dword [ebp - 0x844]
lea eax, [ebp - 0x828]
push eax
call fcn.0045e627
pop ecx
pop ecx
test eax, eax
jne 0x42be16
push dword [ebp - 0x848]
lea eax, [ebp - 0x620]
push eax
call fcn.0045e627
pop ecx
pop ecx
test eax, eax
jne 0x42be16
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x42be1c
inc dword [ebp - 0x838]
push 0xa
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0045c380
push 0x400
lea eax, [ebp - 0x418]
push ebx
push eax
mov dword [ebp - 0x840], 0xa
mov dword [ebp - 0x834], ebx
call fcn.0045c380
add esp, 0x18
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x834]
push eax
push ebx
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x838]
mov dword [ebp - 0x830], 0x400
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x42bd38
pop esi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret
Function at 0x42bf06
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.004241b6
mov ebx, eax
cmp ebx, esi
je 0x42bf77
lea ecx, [ebp - 0x214]
call fcn.0042419b
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42bf95
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0042bf06
cmp eax, esi
jne 0x42bfdc
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], pe_nt_image_headers32
call ebx
test eax, eax
je 0x42bf7f
lea ecx, [ebp - 0x214]
call fcn.0042419b
push dword [ebp - 0x218]
mov ecx, edi
call fcn.0042b791
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0042419b
mov eax, esi
jmp 0x42bf66

Function at 0x42cc0b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00422d25
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x42ccab
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x200000
ja 0x42ccaa
mov ecx, dword [ebp + 0xc]
push edi
lea eax, [esi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], esi
call fcn.00422ecb
mov edi, eax
mov dword [ebp - 8], edi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42cca9
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x42cca9
sub dword [ebp - 4], eax
add dword [ebp - 8], eax
cmp dword [ebp - 4], ebx
jne 0x42cc6b
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov byte [edi + esi], bl
call fcn.00422d68
mov dword [ebp - 0x10], 1
pop edi
pop esi
mov eax, dword [ebp - 0x10]
pop ebx
leave
ret
Function at 0x42cd8b
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x42ce46
cmp word [edi], bx
je 0x42ce46
cmp esi, ebx
je 0x42ce46
push 0x228
lea eax, [ebp - 0x22c]
push ebx
push eax
mov dword [ebp - 0x230], 0x22c
call fcn.0045c380
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42ce46
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42ce2d
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045e627
pop ecx
pop ecx
test eax, eax
jne 0x42ce20
lea eax, [ebp - 0x228]
push eax
mov ecx, esi
call fcn.0042317a
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42cdff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
xor ecx, ecx
cmp eax, dword [esi + 4]
setne cl
mov eax, ecx
jmp 0x42ce48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret

Function at 0x42d134
Capabilities:
Set registry value

Disassembly:
push 0x224
mov eax, 0x47c0ea
call fcn.0045e1e7
xor esi, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
push 0x2001f
mov ebx, str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push ebx
mov edi, reloc.WS2_32.dll_accept
push edi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], esi
call fcn.004241b6
test eax, eax
je 0x42d198
push esi
push esi
push 0x2001f
push esi
push esi
push ebx
push edi
lea ecx, [ebp - 0x22c]
call fcn.0042b801
test eax, eax
jne 0x42d21d
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.0045c380
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0042d0a9
add esp, 0x14
push 0x104
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 4
lea eax, [ebp - 0x230]
push eax
push 4
push esi
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x22c]
mov dword [ebp - 0x230], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x22c]
call fcn.0042419b
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0041788d
lea ecx, [ebp - 0x22c]
call fcn.0042419b
call fcn.0045e26a
ret
Function at 0x42d5d2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
test byte [0x49d3cc], 1
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 0x49d3c8
jne 0x42d61d
or dword [0x49d3cc], 1
push 0x49cc5c
mov ecx, esi
call fcn.00422d95
push 0x47d800
call fcn.0045ef8b
pop ecx
mov eax, dword [0x49d3c8]
cmp dword [eax - 0xc], 0
jne 0x42d67d
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42d678
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0045e6b2
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00417ceb
push esi
call fcn.0041913d
mov edi, str.drivers_
push edi
call fcn.0045e6b2
pop ecx
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00417da6
pop edi
mov eax, dword [0x49d3c8]
add eax, 0xfffffff0
push eax
call fcn.00417b90
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ebx], eax
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret
Function at 0x42dc6e
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x268
mov eax, 0x47c261
call fcn.0045e1e7
mov eax, dword [ebp + 8]
and dword [ebp - 0x268], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.00418091
and dword [ebp - 4], 0
push 0x47f5e0
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00417e93
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0041788d
cmp edi, 0xffffffff
jne 0x42dce6
mov dword [ebp - 0x268], 1
jmp 0x42dda8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [ebp - 0x260], 0x10
je 0x42dd81
push 0x47f590
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x42dd81
push 0x47eacc
lea eax, [ebp - 0x234]
push eax
call ebx
test eax, eax
je 0x42dd81
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00417e93
push 0x47f594
push eax
lea eax, [ebp - 0x274]
push eax
mov byte [ebp - 4], 1
call fcn.00417e93
push dword [eax]
mov byte [ebp - 4], 2
call fcn.0042dc6e
mov ecx, dword [ebp - 0x274]
add esp, 0x1c
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041788d
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0041788d
test esi, esi
je 0x42dda1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42dcec
mov dword [ebp - 0x268], 1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.0041788d
mov eax, dword [ebp - 0x268]
call fcn.0045e26a
ret

Function at 0x42de15
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x47c2ce
call fcn.0045e1e7
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x21c], edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], esi
call fcn.0045c380
add esp, 0xc
push 0x49cc5c
mov ecx, esi
call fcn.00422d95
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
je 0x42dec2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00417f93
push str.pptassistlog_setup_
mov ecx, esi
call fcn.00417f6d
push dword [esi]
call fcn.00419686
mov ecx, esi
mov dword [esp], str.uninstall.log
call fcn.00417f6d
jmp 0x42dec9
mov ecx, esi
call fcn.00417a4f
mov eax, esi
call fcn.0045e26a
ret
Function at 0x42ded1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 8]
lea ecx, [ebp - 4]
call fcn.00418091
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42df35
and dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0xc], 4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 8]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0041788d
xor eax, eax
leave
ret

Function at 0x42e061
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x47c301
call fcn.0045e1e7
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00418091
and dword [ebp - 4], 0
mov esi, 0x4824f4
push esi
call fcn.0045e6b2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00417da6
push edi
lea ecx, [ebp - 0x21c]
call fcn.00417f6d
mov esi, 0x4814dc
push esi
call fcn.0045e6b2
pop ecx
push eax
push esi
lea ecx, [ebp - 0x21c]
call fcn.00417da6
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0045c380
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push 0x4824c4
push eax
call fcn.004611fc
push 0
push 0xffffffffffffffff
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call fcn.0042b869
mov ecx, dword [ebp - 0x21c]
add esp, 0x18
add ecx, 0xfffffff0
call fcn.0041788d
xor eax, eax
call fcn.0045e26a
ret

Function at 0x42e134
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.0045c380
add esp, 0xc
push ebx
push 0x1c
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.KingsoftWPSAssist
mov esi, 0x104
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0046162e
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0045c380
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004615cb
push str.demo.ppt
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0046162e
add esp, 0x30
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42e1f6
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0042dc20
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret