joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100542a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x40], 1
call fcn.10002300
add esp, 8
test al, al
lea eax, [esp + 0x10]
jne 0x1000248c
lea eax, [esp + 0x44]
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10008c30
cmp dword [esp + 0x28], 0x10
jb 0x100024b8
mov eax, dword [esp + 0x14]
push eax
call fcn.100378fa
add esp, 4
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x100024dc
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100378fa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100370e4
add esp, 0x34
ret

Function at 0x10002920
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x10058300
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000296a
cmp dword [esp + 4], 4
jne 0x1000296a
mov eax, dword [esp + 8]
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
add esp, 0xc
ret
Function at 0x100037c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050006
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 1
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x100037fe
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp dword [esi + 0x84], 8
jb 0x10003813
mov eax, dword [esi + 0x70]
push eax
call fcn.100378fa
add esp, 4
xor ecx, ecx
mov dword [esi + 0x84], 7
mov dword [esi + 0x80], ebx
mov word [esi + 0x70], cx
cmp dword [esi + 0x58], 8
jb 0x1000383b
mov edx, dword [esi + 0x44]
push edx
call fcn.100378fa
add esp, 4
xor eax, eax
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], ax
cmp dword [esi + 0x30], 0x10
jb 0x1000385d
mov ecx, dword [esi + 0x1c]
push ecx
call fcn.100378fa
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x1000f5d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10051ac8
mov eax, dword fs:[0]
push eax
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov cx, word [esp + 0x14]
mov word [esi], cx
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor edx, edx
push eax
mov dword [ecx + 0x18], 7
lea eax, [esp + 0x20]
mov word [ecx + 4], dx
call fcn.10008d90
cmp dword [esp + 0x30], 8
jb 0x1000f631
mov eax, dword [esp + 0x1c]
push eax
call fcn.100378fa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20

Function at 0x1000fcc0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 3]
push eax
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], 0
mov byte [esp + 0xb], 0
call fcn.100020e0
add esp, 8
xor edx, edx
cmp byte [esp + 3], dl
push 4
lea eax, [esp + 8]
push eax
push 4
setne dl
push 0x10058300
push str.Softwareprojonepodlp_smprule_
push 0x80000002
mov dword [esp + 0x1c], edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 8
ret

