joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a17c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [0x593c90], bl
jne 0x40a2e0
push edi
mov edi, 0x593c94
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x593c90], bl
je 0x40a1b1
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x40a2df
push esi
push ebx
push 0x28
mov esi, 0x593878
xor eax, eax
push esi
push ebx
mov dword [0x593a80], ebx
mov dword [0x593c8c], ebx
mov word [0x593878], ax
mov word [0x593a84], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40a1f4
push str.:windows_
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40a274
mov dword [ebp - 4], ebx
call fcn.00475c98
test al, al
jne 0x40a271
cmp dword [ebp + 8], ebx
je 0x40a271
push dword [ebp + 8]
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, 0xffffffff
je 0x40a26c
cmp edi, ebx
je 0x40a267
lea eax, [ebp + 8]
push eax
push 8
push edi
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40a25c
lea eax, [ebp - 8]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
je 0x40a253
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40a267
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
jne 0x40a274
mov edi, 0x593c94
push edi
jmp 0x40a2d8
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call fcn.004f192a
mov dword [esp], 0x104
mov edi, 0x593a84
push edi
push esi
mov dword [0x593a80], eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
cmp eax, ebx
je 0x40a2a5
cmp eax, 0x104
jb 0x40a2ad
xor eax, eax
mov word [0x593a84], ax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40a2bf
mov word [0x593a84], ax
push edi
call fcn.004f192a
mov dword [0x593c8c], eax
mov byte [0x593c90], 1
mov dword [esp], 0x593c94
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop edi
pop ebx
leave
ret 4

Function at 0x40a7d3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040a3b6
push eax
push esi
push dword [ebp + 8]
or al, ch
push ebp
sti
invalid
inc dword [ebx - 0x7a76cf3c]
dec eax
invalid
invalid
invalid
call fcn.0040a3a6
dec esi
dec edx
pushal
cmp eax, 0xff7c9d88
invalid
Function at 0x40b2f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [eax]
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
cmp dh, al
test dword [ecx + 0x11fffffc], esp

Function at 0x40c9b1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x40ca05
xor eax, eax
inc eax
cmp dword [ebp - 0x110], eax
je 0x40ca07
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f189b
leave
ret

Function at 0x40ca13
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40ca87
cmp dword [ebp - 0x11c], 6
jne 0x40ca83
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jne 0x40ca83
cmp dword [ebp - 0x114], 0x1db1
jne 0x40ca83
cmp byte [ebp - 6], 2
je 0x40ca83
cmp byte [ebp - 6], 3
jne 0x40ca89
xor eax, eax
jmp 0x40ca89
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f189b
leave
ret

Function at 0x40ca95
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40cadd
mov al, 1
jmp 0x40caf5
cmp dword [ebp - 0x11c], 6
ja 0x40cad9
jne 0x40caf3
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jae 0x40caf5
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f189b
leave
ret
Function at 0x40dea4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x585698]
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 byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x40def2
xor al, al
jmp 0x40df30
mov eax, dword [ebp - 0x14]
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ebx
cmp dword [esi], ebx
jbe 0x40df1f
lea edi, [esi + 4]
push dword [edi]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40df3d
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add edi, 8
cmp eax, dword [esi]
jb 0x40df03
cmp dword [ebp - 0x10], ebx
je 0x40df2d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
cmp dword [ebp - 0x10], ebx
je 0x40df4b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, 1
jmp 0x40df2f

Function at 0x40e1cb
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
cmp eax, ecx
jne 0x40e1d5
xor eax, eax
inc eax
ret
xor edx, edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], dx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret

Function at 0x40e4ab
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [eax + 0x1c]
cmp cx, 0x37
movsx ecx, cx
mov byte [ecx + eax + 0x1e], 0x80
jle 0x40e4ff
inc word [eax + 0x1c]
movzx ecx, word [eax + 0x1c]
cmp cx, 0x40
jge 0x40e4e2
movsx ecx, cx
mov byte [ecx + eax + 0x1e], 0
inc word [eax + 0x1c]
cmp word [eax + 0x1c], 0x40
movzx ecx, word [eax + 0x1c]
jl 0x40e4cb
call fcn.0040e2ef
jmp 0x40e4f6
movsx ecx, word [eax + 0x1c]
mov byte [ecx + eax + 0x1e], 0
inc word [eax + 0x1c]
cmp word [eax + 0x1c], 0x38
jl 0x40e4e9
jmp 0x40e524
inc word [eax + 0x1c]
movzx ecx, word [eax + 0x1c]
cmp cx, 0x38
jge 0x40e524
movsx ecx, cx
mov byte [ecx + eax + 0x1e], 0
inc word [eax + 0x1c]
cmp word [eax + 0x1c], 0x38
movzx ecx, word [eax + 0x1c]
jl 0x40e50d
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x56], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x58], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x59], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x57], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5a], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5c], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5b], dl
mov byte [eax + 0x5d], cl
jmp fcn.0040e2ef
Function at 0x40e6fb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004f18b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
add esp, 0xc
push esi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x38], 0x1440
call fcn.0040e692
pop ecx
test al, al
je 0x40e75f
or dword [ebp - 0x38], 0x1000
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne al
test al, al
je 0x40e75f
mov eax, dword [ebp - 4]
leave
ret
xor eax, eax
leave
ret

