joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ec0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8956
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xa4], 0x66cec332
mov dword [ebp - 0xa0], 0x344e2889
mov dword [ebp - 0x9c], 0xe8c658fc
mov dword [ebp - 0x98], 0x4494ac0f
mov dword [ebp - 0x94], 0xb9c00ea2
mov dword [ebp - 0x90], 0xbb8852f7
mov dword [ebp - 0x8c], 0x17c832a
mov dword [ebp - 0x88], 0x9ff235a8
mov dword [ebp - 0x84], 0x9067f16
mov dword [ebp - 0x80], 0x3d7eeaa0
mov dword [ebp - 0x7c], 0xd7da7cda
mov dword [ebp - 0x78], 0x6f7c51b1
mov dword [ebp - 0x74], 0x1289e964
mov dword [ebp - 0x70], 0xef659ac5
mov dword [ebp - 0x6c], 0xda645b65
mov dword [ebp - 0x68], 0x2198f078
mov dword [ebp - 0x64], 0x87b0a5d8
mov dword [ebp - 0x60], 0x2fd08f2f
mov dword [ebp - 0x5c], 0x63b5027a
mov dword [ebp - 0x58], 0x9d57749e
mov dword [ebp - 0x54], 0xde78cbe6
mov dword [ebp - 0x50], 0xc1ce7796
mov dword [ebp - 0x4c], 0xcabff43c
mov dword [ebp - 0x48], 0x3396f270
mov dword [ebp - 0x44], 0xefc7347
mov dword [ebp - 0x40], 0xc0018a8a
mov dword [ebp - 0x3c], 0x8ac2bea5
mov dword [ebp - 0x38], 0x1bff00e2
mov dword [ebp - 0x34], 0x203a94e3
mov dword [ebp - 0x30], 0x4d32867e
mov dword [ebp - 0x2c], 0xa89f9f0d
mov dword [ebp - 0x28], 0x3aa0d286
mov dword [ebp - 0x24], 0x3f79dd90
mov dword [ebp - 0x20], 0xb380c495
mov dword [ebp - 0x1c], 0x2a30d8f9
mov dword [ebp - 0x18], 0x1dee0675
mov dword [ebp - 0xc0], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [ebp - 4], 0
push 0x24
push str.BEEB7618_3C46_471B_81C7_DF9483C794EC
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
call fcn.004048e0
push esi
lea eax, [ebp - 0xbc]
push eax
sub esp, 0xc
mov ecx, esp
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa4]
push eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.00409370
lea ecx, [ebp - 0xc0]
call fcn.0043160d
cmp dword [ebp - 0xa8], 0x10
mov bl, al
jb 0x4090b6
push dword [ebp - 0xbc]
call fcn.004a295f
add esp, 4
mov ecx, dword [ebp - 0xc0]
test bl, bl
setne bl
test ecx, ecx
je 0x4090ce
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a2964
mov esp, ebp
pop ebp
ret 4
Function at 0x413cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da8a6
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x510918]
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, dword [ebp + 0xc]
mov dword [ebp - 0xd4], ebx
mov al, byte [ebx]
test al, al
jne 0x413f1d
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
call fcn.0041bc90
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0041b250
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
push eax
push dword [eax]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.0041b4b0
push dword [ebp - 0xd0]
call fcn.004a295f
mov edi, dword [ebp + 8]
add esp, 4
mov esi, dword [edi]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x413f1d
push esi
lea eax, [ebp - 0xc8]
push eax
call fcn.00419050
mov dword [ebp - 4], 1
cmp byte [ebp - 0xc8], 0
je 0x413eee
cmp dword [ebp - 0xc0], 0
jne 0x413eee
cmp byte [ebp - 0xb0], 0
je 0x413eee
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.004160a0
cmp dword [eax + 0x14], 8
jb 0x413df9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp - 0x30], 8
jb 0x413e16
push dword [ebp - 0x44]
call fcn.004a295f
add esp, 4
test bl, bl
je 0x413eee
mov eax, dword [0x513098]
and eax, 0xf
cmp al, 0xf
jne 0x413ec2
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x26
push str.Found_downloaded_version___s__for___s_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00404c90
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xac]
call fcn.00411f00
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x413e75
mov ecx, dword [esi]
jmp 0x413e77
mov ecx, esi
cmp dword [eax + 0x14], 8
jb 0x413e7f
mov eax, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push ecx
push eax
mov eax, edx
push eax
push 0xf2
push str.Elements::CUpdater::FillStatesMap
push 0xf
call fcn.00428590
add esp, 0x1c
cmp dword [ebp - 0x30], 8
jb 0x413ead
push dword [ebp - 0x44]
call fcn.004a295f
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x413ec2
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
mov ebx, dword [ebp - 0xd4]
lea eax, [ebp - 0xc0]
push eax
add ebx, 4
push esi
mov ecx, ebx
call fcn.0041c400
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0xe0]
push eax
mov ecx, ebx
call fcn.0041c490
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xc8], 0
je 0x413f12
cmp byte [ebp - 0xb0], 0
je 0x413f12
lea ecx, [ebp - 0xac]
call fcn.00416d00
add esi, 0x68
cmp esi, edi
jne 0x413da5
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.004a2964
mov esp, ebp
pop ebp
ret 8
Function at 0x415790
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9efe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x510918]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00402c10
lea ecx, [edi + 0x18]
mov dword [ebp - 4], 0
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00402c10
mov byte [ebp - 4], 1
movq xmm0, qword [esi + 0x30]
movq qword [edi + 0x30], xmm0
movq xmm0, qword [esi + 0x38]
movq qword [edi + 0x38], xmm0
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
lea ecx, [edi + 0x44]
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x44]
push eax
call fcn.00402c10
lea eax, [esi + 0x5c]
push eax
lea ecx, [edi + 0x5c]
mov byte [ebp - 4], 2
call fcn.0041aa20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418720
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da0b0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
mov edx, esi
call fcn.0043839e
add esp, 4
test al, al
jne 0x4187d4
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x4187cd
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x15
push str.Couldnt_apply_patch
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], eax
call fcn.00404c90
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x302
push str.Elements::CUpdater::ApplyPatch
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x4187cd
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
xor al, al
jmp 0x41885d
cmp dword [esi + 0x14], 8
jb 0x4187de
mov eax, dword [esi]
jmp 0x4187e0
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41885b
mov eax, dword [0x513098]
and eax, 3
cmp al, 3
jne 0x41885b
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x14], al
push 0x16
push str.Couldnt_remove_patch
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00404c90
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402a00
lea eax, [ebp - 0x2c]
push eax
push eax
push 0x307
push str.Elements::CUpdater::ApplyPatch
push 3
call fcn.00428590
add esp, 0x14
cmp dword [ebp - 0x18], 8
jb 0x41885b
push dword [ebp - 0x2c]
call fcn.004a295f
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a2964
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4231a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
lea ecx, [esp + 4]
call fcn.00423540
cmp dword [esp + 0x18], 8
lea eax, [esp + 4]
cmovae eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [esp + 0x18], 8
jb 0x4231eb
push dword [esp + 4]
call fcn.004a295f
add esp, 4
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret

Function at 0x423200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x3c]
call fcn.00423540
push 0x38
lea eax, [esp + 8]
push 0
push eax
call fcn.004acf20
add esp, 0xc
cmp dword [esp + 0x50], 8
lea eax, [esp + 0x3c]
cmovae eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0
mov dword [esp + 0x18], str._gui
mov dword [esp + 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [esp + 0x50], 8
jb 0x42327d
push dword [esp + 0x3c]
call fcn.004a295f
add esp, 4
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004a2964
mov esp, ebp
pop ebp
ret
Function at 0x4295b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x4295dd
cmp dword [edi + 0xc], 0
je 0x42964f
xor al, al
jmp 0x42963e
cmp dword [edx + 0x14], 8
jb 0x4295e5
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x4295ed
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x30], eax
test edx, edx
jne 0x4295fb
push 0xd
pop ecx
jmp 0x42962f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x30]
jne 0x429600
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
xor eax, eax
push eax
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x429637
xor eax, eax
cmp dword [edi + 0xc], eax
jne 0x429637
push ecx
jmp 0x429651
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2964
leave
ret 8
push 6
lea ecx, [ebp - 0x2c]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x2c]
push eax
call fcn.004a935b
int3

Function at 0x429668
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42968d
cmp dword [esi + 0xc], 0
je 0x4296d3
xor al, al
jmp 0x4296c4
cmp dword [edx + 0x14], 8
jb 0x429695
mov edx, dword [edx]
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 4
push 0
push edx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x4296bd
cmp dword [esi + 0xc], 0
jne 0x4296bd
push ecx
jmp 0x4296d5
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004a2964
leave
ret 8
push 6
lea ecx, [ebp - 0x2c]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x2c]
push eax
call fcn.004a935b
int3