Function at 0x1000feb0
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10042ed0
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp dword [0x10068338], 0
push esi
je 0x1000ff44
push str._GlobalHookThread
push 0x4a
push str..main.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
mov dword [0x10068338], 0
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1000fda0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1000ff3d
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.1002e66b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.100370e4
add esp, 0x1010
ret
Function at 0x100100e0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x100101f5
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
mov dword [0x1006a1c0], edi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.1002eab7
test eax, eax
jne 0x10010197
push 0x104
push 0x1006a1c8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x1006a1c8
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [0x1006a1c4], eax
test eax, eax
je 0x1001017f
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.test.exe
push eax
call esi
test eax, eax
je 0x10010159
mov eax, dword [0x1006a1c4]
test eax, eax
je 0x1001017f
push str.test64.exe
push eax
call esi
test eax, eax
jne 0x1001017f
push 0
push 0
push 0
push 0x1000fda0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
ret 0xc
call fcn.1002fe0c
test eax, eax
jne 0x10010175
call fcn.10007540
pop edi
pop esi
mov eax, 1
ret 0xc
mov eax, dword [0x1006acb0]
test eax, eax
jne 0x100101e3
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.pobus32.dll
call esi
test eax, eax
jne 0x100101ce
push str.pobus64.dll
call esi
test eax, eax
jne 0x100101ce
push str.poda32.dll
call esi
test eax, eax
jne 0x100101ce
push str.poda64.dll
call esi
push str.CC35024C
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1006acb0], eax
test eax, eax
je 0x10010175
push 0x1000ff70
push edi
call eax
pop edi
pop esi
mov eax, 1
ret 0xc
test eax, eax
jne 0x10010177
call fcn.10007850
mov eax, 1
ret 0xc
Function at 0x10011400
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10052018
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov word [esp + 0x28], cx
mov ecx, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], edi
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x10011460
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x28]
call fcn.10009f80
lea edx, [esp + 0x18]
push edx
push ebx
mov ebx, esi
mov dword [esp + 0x58], edi
call fcn.1000e150
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
cmp ecx, 8
jb 0x10011589
mov esi, edx
mov dword [esp + 0x10], esi
test edx, edx
je 0x100114ca
mov eax, edx
cmp ecx, 8
jae 0x100114b0
lea eax, [esp + 0x28]
cmp eax, esi
ja 0x100114ca
mov eax, edx
cmp ecx, 8
jae 0x100114bf
lea eax, [esp + 0x28]
mov ebx, dword [esp + 0x38]
lea eax, [eax + ebx*2]
cmp esi, eax
jbe 0x100114db
call fcn.100378c0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov eax, edx
cmp ecx, 8
jae 0x100114e6
lea eax, [esp + 0x28]
lea edi, [eax + ebx*2]
test edi, edi
je 0x1001150e
mov eax, edx
cmp ecx, 8
jae 0x100114f8
lea eax, [esp + 0x28]
cmp eax, edi
ja 0x1001150e
mov eax, edx
cmp ecx, 8
jae 0x10011507
lea eax, [esp + 0x28]
lea eax, [eax + ebx*2]
cmp edi, eax
jbe 0x1001151f
call fcn.100378c0
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
cmp ecx, 8
jb 0x10011598
mov esi, edx
test edx, edx
je 0x1001154b
mov eax, edx
cmp ecx, 8
jae 0x10011535
lea eax, [esp + 0x28]
cmp eax, esi
ja 0x1001154b
mov eax, edx
cmp ecx, 8
jae 0x10011544
lea eax, [esp + 0x28]
lea ecx, [eax + ebx*2]
cmp esi, ecx
jbe 0x10011550
call fcn.100378c0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x20]
push eax
push ecx
push edi
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.10014f50
mov edx, dword [esp + 0x28]
add esp, 0x14
cmp dword [edx + 8], 0x10
jne 0x1001159e
mov esi, 1
jmp 0x100115b4
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov esi, eax
jmp 0x100114a5
lea esi, [esp + 0x28]
jmp 0x1001152a
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x100115ad
lea eax, [esp + 0x28]
call fcn.100113b0
mov esi, eax
lea ecx, [esp + 0x24]
call fcn.10012920
mov dword [eax], esi
cmp dword [esp + 0x3c], 8
jb 0x100115d3
mov eax, dword [esp + 0x28]
push eax
call fcn.100378fa
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100370e4
mov esp, ebp
pop ebp
ret
Function at 0x10011e90
Capabilities:
Create thread

Disassembly:
mov eax, 0x1010
call fcn.10042ed0
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x1008], eax
push esi
push 0x1006a048
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str._PrinterMonitorThread
push 0x83
push str..printermon.cpp
push str._s._d:_s
lea eax, [esp + 0x18]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x10011c30
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10011f18
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push str.thread__d_created:__s
call fcn.1002e66b
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x100c]
pop esi
xor ecx, esp
call fcn.100370e4
add esp, 0x1010
ret

Function at 0x100152e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10050c7b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x10066060]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
lea ecx, [esi + 0xc]
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
lea eax, [edi + 0xc]
push edx
mov word [ecx + 4], dx
call fcn.10008d90
mov dword [esp + 0x10], 0
movzx eax, byte [edi + 0x28]
mov byte [esi + 0x28], al
movzx ecx, byte [edi + 0x29]
mov byte [esi + 0x29], cl
mov dx, word [edi + 0x2a]
mov word [esi + 0x2a], dx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
movzx edx, byte [edi + 0x34]
mov byte [esi + 0x34], dl
lea ecx, [esi + 0x38]
xor edx, edx
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
lea eax, [edi + 0x38]
push edx
mov word [ecx + 4], dx
call fcn.10008d90
movzx eax, byte [edi + 0x54]
mov byte [esi + 0x54], al
movzx ecx, byte [edi + 0x55]
mov byte [esi + 0x55], cl
movzx edx, byte [edi + 0x56]
mov byte [esi + 0x56], dl
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x1001e334
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x10066060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
cmp edi, ebx
je 0x1001e42e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1001e42e
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10039730
add esp, 0xc
lea esi, [ebp - 0x210]
mov ecx, edi
call fcn.1001ea75
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001e3ab
shr eax, 4
not eax
and eax, 1
jmp 0x1001e430
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.1001e43e
test eax, eax
je 0x1001e42e
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 0x1001e410
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x1001e416
mov dword [ebp - 0x41c], ebx
lea eax, [ebp - 0x420]
call fcn.1001e0fe
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x1001e430
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100370e4
leave
ret
Function at 0x1001e840
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1001e86c
call fcn.1001e334
test eax, eax
jne 0x1001e86c
pop edi
pop esi
pop ebx
leave
ret 0xc
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x1001e88c
cmp esi, 0xffffffff
jne 0x1001e8a4
cmp dword [ebp - 8], ebx
jne 0x1001e898
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc]
call fcn.1001e0fe
mov eax, ebx
jmp 0x1001e865
mov edi, dword [ebp + 0x10]
push ebx
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1001e8c8
cmp dword [ebp - 4], edi
jne 0x1001e8c8
xor ebx, ebx
inc ebx
jmp 0x1001e898
cmp dword [ebp - 8], ebx
jne 0x1001e898
or dword [ebp - 0xc], 0xffffffff
cmp esi, 0xffffffff
je 0x1001e8e1
cmp esi, ebx
je 0x1001e8e1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
jmp 0x1001e892

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

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x10066060]
xor eax, ebp
mov dword [ebp + 0x84], eax
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10039730
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call fcn.1001e964
mov eax, 0x179b06cc
xor ecx, ecx
push esi
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10068618]
inc ecx
cmp ecx, 0x24
jl 0x1001ea43
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.100370e4
add ebp, 0x88
leave
ret

