joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41de90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 8]
push eax
call fcn.00415a60
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x41deee
add eax, 0xc
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.00433e96
int3

Function at 0x4238f0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 0x20
push 2
push eax
mov word [ebp - 8], 0x500
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x423962
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x423959
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop esi
call fcn.004345d5
mov esp, ebp
pop ebp
ret

Function at 0x424af0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
cmp dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jne 0x424b3b
mov dword [ebx + 0xc], 6
test edi, edi
je 0x424b27
mov dword [edi], 6
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 8]
or eax, 0x10009
mov dword [ebp - 8], 0
cmp dword [ecx + 0x14], 7
jbe 0x424b52
mov ecx, dword [ecx]
push esi
lea edx, [ebp - 8]
push edx
push eax
push 0
push ecx
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 8]
test esi, esi
je 0x424b82
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 7
jbe 0x424b76
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
test eax, eax
je 0x424b8f
push eax
push edi
mov ecx, ebx
call fcn.00423e60
mov bl, al
jmp 0x424ba2
mov dword [ebx + 0xc], 0
test edi, edi
je 0x424ba0
mov dword [edi], 0
mov bl, 1
test esi, esi
je 0x424bad
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x425380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
push esi
or eax, 0x20019
mov dword [ebp - 0x10], 0
cmp dword [ecx + 0x14], 7
push edi
mov edi, dword [ebp + 0x14]
jbe 0x4253be
mov ecx, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push eax
push 0
push ecx
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x4253e3
push eax
push edi
mov ecx, ebx
call fcn.00423e60
mov bl, al
jmp 0x425456
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
cmp dword [eax + 0x14], 7
jbe 0x4253fc
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 8]
cmp ecx, 4
je 0x425432
test ecx, ecx
je 0x425432
mov dword [ebx + 0xc], 2
test edi, edi
je 0x42542e
mov dword [edi], 2
xor bl, bl
jmp 0x425456
test eax, eax
je 0x425443
push eax
push edi
mov ecx, ebx
call fcn.00423e60
mov bl, al
jmp 0x425456
mov dword [ebx + 0xc], 0
test edi, edi
je 0x425454
mov dword [edi], 0
mov bl, 1
test esi, esi
je 0x425461
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4257a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fa7d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 8]
or ecx, 0x20019
mov dword [ebp - 0x1c], 0
cmp dword [eax + 0x14], 7
jbe 0x4257f4
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ecx
push 0
push eax
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42584a
cmp dword [edi + 0x14], 7
mov ecx, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
jbe 0x425830
mov ecx, dword [edi]
lea edx, [ebp - 0x14]
push edx
push 0
lea edx, [ebp - 0x18]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x42585d
push ecx
push esi
mov ecx, ebx
call fcn.00423e60
mov edi, dword [ebp - 0x1c]
mov bl, al
jmp 0x4258e4
cmp dword [ebp - 0x18], 7
je 0x42587b
mov dword [ebx + 0xc], 2
test esi, esi
je 0x425874
mov dword [esi], 2
mov edi, dword [ebp - 0x1c]
xor bl, bl
jmp 0x4258e4
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
call fcn.00423b40
cmp dword [ebp - 0x14], 0
je 0x4258ce
cmp dword [edi + 0x14], 7
mov eax, dword [ebp - 0x20]
jbe 0x425897
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push dword [eax]
lea eax, [ebp - 0x18]
push eax
push 0
push edi
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4258d1
mov ecx, dword [ebp - 0x20]
push 0
call fcn.00423b40
push dword [ebp - 0x24]
mov ecx, ebx
push esi
call fcn.00423e60
mov bl, al
jmp 0x4258e4
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x4258e2
mov dword [esi], 0
mov bl, 1
test edi, edi
je 0x4258ef
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4273f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, dword [eax + 8]
push esi
or edx, 2
mov dword [ebp - 0xc], eax
cmp dword [ecx + 0x14], 7
push edi
mov edi, dword [ebp + 0x14]
jbe 0x427426
mov ecx, dword [ecx]
lea esi, [ebp - 8]
push esi
push edx
push 0
push ecx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 8]
test esi, esi
je 0x42745c
cmp dword [ebx + 0x14], 7
jbe 0x427446
mov ebx, dword [ebx]
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42746a
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.00423e60
mov bl, al
jmp 0x427480
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
test edi, edi
je 0x42747e
mov dword [edi], 0
mov bl, 1
test esi, esi
je 0x42748b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0x10

