joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405df8
Capabilities:
Get session user name

Disassembly:
push 0x474
mov eax, 0x444833
call fcn.0042a4aa
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x420], ax
xor ebx, ebx
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.0042b7e0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
mov edi, 0x104
push eax
mov dword [ebp - 0x42c], edi
call fcn.0042b7e0
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
mov dword [ebp - 0x424], edi
call sub.Secur32.dll_GetUserNameExW
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push ebx
push ebx
lea eax, [ebp - 0x480]
call fcn.00413a78
lea eax, [ebp - 0x420]
push eax
lea esi, [ebp - 0x448]
mov dword [ebp - 4], 2
call fcn.004015bd
mov eax, esi
push eax
lea eax, [ebp - 0x464]
push eax
mov byte [ebp - 4], 3
call fcn.00402033
sub esp, 0x10
mov byte [ebp - 4], 4
mov edx, eax
mov esi, esp
mov dword [ebp - 0x428], esp
call fcn.00412c0b
lea eax, [ebp - 0x480]
push eax
mov edx, str.user
mov byte [ebp - 4], 5
call fcn.00413d16
mov edi, eax
mov byte [ebp - 4], 4
call fcn.00412e5e
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.00401730
push ebx
push 1
lea esi, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.00401828
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x448]
call fcn.004015bd
mov byte [ebp - 4], 6
mov eax, esi
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.00402033
sub esp, 0x10
mov byte [ebp - 4], 7
mov edx, eax
mov esi, esp
mov dword [ebp - 0x428], esp
call fcn.00412c0b
lea eax, [ebp - 0x480]
push eax
mov edx, 0x449314
mov byte [ebp - 4], 8
call fcn.00413d16
mov edi, eax
mov byte [ebp - 4], 7
call fcn.00412e5e
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.00401730
push ebx
push 1
lea esi, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.00401828
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x448]
call fcn.0041413a
push eax
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 9
call fcn.0040117f
cmp dword [eax + 0x18], 8
pop ecx
jb 0x405fb4
mov eax, dword [eax + 4]
jmp 0x405fb7
add eax, 4
mov esi, eax
mov ebx, str.adDomainUser
mov edi, str.Softwareprojonepodlp_smpcache_
call fcn.0040cd76
push 0
push 1
lea esi, [ebp - 0x464]
call fcn.00401828
push 0
push 1
lea ecx, [ebp - 0x448]
call fcn.00401730
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
neg edi
sbb edi, edi
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x480]
neg edi
call fcn.00412ddb
mov eax, edi
call fcn.0042a52d
ret
Function at 0x408456
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x408473
push 0x104
push dword [esp + 0xc]
push 0x4582f8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [0x455dbc], esi
je 0x408498
push esi
push esi
push esi
push 0x408390
push esi
push esi
mov dword [0x455dbc], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret 4

Function at 0x40a3a5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x40a3de
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.00409e39
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc

Function at 0x40a3e5
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x449910
lea ecx, [ebp - 0x20]
call fcn.0040ccac
pop ecx
pop ecx
test esi, esi
je 0x40a450
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
jae 0x40a429
lea ecx, [ebp - 0x1c]
push ebx
push edi
push eax
push esi
push ecx
call fcn.0040d039
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x40a442
lea ebx, [ebp - 0x1c]
mov edi, str.Softwareprojonepodlp_volatilelastError_
call fcn.0040cd76
pop edi
pop ebx
jmp 0x40a46d
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40a45c
lea eax, [ebp - 0x1c]
push eax
push str.Softwareprojonepodlp_volatilelastError_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.00401828
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004291e7
leave
ret
Function at 0x40b1ee
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x40b413
test eax, eax
jne 0x40b23f
test ecx, ecx
je 0x40b413
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x40b295
cmp ax, 0x5c
je 0x40b295
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.0042b7e0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b413
test al, 0x10
je 0x40b413
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x449970
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x40b413
mov dword [ebp - 0xa7c], 1
push 0x449974
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40b3d8
push 0x449978
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40b3d8
cmp dword [ebp - 0xa78], 0xffffffff
je 0x40b3d8
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x40b3b8
cmp dword [ebp - 0xa80], 0
je 0x40b37c
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x40b3f5
cmp dword [ebp + 0xc], 0
je 0x40b3d8
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.0040b1ee
push 2
pop ecx
cmp eax, ecx
jne 0x40b3d8
mov dword [ebp - 0xa7c], ecx
jmp 0x40b3ff
cmp dword [ebp - 0xa84], 0
je 0x40b3d8
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x40b3f5
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b2f8
jmp 0x40b3ff
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x40b415
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004291e7
leave
ret 0x18
Function at 0x40b426
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x40b520
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x40b520
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.0042b7e0
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.0040bc96
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b49d
shr eax, 4
not eax
and eax, 1
jmp 0x40b522
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.0040b530
test eax, eax
je 0x40b520
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x40b502
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x40b508
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.00404972
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x40b522
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004291e7
leave
ret
Function at 0x40b839
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x428], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b8cc
test al, 0x10
je 0x40b8cc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edi, 0x104
push edi
push ebx
lea eax, [ebp - 0x424]
push eax
call esi
push edi
push dword [ebp - 0x428]
lea eax, [ebp - 0x21c]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x424]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call esi
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x424]
push eax
mov eax, 0x40b8de
push eax
lea ecx, [ebp - 0x424]
push ecx
push eax
push 1
push ebx
call fcn.0040b1ee
jmp 0x40b8ce
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.004291e7
leave
ret 4