Function at 0x1001ec77
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10066060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.1001f063
push esi
test eax, eax
je 0x1001ed04
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10039730
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 0x1001ecfb
cmp esi, 0xffffffff
je 0x1001ecfb
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x1001ecf7
push edi
lea eax, [esp + 0xc]
push eax
call fcn.1001f063
test eax, eax
je 0x1001ecfb
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1001ecdd
lea eax, [esp + 4]
call fcn.1001e0fe
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.100370e4
mov esp, ebp
pop ebp
ret 4
Function at 0x1001ed19
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10066060]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, fcn.1001f011
test eax, eax
je 0x1001eda0
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x80], esi
test esi, esi
je 0x1001ed97
cmp esi, 0xffffffff
je 0x1001ed97
push 0x228
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x7c], 0x22c
call fcn.10039730
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1001ed93
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.1001f011
test eax, eax
je 0x1001ed97
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1001ed7b
lea eax, [ebp - 0x80]
call fcn.1001e0fe
pop esi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
call fcn.100370e4
add ebp, 0x1b4
leave
ret

Function at 0x1001edb5
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 0x1001edc8
xor eax, eax
jmp 0x1001ee21
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10039730
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.1001e2fa
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 0x1001ee19
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.1001e327
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x1001ef02
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x1001ef1b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.1001ee27
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.1001ed19
cmp dword [ebp - 0x14], esi
je 0x1001ef12
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1001ef51
cmp eax, 0xffffffff
jne 0x1001ef5d
lea eax, [ebp - 0x10]
call fcn.1001e0fe
mov eax, esi
jmp 0x1001ef14
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 0x1001ef51
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 0x1001f007
mov edi, dword [ebp + 8]
call fcn.1001e2fa
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.10039730
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x3c], ax
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x40], 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 0x1001eff6
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
call ebx
push dword [ebp + 8]
call fcn.1001e327
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1001ef51
Function at 0x1001f74d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051ded
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10042ed0
mov eax, dword [0x10066060]
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.1001f961
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1001e114
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x1001f868
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.10039730
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 0x1001f852
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10007a10
lea eax, [ebp - 0x2048]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2028]
push eax
call fcn.1001f991
lea esi, [ebp - 0x2048]
mov byte [ebp - 4], 1
call fcn.10012b60
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 0x1001f7fe
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x1001f886
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.100370e4
leave
ret

Function at 0x1001f8a6
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x10066060]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1001f914
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10039730
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1001f914
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x1001f923
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100370e4
add ebp, 0x190
leave
ret 4
Function at 0x10020dc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.10042ed0
mov eax, dword [0x10066060]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.10020e9f
test al, al
je 0x10020e92
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push 0x10058edc
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x10058bdc
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.10020cec
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10020e31
mov eax, dword [eax + 4]
jmp 0x10020e34
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea esi, [ebp - 0x2028]
call fcn.10012b60
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.100370e4
leave
ret