Function at 0x4296ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x429711
cmp dword [esi + 0xc], 0
je 0x42975d
xor al, al
jmp 0x42974e
cmp dword [edx + 0x14], 8
jb 0x429719
mov edx, dword [edx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
push 8
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 0xb
push 0
push edx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x429747
cmp dword [esi + 0xc], 0
jne 0x429747
push ecx
jmp 0x42975f
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004a2964
leave
ret 0xc
push 6
lea ecx, [ebp - 0x30]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x30]
push eax
call fcn.004a935b
int3
Function at 0x429776
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
mov edi, dword [ebp + 0xc]
jne 0x4297a0
cmp dword [esi + 0xc], 0
je 0x4297eb
xor al, al
jmp 0x4297da
mov ecx, dword [edi + 4]
mov edx, dword [edi]
xor ebx, ebx
cmp edx, ecx
cmove edx, ebx
sub ecx, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x4297b6
mov eax, dword [eax]
push ecx
push edx
push 3
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
test ecx, ecx
je 0x4297d3
cmp dword [esi + 0xc], ebx
jne 0x4297d3
push ecx
jmp 0x4297ed
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2964
leave
ret 8
push 6
lea ecx, [ebp - 0x2c]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x2c]
push eax
call fcn.004a935b
int3

Function at 0x429a35
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x429a5a
cmp dword [esi + 0xc], 0
je 0x429a90
xor al, al
jmp 0x429a81
cmp dword [eax + 0x14], 8
jb 0x429a62
mov eax, dword [eax]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
test ecx, ecx
je 0x429a7a
cmp dword [esi + 0xc], 0
jne 0x429a7a
push ecx
jmp 0x429a92
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004a2964
leave
ret 4
push 6
lea ecx, [ebp - 0x30]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x30]
push eax
call fcn.004a935b
int3
Function at 0x429aa9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x3c
mov eax, 0x4dc922
call fcn.004a941b
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jne 0x429b06
cmp byte [ebp + 0x10], bl
je 0x429ae5
lea eax, [esi + 4]
mov byte [esi], bl
test eax, eax
je 0x429b70
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
jmp 0x429b70
cmp dword [edi + 0xc], ebx
jne 0x429b02
push 6
lea ecx, [ebp - 0x38]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x38]
push eax
call fcn.004a935b
mov byte [esi], bl
jmp 0x429b73
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x3c], ebx
jb 0x429b11
mov eax, dword [eax]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
mov dword [ebp - 0x44], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429b3b
cmp dword [ebp - 0x40], 4
je 0x429b4a
push 0xd
pop eax
mov cl, byte [ebp + 0x10]
test cl, cl
jne 0x429b5e
cmp dword [edi + 0xc], ebx
jne 0x429b5e
push eax
jmp 0x429aec
mov eax, ebx
test eax, eax
jne 0x429b3b
lea ecx, [esi + 4]
mov byte [esi], bl
test ecx, ecx
je 0x429b70
mov eax, dword [ebp - 0x3c]
jmp 0x429b6e
mov byte [esi], bl
test cl, cl
je 0x429b73
lea ecx, [esi + 4]
test ecx, ecx
je 0x429b70
mov eax, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [esi], 1
mov eax, esi
call fcn.004a93ca
ret 0x10

