joyce8/EMBER2024-capa huggingface dataset:
Function at 0xda35f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0xda3619
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0xdae0bc]
test eax, eax
jne 0xda363d
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0x93231e3
mov ecx, eax
call fcn.00da40f0
mov dword [0xdae0bc], eax
call eax
mov edi, eax
mov eax, dword [0xdadddc]
test eax, eax
jne 0xda3665
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadddc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0xda36e5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0xda36da
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0xda36a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0xda36f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0xda371a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0xdae0bc]
test eax, eax
jne 0xda373e
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0x93231e3
mov ecx, eax
call fcn.00da40f0
mov dword [0xdae0bc], eax
call eax
mov edi, eax
mov eax, dword [0xdadddc]
test eax, eax
jne 0xda3766
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadddc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0xda37d2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0xda37ca
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0xda37a0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0xda3ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x3d42
shr dword [esp + 4], 4
imul eax, dword [esp + 4], 0x5d
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
imul eax, dword [esp + 8], 0x57
mov dword [esp + 8], eax
xor dword [esp + 8], 0x4ecad597
or dword [esp + 8], 0x3c04465
mov eax, dword [esp + 8]
shl eax, 6
mov dword [esp + 8], eax
shr dword [esp + 8], 7
add dword [esp + 8], 0xffff768f
xor dword [esp + 8], 0x1f8ad06
mov dword [esp + 4], 0x727d
imul eax, dword [esp + 4], 0x6d
mov dword [esp + 4], eax
mov eax, 0x6c16c16d
shl dword [esp + 4], 0xf
xor dword [esp + 4], 0xf3d1e7b4
mov ecx, dword [esp + 4]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 4], ecx
shr dword [esp + 4], 1
add dword [esp + 4], 0xb65
mov ecx, dword [esp + 4]
mul ecx
shr edx, 5
mov dword [esp + 4], edx
xor dword [esp + 4], 0xe6a8e
mov dword [esp + 4], 0x5917
add dword [esp + 4], 0xac1f
shr dword [esp + 4], 3
shl dword [esp + 4], 0xa
xor dword [esp + 4], 0xbfc66964
xor dword [esp + 4], 0x8e435246
shl dword [esp + 4], 0xc
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 4], ecx
xor dword [esp + 4], 0xd874a010
cmp byte [ebx], 0
je 0xda3ed7
push esi
push edi
jmp 0xda3df0
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x727d
imul eax, dword [esp + 0xc], 0x6d
mov dword [esp + 0xc], eax
mov eax, 0x6c16c16d
shl dword [esp + 0xc], 0xf
xor dword [esp + 0xc], 0xf3d1e7b4
mov ecx, dword [esp + 0xc]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0xc], ecx
shr dword [esp + 0xc], 1
add dword [esp + 0xc], 0xb65
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0xe6a8e
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x5917
add dword [esp + 0xc], 0xac1f
shr dword [esp + 0xc], 3
shl dword [esp + 0xc], 0xa
xor dword [esp + 0xc], 0xbfc66964
xor dword [esp + 0xc], 0x8e435246
shl dword [esp + 0xc], 0xc
imul eax, dword [esp + 0xc], 0x35
shl esi, cl
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 0xc], ecx
xor dword [esp + 0xc], 0xd874a010
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0xda3df0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0xda40f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0xda414c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00da3ce0
xor eax, 0x4d07de46
cmp eax, dword [esp + 0x10]
je 0xda4156
inc esi
cmp esi, dword [edi + 0x18]
jb 0xda4130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0xda4184
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0xda4184
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0xda4400
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0xda4426
cmp al, 0x2e
je 0xda4423
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0xda4413
jmp 0xda4426
mov byte [edx], 0
mov eax, dword [0xdadc34]
test eax, eax
jne 0xda444a
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0xba3f6171
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadc34], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0xda4491
mov eax, dword [0xdadd68]
test eax, eax
jne 0xda447b
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0x922c65aa
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadd68], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0xda4491
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00da3ce0
xor eax, 0x4d07de46
mov ecx, edi
mov edx, eax
call fcn.00da40f0
pop edi
pop esi
add esp, 0x104
ret
Function at 0xda46c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0xda485e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0xda485e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0xda485e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0xda485e
mov eax, dword [0xdadb70]
test eax, eax
jne 0xda472b
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0x74d6780c
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadb70], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0xda4855
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0xdadac0]
test eax, eax
jne 0xda478b
mov ecx, 0xad0f0712
call fcn.00da4190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadac0], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0xda480e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0xdadac0]
test eax, eax
jne 0xda47f6
mov ecx, 0xad0f0712
call fcn.00da4190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadac0], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0xda47b5
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.00da4990
mov edx, edi
mov ecx, ebx
call fcn.00da48a0
pop esi
test eax, eax
jne 0xda4855
mov eax, dword [0xdadcc0]
test eax, eax
jne 0xda4849
mov ecx, 0xf05fc174
call fcn.00da4190
mov edx, 0xb7f50111
mov ecx, eax
call fcn.00da40f0
mov dword [0xdadcc0], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x4010a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x810]
sub esp, 0x82c
mov dword [ebp - 0x80c], 0x800
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20019
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
je 0x401118
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
lea eax, [ebp - 0x80c]
mov dword [esp + 0xc], 0
lea esi, [ebp - 0x808]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.LastKey
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x4011b0
mov eax, dword [section..bss]
mov dword [esp], esi
add eax, 0x40
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x4011b0
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040d770
test eax, eax
je 0x4011b0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110b
mov dword [esp], ebx
call dword [0x4166fc]
sub esp, 0x10
jmp 0x4011fa
mov dword [esp + 0xc], 0
mov esi, dword [0x4166fc]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x110a
mov eax, dword [section..bss]
mov eax, dword [eax + 4]
mov dword [esp], eax
call esi
sub esp, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 0x1102
mov dword [esp], ebx
call esi
sub esp, 0x10
mov eax, dword [ebp - 0x810]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401430
Capabilities:
Get hostname

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, ecx
sub esp, 0x22c
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], 0
test edx, edx
je 0x401590
lea eax, [ebp - 0x228]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], esi
call fcn.0040c940
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x228]
test ebx, ebx
je 0x401550
test eax, eax
je 0x40151b
cmp eax, 0x80000000
je 0x401510
cmp eax, 0x80000001
je 0x4015f0
mov edx, dword [str.HKEY_LOCAL_MACHINE]
cmp eax, 0x80000002
je 0x4014e7
cmp eax, 0x80000003
je 0x4015c0
cmp eax, 0x80000005
je 0x4015e0
mov edx, str.Unknown_HKEY._Please_report.
cmp eax, 0x80000006
je 0x401580
mov dword [ebp - 0x21c], edx
test ebx, ebx
jne 0x40151b
lea eax, [ebp - 0x220]
call fcn.004012f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [str.HKEY_CLASSES_ROOT]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x218]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetComputerNameW]
mov dword [ebp - 0x220], ebx
sub esp, 8
jmp 0x4014f1
test eax, eax
je 0x4014fc
cmp eax, 0x80000000
je 0x4015d0
cmp eax, 0x80000001
jne 0x4014b4
mov eax, dword [str.HKEY_CURRENT_USER]
mov dword [ebp - 0x21c], eax
jmp 0x4014f1
mov edx, dword [str.HKEY_DYN_DATA]
jmp 0x4014e7
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call dword [0x4166fc]
sub esp, 0x10
mov edx, eax
jmp 0x401471
mov edx, dword [str.HKEY_USERS]
jmp 0x4014e7
mov eax, dword [str.HKEY_CLASSES_ROOT]
mov dword [ebp - 0x21c], eax
jmp 0x4014f1
mov edx, dword [str.HKEY_CURRENT_CONFIG]
jmp 0x4014e7
mov eax, dword [str.HKEY_CURRENT_USER]
mov dword [ebp - 0x21c], eax
jmp 0x40151b
Function at 0x402b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [edx + 0x10]
push ebx
lea esi, [edx + 8]
mov ebx, edx
sub esp, 0x24
mov dword [ebp - 0x14], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [edx + 4]
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
call eax
sub esp, 0x18
test eax, eax
je 0x402bc0
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], 0
cmp eax, 2
je 0x402b90
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x8045
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00402730
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [ebx + 0xc], 0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test ecx, ecx
jne 0x402b58
mov dword [ebx + 8], 1
mov dword [ebx + 0x10], 2
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll_malloc]
xor ecx, ecx
mov dword [ebx + 0xc], eax
mov word [eax], cx
jmp 0x402c0b
mov eax, dword [ebx + 0x10]
add eax, 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [ebp - 0x18]
call eax
sub esp, 0x18
test eax, eax
jne 0x402c30
mov eax, dword [ebx + 0x10]
test al, 1
je 0x402c20
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0xc], eax
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
and eax, 0xfffffffe
xor edx, edx
mov word [ecx + eax], dx
jmp 0x402c05
mov ecx, dword [ebx + 4]
jmp 0x402b58