Function at 0x428060
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 8]
push esi
or edx, 2
mov dword [ebp - 0xc], ecx
cmp dword [eax + 0x14], 7
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], 0
jbe 0x42809a
mov eax, dword [eax]
lea esi, [ebp - 8]
push esi
push edx
push 0
push eax
push dword [ecx + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 8]
test esi, esi
je 0x4280e1
cmp dword [ebx + 0x14], 7
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 2]
jbe 0x4280c4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x14], 7
jbe 0x4280cf
mov eax, dword [eax]
push ecx
push ebx
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4280ef
mov ecx, dword [ebp - 0xc]
push eax
push edi
call fcn.00423e60
mov bl, al
jmp 0x428105
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
test edi, edi
je 0x428103
mov dword [edi], 0
mov bl, 1
test esi, esi
je 0x428110
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429f10
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450076
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0xc]
add ecx, dword [ebx + 0x10]
mov dword [ebp - 0x30], eax
xor eax, eax
add ecx, 0x32
mov dword [ebp - 0x38], ebx
push 0
setb al
mov dword [ebp - 0x34], esi
neg eax
or eax, ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.0042a760
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x429f87
mov esi, dword [esi]
mov dword [ebp - 0x34], esi
cmp dword [ebx + 0x14], 0xf
jbe 0x429f92
mov ebx, dword [ebx]
mov dword [ebp - 0x38], ebx
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x2c]
call dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
push dword [ebp - 0x38]
cmp dword [ebp - 0x14], 0xf
push dword [ebp - 0x2c]
movzx ebx, word [edi + 0xa]
push dword [ebp - 0x3c]
movzx esi, word [edi + 8]
movzx edx, word [edi + 6]
movzx ecx, word [edi + 2]
push eax
movzx eax, word [edi + 0xe]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
movzx eax, word [edi + 0xc]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
movzx eax, word [edi]
lea edi, [ebp - 0x28]
cmova edi, dword [ebp - 0x28]
push ebx
push esi
push edx
push ecx
push eax
push str._04d__02d__02d__02d:_02d:_02d._03d___04x._04x___s:__s_s_r_n
push 0xffffffffffffffff
push dword [ebp - 0x18]
push edi
call fcn.0042a930
add esp, 0x40
test eax, eax
jle 0x42a05a
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x42a027
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmova ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
jmp 0x42a034
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.004056b0
mov esi, dword [ebp - 0x48]
cmp byte [esi + 8], 0
je 0x42a04f
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.0042a4a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x42a08a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a080
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a0a8
push ecx
push edx
call fcn.004345c7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0x10
call fcn.00437e6f
int3
Function at 0x42aa6e
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [0x466340]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x42aa9e
push 0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push dword [esp + 0x20]
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.004345d5
add esp, 8
ret 8