Function at 0x429bc2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x4dc98d
call fcn.004a941b
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jne 0x429c25
cmp byte [ebp + 0x10], bl
je 0x429c04
lea eax, [esi + 8]
mov byte [esi], bl
test eax, eax
je 0x429c9d
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x429c9d
cmp dword [edi + 0xc], ebx
jne 0x429c21
push 6
lea ecx, [ebp - 0x3c]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x3c]
push eax
call fcn.004a935b
mov byte [esi], bl
jmp 0x429ca0
push 8
pop ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
cmp dword [eax + 0x14], ecx
jb 0x429c37
mov eax, dword [eax]
mov dword [ebp - 0x44], ecx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push ebx
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429c5d
cmp dword [ebp - 0x40], 0xb
je 0x429c6c
push 0xd
pop eax
mov cl, byte [ebp + 0x10]
test cl, cl
jne 0x429c85
cmp dword [edi + 0xc], ebx
jne 0x429c85
push eax
jmp 0x429c0b
mov eax, ebx
test eax, eax
jne 0x429c5d
lea ecx, [esi + 8]
mov byte [esi], bl
test ecx, ecx
je 0x429c9d
mov eax, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
jmp 0x429c9a
mov byte [esi], bl
test cl, cl
je 0x429ca0
lea ecx, [esi + 8]
test ecx, ecx
je 0x429c9d
mov eax, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
mov byte [esi], 1
mov eax, esi
call fcn.004a93ca
ret 0x18
Function at 0x429cf5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc95d
mov eax, dword fs:[0]
push eax
mov eax, 0x8078
call fcn.004b4e80
mov eax, dword [0x510918]
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 edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x8078], eax
cmp dword [edi], eax
jne 0x429d68
cmp dword [edi + 0xc], eax
jne 0x429d5b
push 6
lea ecx, [ebp - 0x803c]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x803c]
push eax
call fcn.004a935b
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
jmp 0x429e41
mov dword [ebp - 0x8074], eax
mov dword [ebp - 0x8070], eax
mov dword [ebp - 0x806c], eax
push 0x8000
push eax
mov dword [ebp - 4], eax
mov ebx, eax
lea eax, [ebp - 0x8014]
push eax
call fcn.004acf20
add esp, 0xc
lea eax, [ebp - 0x8080]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x8068]
push eax
lea eax, [ebp - 0x8014]
push eax
push ebx
push dword [edi]
mov dword [ebp - 0x8068], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x429dff
lea eax, [ebp - 0x8014]
push eax
lea ecx, [ebp - 0x802c]
call fcn.00403110
lea eax, [ebp - 0x802c]
push eax
lea ecx, [ebp - 0x8074]
mov byte [ebp - 4], 1
call fcn.00410ba0
lea ecx, [ebp - 0x802c]
mov byte [ebp - 4], 0
call fcn.00403170
inc ebx
jmp 0x429d94
cmp dword [edi + 0xc], 0
jne 0x429e28
cmp eax, 0x103
je 0x429e28
push eax
lea ecx, [ebp - 0x8064]
call fcn.004290fa
push 0x504c48
lea eax, [ebp - 0x8064]
jmp 0x429d55
lea eax, [ebp - 0x8074]
push eax
mov ecx, esi
call fcn.00427563
lea ecx, [ebp - 0x8074]
call fcn.00401500
mov eax, esi
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.004a2964
leave
ret 4
Function at 0x42ce63
Capabilities:
Enumerate processes

Disassembly:
push 0x25c
mov eax, 0x4dcc24
call fcn.004a941b
mov dword [ebp - 0x24c], ecx
xor ebx, ebx
mov dword [ebp - 0x258], ebx
mov dword [ebp - 4], ebx
mov edi, ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x240], ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 2
cmp esi, 0xffffffff
jne 0x42cee8
mov ecx, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
call fcn.00421fc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00406a20
lea ecx, [ebp + 8]
call fcn.00401500
mov eax, dword [ebp - 0x24c]
jmp 0x42d069
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x42d02d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x254], eax
cmp eax, ecx
je 0x42d01f
cmp dword [eax + 0x14], 8
jb 0x42cf27
mov eax, dword [eax]
push 1
mov dword [ebp - 0x260], eax
call fcn.004a1849
mov dword [ebp - 0x25c], eax
mov ecx, esp
mov byte [ebp - 4], 3
mov dword [ecx], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x260]
call fcn.0042d2b9
pop ecx
lea ecx, [ebp - 0x25c]
mov bl, al
mov byte [ebp - 4], 2
call fcn.00401630
mov eax, dword [ebp - 0x254]
test bl, bl
jne 0x42cf87
add eax, 0x18
mov dword [ebp - 0x254], eax
cmp eax, dword [ebp - 0x250]
jne 0x42cf1f
cmp dword [ebp + 0xc], eax
je 0x42d01f
lea eax, [ebp - 0x234]
cmp eax, edi
jae 0x42cfe4
mov ebx, dword [ebp - 0x258]
cmp ebx, eax
ja 0x42cfe4
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x250], eax
cmp edi, dword [ebp - 0x240]
jne 0x42cfdb
push ecx
lea ecx, [ebp - 0x248]
call fcn.0042d222
mov ebx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x244]
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x258], ebx
test edi, edi
je 0x42d016
mov eax, dword [ebx + eax*4]
jmp 0x42d014
cmp edi, dword [ebp - 0x240]
jne 0x42d00a
push ecx
lea ecx, [ebp - 0x248]
call fcn.0042d222
mov eax, dword [ebp - 0x248]
mov edi, dword [ebp - 0x244]
mov dword [ebp - 0x258], eax
test edi, edi
je 0x42d016
mov eax, dword [ebp - 0x234]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x244], edi
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42cf05
mov edi, dword [ebp - 0x24c]
lea eax, [ebp - 0x248]
push eax
mov ecx, edi
call fcn.00421fc0
test esi, esi
je 0x42d054
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x248]
call fcn.00406a20
lea ecx, [ebp + 8]
call fcn.00401500
mov eax, edi
call fcn.004a93ca
ret