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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x68d8c0], 0
jne 0x5f207f
call fcn.005f2024
mov eax, edi
dec eax
test eax, eax
jl 0x5f20a7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x68d4c0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5f2089
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x5f4d08
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5f4da2.0
jmp dword [ecx*4 + 0x5f4d3b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4d6d
sub dl, 8
je 0x5f4d7c
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f49d4
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4a28
jmp case.0x5f4da2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5f4da2.0
movzx ecx, byte [ecx + 0x5f4da9]
jmp dword [ecx*4 + 0x5f4dba]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4ac8
jmp case.0x5f4da2.0
cmp dl, 3
jne 0x5f4de7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4b20
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4adc
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4b64
jmp case.0x5f4da2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4e12
sub dl, 8
je 0x5f4e1e
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4b90
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4bf4
jmp case.0x5f4da2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f4e3d
sub dl, 8
je 0x5f4e49
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4ca4
jmp case.0x5f4da2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f4ccc
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5f4eeb
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005f3f10
test eax, eax
je 0x5f4eeb
mov eax, ebx
call fcn.005f4ef4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5f4e84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f4ef4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5f4f25
dec al
je 0x5f4f60
dec al
je 0x5f4fa5
dec al
je 0x5f500e
jmp 0x5f5098
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5f5098
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f4f35
jmp 0x5f5098
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f5098
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5f4f70
jmp 0x5f5098
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f5098
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5f4fd4
xor ebp, ebp
jmp 0x5f4fe4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5f4fed
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f4fb5
jmp 0x5f5098
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f5098
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5f5067
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005f20b0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5f5022
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5fc550
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5fc57e
mov eax, ebx
call fcn.005fd00c
cmp dword [ebx + 0x40], 0
je 0x5fc577
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5fc5ef
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5fc5e1
cmp dword [ebx + 8], 0
je 0x5fc5a0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5fc5b2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5fc5e1
cmp dword [ebx + 8], 0
je 0x5fc593
cmp eax, 3
je 0x5fc5c5
dec eax
jne 0x5fc593
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5fc593
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5fc593
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5fc60d
cmp dword [ebx + 0x14], 0xcc
je 0x5fc60d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005fc618
pop ebx
ret

Function at 0x6138ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x6138fd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x6138e4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x6138d4
jmp 0x6138fd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x6138e5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x624818
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004053b0
ret

Function at 0x625e4c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407578
xor eax, eax
push ebp
push 0x625e92
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625e99
lea eax, [ebp - 4]
call fcn.00407494
ret
Function at 0x629f4c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x629fe9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x629f86
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x629fa5
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x629fa5
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408720
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x629fb1
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
push esi
call sub.advapi32.dll_RegSetValueW
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629ff0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret

Function at 0x62a0b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62a14c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x20019
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00629ff8
test eax, eax
jne 0x62a131
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62a128
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a153
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret
Function at 0x62a250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62a3aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebx], eax
xor eax, eax
mov dword [esi], eax
push 0x20019
lea eax, [ebp - 0x10]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00629ff8
test eax, eax
jne 0x62a387
xor eax, eax
push ebp
push 0x62a380
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
mov edi, eax
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62a369
mov eax, dword [ebx]
cmp eax, 0xf
ja 0x62a2f1
bt word [ebp + 0x18], ax
jb 0x62a302
mov ecx, dword [ebx]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062a15c
jmp 0x62a369
mov eax, dword [esi]
cmp eax, dword [ebp + 0x14]
jbe 0x62a350
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x34]
mov ecx, 3
mov eax, 0x62a3cc
call fcn.0041dee8
mov eax, dword [ebp - 0x14]
call fcn.006306d4
jmp 0x62a369
push esi
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
push edi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a387
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a3b1
lea eax, [ebp - 0x14]
call fcn.00407494
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret
Function at 0x62a470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x62a49a
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x62a5cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x20019
lea eax, [ebp - 0x10]
push eax
movzx eax, byte [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00629ff8
test eax, eax
jne 0x62a5b0
xor edx, edx
push ebp
push 0x62a5a9
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62a592
movzx eax, word [0x62a5e0]
cmp byte [ebp + 0x10], 0
je 0x62a522
movzx eax, word [0x62a5e4]
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
ja 0x62a52d
bt eax, edx
jb 0x62a54d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062a15c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
call fcn.00406c50
jmp 0x62a5b0
mov edx, dword [ebp - 0x18]
shr edx, 1
inc edx
mov eax, dword [ebp + 0xc]
call fcn.00408490
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62a58a
mov edx, dword [ebp - 0x18]
shr edx, 1
mov eax, dword [ebp + 0xc]
call fcn.00408490
mov byte [ebp - 9], 1
jmp 0x62a592
mov eax, dword [ebp + 0xc]
call fcn.00407494
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a5b0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a5d2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret

Function at 0x62a65c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62a6ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x20019
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00629ff8
test eax, eax
jne 0x62a6cf
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a6f1
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret
Function at 0x62a87c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62a915
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi], eax
push 0x20019
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00629ff8
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x62a8fa
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62a91c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret

Function at 0x62ab38
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62ac91
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0062a5e8
test al, al
jne 0x62ab8f
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00629f4c
push 0x20006
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00629ff8
test eax, eax
je 0x62abd4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, 0x62acb0
call fcn.0041dee8
mov eax, dword [ebp - 0x10]
call fcn.006306d4
jmp 0x62ac66
xor eax, eax
push ebp
push 0x62ac5f
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x62abeb
xor eax, eax
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
push eax
push esi
movzx eax, bl
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x62ac48
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
movzx eax, bl
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x62ad1c
call fcn.0041dee8
mov eax, dword [ebp - 0x1c]
call fcn.006306d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ac66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ac98
lea eax, [ebp - 0x1c]
call fcn.00407494
lea eax, [ebp - 0x10]
call fcn.00407494
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret
Function at 0x62af04
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62af76
push dword fs:[eax]
mov dword fs:[eax], esp
inc ecx
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408490
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
push esi
push ebx
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004082fc
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00408364
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62af7d
lea eax, [ebp - 4]
call fcn.00407494
ret

Function at 0x62b2b8
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62b33b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 2
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00629ff8
test eax, eax
jne 0x62b320
mov eax, dword [ebp - 8]
call fcn.004082fc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegDeleteValueW
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b342
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret

Function at 0x62b7e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00407578
mov eax, dword [ebp - 8]
call fcn.00407578
xor eax, eax
push ebp
push 0x62b8d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00407494
cmp dword [ebp - 4], 0
je 0x62b83d
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x62b83d
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00408720
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.004082fc
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x62b8be
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004082fc
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62b8b5
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00408490
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.004082fc
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [ebx]
call fcn.004082fc
mov edx, eax
mov eax, ebx
call fcn.00408364
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b8e0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004074f4
ret