Function at 0x42bcf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450332
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LogMaxSizeKB
lea ecx, [ebp - 0x48]
call fcn.004019a0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004019a0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push edx
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], 0x32
cmova ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
push 0x10
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x42bdac
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bda2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be15
push ecx
push edx
call fcn.004345c7
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x42bdf6
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bdec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be15
push ecx
push edx
call fcn.004345c7
add esp, 8
mov eax, dword [ebp - 0x14]
shl eax, 0xa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret
call fcn.00437e6f
int3
Function at 0x42be20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450366
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LogLevel
lea ecx, [ebp - 0x48]
call fcn.004019a0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004019a0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
cmova ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x1c], 7
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push edx
push 0
push 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], 4
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x42bedb
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bed1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf41
push ecx
push edx
call fcn.004345c7
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x42bf25
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bf1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bf41
push ecx
push edx
call fcn.004345c7
add esp, 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret
call fcn.00437e6f
int3
Function at 0x42bf50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45039a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x467c80]
lea ecx, [ebp - 0x48]
push str.DebugOutputLogging
call fcn.004019a0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004019a0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push edx
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
cmova ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
push 0x10
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x42c00f
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c005
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c07e
push ecx
push edx
call fcn.004345c7
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x42c059
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42c04f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c07e
push ecx
push edx
call fcn.004345c7
add esp, 8
mov eax, dword [0x467c7c]
cmp eax, dword [ebp - 0x14]
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret
call fcn.00437e6f
int3

Function at 0x42d500
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
xor esi, esi
cmp byte [esp + 0x14], 0
push edi
mov edi, dword [esp + 0x14]
je 0x42d553
test edi, edi
je 0x42d553
push 0xc
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x42d553
push 0
lea eax, [esi + 4]
mov dword [esi + 4], 0
push eax
push 1
push str.D:_A__GA___SY__A__GA___BA_
mov dword [esi], 0xc
mov dword [esi + 8], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
jne 0x42d581
test edi, edi
je 0x42d581
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42d581
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, eax
test esi, esi
je 0x42d5b7
mov edi, dword [esi + 4]
test edi, edi
je 0x42d5a9
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push eax
call edi
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x42d8e0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x466340]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x2c]
mov word [esp + 0x30], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0xc], eax
test eax, eax
je 0x42d951
lea eax, [esp + 0xc]
push eax
push dword [esp + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42d942
mov dword [esp + 0xc], eax
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.004345d5
add esp, 0x14
ret
Function at 0x42f170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov edi, ecx
call fcn.00434606
mov edx, dword [ebp + 8]
mov esi, eax
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x42f280
push 0
push 0
call fcn.0043fefc
add esp, 0x18
mov dword [edi + 0xc], eax
test eax, eax
je 0x42f22e
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x42f1f3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xf4240
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [edi + 0xc]
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], 0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 8
push 0xc
push esi
call fcn.004345c7
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0xf4240
pop edi
pop esi
call fcn.004345d5
mov esp, ebp
pop ebp
ret 8
Function at 0x430470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x466340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
cmp dword [ebp + 0xc], edi
jbe 0x4305df
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
push dword [esi + 0x18]
push ebx
call fcn.0042ff50
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4305b2
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
sub eax, edi
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], eax
push ecx
push eax
mov eax, dword [ebp - 0x10]
add eax, edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x430560
mov ebx, 0xf4240
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x430556
push dword [ebp - 0xc]
mov ecx, esi
push dword [esi + 0x14]
call fcn.004306b0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43053a
push dword [ebp - 0xc]
push eax
push str.Timeout_cancel:__lu__timeout_lums
push str.PipeIPC::ReadFromPipeWithTimeout
push 3
call fcn.00428a00
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor ebx, ebx
cmp dword [ebp - 0x14], 0x102
setne bl
lea ebx, [ebx*2 + 4]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x43055d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x430581
mov ebx, dword [ebp + 0x10]
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0xc]
jb 0x4304a0
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x18]
push str.Failed:_bytesToRead:__lu__bytesRead:__lu__IPC_error__d__Win32_error:__lu
push str.PipeIPC::ReadFromPipeWithTimeout
push 3
call fcn.00428a00
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc
push ebx
push str.Reading_timeout:__lums
push str.PipeIPC::ReadDataFromPipe
push 3
call fcn.00428a00
add esp, 0x10
mov eax, 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 0xf4240
pop edi
xor ecx, ebp
pop esi
call fcn.004345d5
mov esp, ebp
pop ebp
ret 0xc