Function at 0x4037d0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x10]
push ebx
sub esp, 0x18
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x2001b
mov dword [esp + 8], 0
mov dword [esp], edi
mov dword [esp + 4], esi
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x403870
mov ebx, eax
mov dword [esp + 0xc], 0x8150
mov dword [esp + 8], 0x814f
mov dword [esp + 4], 0x34
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00403430
cmp eax, 6
je 0x403850
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.shcore.dll_SHDeleteKeyW]
sub esp, 8
test eax, eax
jne 0x403890
mov ebx, 1
jmp 0x403834
mov dword [esp + 4], 0x7df
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp], eax
call fcn.00402730
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], esi
mov dword [esp + 4], 0x805e
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402730
jmp 0x403834
Function at 0x4038b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
lea eax, [ebp - 8]
sub esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], 0x2001b
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x4038f8
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
sub esp, 8
test eax, eax
je 0x40391b
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x403940
xor ebx, ebx
test eax, eax
sete bl
mov eax, dword [ebp - 8]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
mov ebx, dword [ebp - 4]
sub esp, 4
leave
ret
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0x8045
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402730
jmp 0x403922
Function at 0x403960
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff8
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x270
mov eax, dword [ecx]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x268], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x264], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x2001b
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
mov dword [ebp - 0x260], eax
test eax, eax
jne 0x403b90
mov dword [esp], 0
lea esi, [ebp - 0x210]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 0x805d
mov dword [esp], eax
call dword [0x4166c0]
sub esp, 0x10
test eax, eax
je 0x403b4d
mov edi, 1
jmp 0x403a34
add edi, 1
cmp edi, 0x64
je 0x403b78
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [0x416748]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
cmp eax, 2
jne 0x403a28
mov eax, dword [ebp - 0x264]
mov esi, 2
sub eax, 3
cmp eax, 8
jbe 0x403bb8
lea edi, [ebp - 0x258]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov eax, dword [ebp - 0x264]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
jne 0x403b78
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x264]
mov dword [esp + 4], ebx
mov ebx, 3
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00407fc0
mov ecx, 3
mov dword [ebp - 0x240], ebx
lea edx, [ebp - 0x250]
mov dword [ebp - 0x244], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x102b
mov eax, dword [section..bss]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [0x4166fc]
mov dword [ebp - 0x260], 1
sub esp, 0x10
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x260]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp + 4], 0x7dc
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.00402730
jmp 0x403b4d
mov dword [esp + 4], 0x7dc
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call fcn.00402730
mov dword [ebp - 0x260], 0
jmp 0x403b5f
mov esi, dword [eax*4 + 0x412240]
jmp 0x403a97
Function at 0x403bd0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x403cb3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x403cb3
lea edi, [ebp - 0x20]
mov dword [esp + 0xc], 0x2001b
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
sub esp, 0x14
mov ebx, eax
test eax, eax
jne 0x403ca0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
mov eax, dword [ebp + 0x14]
je 0x403d20
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, edi
call fcn.00402b00
test eax, eax
jne 0x403cc0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x7e1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402730
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
jne 0x403d4f
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
sub esp, 8
test eax, eax
jne 0x403d40
mov ebx, 1
jmp 0x403c71
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7de
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402730
jmp 0x403c71
mov dword [esp + 4], esi
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0x7e1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00402730
jmp 0x403c71