Function at 0x40ea51
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x40eb49
and dword [ebp - 0x2bc], 0
push ebx
push esi
push edi
call fcn.00405ac9
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, 0x2b4
test al, al
je 0x40eaf9
lea esi, [ebp - 0x2cc]
call fcn.00418846
xor esi, esi
push 0x2b0
lea eax, [ebp - 0x2b4]
push esi
push eax
mov dword [ebp - 0x2b8], esi
call fcn.004f18b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
or eax, 0x100
push eax
push ebx
lea eax, [ebp - 0x2b8]
push eax
push esi
push dword [ebp - 0x2c0]
call edi
test eax, eax
jbe 0x40eae5
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
lea esi, [ebp - 0x2cc]
call fcn.00418922
cmp dword [ebp - 0x2bc], 0
jne 0x40eb40
xor esi, esi
push 0x2b0
lea eax, [ebp - 0x2b4]
push esi
push eax
mov dword [ebp - 0x2b8], esi
call fcn.004f18b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
or eax, 0x100
push eax
push ebx
lea eax, [ebp - 0x2b8]
push eax
push esi
push dword [ebp - 0x2c0]
call edi
test eax, eax
jbe 0x40eb40
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x2bc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f189b
leave
ret

Function at 0x40ed69
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x214], eax
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004f18b0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [ebp - 8], cx
mov ecx, dword [ebx]
mov esi, dword [ecx - 0xc]
lea esi, [esi + esi + 2]
test eax, eax
jne 0x40edfa
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.004f5171
pop ecx
pop ecx
test eax, eax
jne 0x40edfa
xor al, al
jmp 0x40ee11
push esi
push dword [ebx]
push 1
push 0
push dword [edi]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
Function at 0x40ef6b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
xor esi, esi
push edi
cmp dword [0x594d28], esi
jne 0x40efaf
cmp dword [0x594d2c], esi
jne 0x40efb7
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, esi
je 0x40efa5
push str.GetPhysicallyInstalledSystemMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x594d2c], eax
mov dword [0x594d28], 1
cmp dword [0x594d2c], esi
je 0x40efde
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [0x594d2c]
test eax, eax
je 0x40efde
push esi
push 0x400
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004fce20
jmp 0x40f02a
push 0x3c
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x40f00a
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
jmp 0x40f02a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x20]
xor edx, edx
pop edi
pop esi
leave
ret
Function at 0x40f614
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4cc
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push esi
push eax
mov dword [ebp - 0x4cc], eax
call fcn.0040ea51
pop ecx
pop ecx
mov dword [ebp - 0x4c8], eax
cmp eax, esi
jne 0x40f7c2
push ebx
xor ebx, ebx
inc ebx
test byte [0x59574c], bl
jne 0x40f66c
or dword [0x59574c], ebx
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x595748], eax
mov eax, dword [0x595748]
cmp eax, esi
je 0x40f7bb
push edi
push str.PrivateExtractIconsW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
jne 0x40f6a3
push dword [0x595748]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x595748], esi
jmp 0x40f7ba
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x4cc]
mov dword [ebp - 0x4c4], esi
call edi
cmp eax, esi
je 0x40f6fe
push esi
push ebx
push esi
lea eax, [ebp - 0x4c4]
push eax
push 0x20
push 0x20
push esi
push dword [ebp - 0x4cc]
call edi
cmp eax, ebx
je 0x40f7ae
push ebx
push esi
lea eax, [ebp - 0x4c4]
push eax
push esi
push dword [ebp - 0x4cc]
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x40f7ba
jmp 0x40f7ae
push 0x2b0
lea eax, [ebp - 0x4bc]
push esi
push eax
mov dword [ebp - 0x4c0], esi
call fcn.004f18b0
add esp, 0xc
push 0x110
push 0x2b4
lea eax, [ebp - 0x4c0]
push eax
push 0x80
push dword [ebp - 0x4cc]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x40f747
mov eax, dword [ebp - 0x4c0]
jmp 0x40f7b4
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x29
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40f7ba
push str.shell32.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40f7ba
push esi
push ebx
push esi
lea eax, [ebp - 0x4c4]
push eax
push 0x20
push 0x20
push 2
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, ebx
jne 0x40f7ba
mov eax, dword [ebp - 0x4c4]
mov dword [ebp - 0x4c8], eax
pop edi
mov eax, dword [ebp - 0x4c8]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f189b
leave
ret
Function at 0x40f842
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
mov edi, ecx
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push str.SystemManufacturer
push str.SYSTEMCurrentControlSetControlSystemInformation
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40f8cc
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.004056c8
call fcn.0040ed27
jmp 0x40f8e7
push edi
call fcn.0040ec51
pop ecx
test eax, eax
je 0x40f8e5
call fcn.0040ed27
test eax, eax
je 0x40f8e5
xor eax, eax
inc eax
jmp 0x40f8e7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004f189b
leave
ret