Function at 0x40b99d
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40b9b4
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
ret
test al, 1
je 0x40b9c3
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
ret

Function at 0x40bc22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.0042b7e0
add esp, 0xc
lea esi, [ebp - 0x80]
call fcn.0040bb96
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x455de0]
inc ecx
cmp ecx, 0x24
jl 0x40bc64
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.004291e7
add ebp, 0x88
leave
ret

Function at 0x40c024
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x454070]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.0040c434
push esi
test eax, eax
je 0x40c0b1
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0042b7e0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x40c0a8
cmp esi, 0xffffffff
je 0x40c0a8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x40c0a4
push edi
lea eax, [esp + 0xc]
push eax
call fcn.0040c434
test eax, eax
je 0x40c0a8
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x40c08a
lea eax, [esp + 4]
call fcn.00404972
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.004291e7
mov esp, ebp
pop ebp
ret 4
Function at 0x40c0c6
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x44105a
call fcn.0042a441
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x40c15b
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x40c153
cmp esi, 0xffffffff
je 0x40c153
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.0042b7e0
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40c14f
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x40c153
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40c138
lea eax, [ebp - 0x10]
call fcn.00404972
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.004291e7
add ebp, 0x230
leave
ret 4

Function at 0x40c180
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x40c193
xor eax, eax
jmp 0x40c1ec
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.0042b7e0
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.0040b1b4
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40c1e4
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.0040b1e1
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x40c2cd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x40c2e6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0040c1f2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x40c3e2
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.0040c0c6
cmp dword [ebp - 0x14], esi
je 0x40c2dd
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x40c322
cmp eax, 0xffffffff
jne 0x40c32e
lea eax, [ebp - 0x10]
call fcn.00404972
mov eax, esi
jmp 0x40c2df
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40c322
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40c3d8
mov edi, dword [ebp + 8]
call fcn.0040b1b4
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.0042b7e0
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, 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
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x40c3c7
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.0040b1e1
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x40c322

Function at 0x40c59d
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c632
push ebx
push 0x80
push 3
push ebx
push 1
push bind
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x40c632
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x40c631
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x40c631
cmp eax, ebx
jl 0x40c606
mov eax, 0x400000
jg 0x40c602
cmp ecx, eax
jbe 0x40c606
mov edi, eax
jmp 0x40c608
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x40c631
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4
Function at 0x40c89d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push str.SeDebugPrivilege
xor esi, esi
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40c8d5
xor eax, eax
jmp 0x40c911
lea eax, [ebp - 4]
push eax
push 0xf01ff
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40c8d1
push esi
push esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40cee6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4427d0
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.00434be0
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.0040eaa0
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.0040afcc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x40cffb
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.0042b7e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x40cfe5
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.004015bd
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0040d4a5
push edi
push 1
mov byte [ebp - 4], 1
call fcn.00401828
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x40cf97
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x40d019
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004291e7
leave
ret
Function at 0x40d039
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push str.Softwareprojonepodlp_volatilelastError_
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x40d089
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40d1dc
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d290
push ebx
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.0042b7e0
add esp, 0xc
lea esi, [ebp - 0x20c]
mov ecx, edi
call fcn.0040bc96
mov ecx, esi
call fcn.0040d0c1
test eax, eax
je 0x40d23d
xor eax, eax
inc eax
jmp 0x40d28e
lea eax, [ebp - 0x20c]
push eax
push str.explorer.exe__select__s
lea eax, [ebp - 0x61c]
push 0x208
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x61c]
push eax
call fcn.0040c180
mov dword [ebp - 0x620], eax
cmp eax, ebx
je 0x40d27c
cmp eax, 0xffffffff
je 0x40d27c
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x620]
call fcn.00404972
xor eax, eax
test bl, bl
setne al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004291e7
leave
ret

Function at 0x41b6a1
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.0042b7e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004015bd
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004291e7
add ebp, 0x190
leave
ret

Function at 0x41b71a
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x454070]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.0042b7e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004015bd
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004291e7
add ebp, 0x190
leave
ret