Function at 0x40fbc3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4d14
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x40fbf3
lea esi, [ebp - 0x4d08]
call fcn.0041a0f8
call fcn.0041a180
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov eax, esi
push eax
mov ecx, str.7CF4158BB8E292F27389C3E4FC1B7B06488DC207FAE47A9A391003EC39EC492EF4C66E05EC5DBAEBE9489A5F80A37BBD9D16C4BDA491EB79
call fcn.0041aaf0
push 0x10
pop ecx
mov esi, str.C435D7366E0385E2CD67BFE1B01C21C0
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1c6
xor esi, esi
lea eax, [ebp - 0x5da]
push esi
push eax
call fcn.004f18b0
xor eax, eax
push ebx
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push esi
push eax
call fcn.004f18b0
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x4d08]
push eax
lea ecx, [ebp - 0x61c]
call fcn.0041aaf0
lea eax, [ebp - 0x4d14]
push eax
lea eax, [ebp - 0x4d0c]
push eax
lea eax, [ebp - 0x4d10]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x4d10], esi
mov dword [ebp - 0x4d0c], esi
mov dword [ebp - 0x4d14], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
jmp 0x40fce7
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4d0c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
Function at 0x40fe4b
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4d08
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x40fe7b
lea esi, [ebp - 0x4d08]
call fcn.0041a0f8
call fcn.0041a180
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
mov eax, esi
push eax
mov ecx, str.02D0D3B17D64A874
call fcn.0041aaf0
push 0x20
pop ecx
mov esi, str.EE9E757CEA16CAF1CFDB93D3E775370BC1D4E864E95820BF726088A95E9AE71F
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x186
xor esi, esi
lea eax, [ebp - 0x59a]
push esi
push eax
call fcn.004f18b0
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f18b0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x4d08]
push eax
lea ecx, [ebp - 0x61c]
call fcn.0041aaf0
jmp 0x40ff2b
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, esi
jne 0x40ff41
xor eax, eax
jmp 0x40ff53
lea ecx, [ebp - 0x20c]
push 0x2a
push ecx
mov ecx, eax
call fcn.0040fcfc
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret

Function at 0x40ff62
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4d08
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x40ff92
lea esi, [ebp - 0x4d08]
call fcn.0041a0f8
call fcn.0041a180
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
mov eax, esi
push eax
mov ecx, str.02D0D3B17D64A874
call fcn.0041aaf0
push 0x20
pop ecx
mov esi, str.EE9E757CEA16CAF1CFDB93D3E775370BC1D4E864E95820BF56E31B3E50449DC6
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x186
xor esi, esi
lea eax, [ebp - 0x59a]
push esi
push eax
call fcn.004f18b0
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f18b0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x4d08]
push eax
lea ecx, [ebp - 0x61c]
call fcn.0041aaf0
jmp 0x410042
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, esi
jne 0x410058
xor eax, eax
jmp 0x41006a
lea ecx, [ebp - 0x20c]
push 0xd
push ecx
mov ecx, eax
call fcn.0040fcfc
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret
Function at 0x410079
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4d08
call fcn.0050ead0
mov eax, dword [0x585698]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
jmp 0x4100a9
lea esi, [ebp - 0x4d08]
call fcn.0041a0f8
call fcn.0041a180
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004f18b0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
mov eax, esi
push eax
mov ecx, str.02D0D3B17D64A874
call fcn.0041aaf0
push 0x20
pop ecx
mov esi, str.EE9E757CEA16CAF1CFDB93D3E775370BC1D4E864E95820BF56E31B3E50449DC6
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x186
xor esi, esi
lea eax, [ebp - 0x59a]
push esi
push eax
call fcn.004f18b0
xor eax, eax
push ebx
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004f18b0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x4d08]
push eax
lea ecx, [ebp - 0x61c]
call fcn.0041aaf0
jmp 0x410159
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
cmp eax, esi
jne 0x41016f
xor eax, eax
jmp 0x410181
lea ecx, [ebp - 0x20c]
push 1
push ecx
mov ecx, eax
call fcn.0040fcfc
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f189b
leave
ret

Function at 0x41026b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.0040ccef
test al, al
jne 0x41027c
leave
ret
push ebx
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionImmersiveShell
xor ebx, ebx
push SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4102dc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.TabletMode
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4102d3
cmp dword [ebp - 8], 4
jne 0x4102d3
cmp dword [ebp - 0xc], 1
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x410431
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
push edi
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 2
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
cmp eax, edi
jne 0x41046a
call fcn.00426f67
jmp 0x4104a7
mov ecx, dword [ebp - 0xc]
push 4
pop edx
push edi
push ecx
push edi
push edi
push edx
push eax
mov dword [esi + 4], ecx
mov dword [esi + 0x18], edx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov dword [esi], eax
cmp eax, edi
jne 0x4104a5
call fcn.00426f67
push dword [esi + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
mov eax, ebx
jmp 0x4104a7
xor eax, eax
pop edi
pop ebx
leave
ret 4