joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b4aa8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb8], 0
je 0x5b4b05
cmp byte [ebx + 0xdf], 0
jne 0x5b4b05
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x180]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00408ffc
mov eax, dword [esi]
test eax, eax
je 0x5b4af2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b4b12
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00409254
jmp 0x5b4b12
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00409254
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b6340
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x90]
test esi, esi
je 0x5b63b1
mov eax, esi
call fcn.0050dfd0
test al, al
je 0x5b63b1
mov eax, dword [ebx + 0x90]
call fcn.0050dc1c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b63b1
mov eax, dword [ebx + 0x90]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5b63a2
push 0
mov eax, dword [ebx + 0x90]
call fcn.0050dc1c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.00504cd8
jmp 0x5b63b1
mov cl, 1
mov edx, dword [ebx + 0x80]
mov eax, ebx
call fcn.005b6174
pop esi
pop ebx
ret
Function at 0x5f3724
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6888c0], 0
jne 0x5f373b
call fcn.005f36e0
mov eax, edi
dec eax
test eax, eax
jl 0x5f3763
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6884c0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5f3745
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x5f63c4
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.0x5f645e.0
jmp dword [ecx*4 + 0x5f63f7]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f6429
sub dl, 8
je 0x5f6438
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6090
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f60e4
jmp case.0x5f645e.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5f645e.0
movzx ecx, byte [ecx + 0x5f6465]
jmp dword [ecx*4 + 0x5f6476]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6184
jmp case.0x5f645e.0
cmp dl, 3
jne 0x5f64a3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f61dc
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6198
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6220
jmp case.0x5f645e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f64ce
sub dl, 8
je 0x5f64da
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f624c
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f62b0
jmp case.0x5f645e.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5f64f9
sub dl, 8
je 0x5f6505
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6360
jmp case.0x5f645e.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5f6388
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 0x5f65a7
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.005f55cc
test eax, eax
je 0x5f65a7
mov eax, ebx
call fcn.005f65b0
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 0x5f6540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5f65b0
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 0x5f65e1
dec al
je 0x5f661c
dec al
je 0x5f6661
dec al
je 0x5f66ca
jmp 0x5f6754
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5f6754
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 0x5f65f1
jmp 0x5f6754
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f6754
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 0x5f662c
jmp 0x5f6754
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f6754
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 0x5f6690
xor ebp, ebp
jmp 0x5f66a0
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 0x5f66a9
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 0x5f6671
jmp 0x5f6754
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5f6754
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 0x5f6723
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.005f376c
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 0x5f66de
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5fdc0c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5fdc3a
mov eax, ebx
call fcn.005fe6c8
cmp dword [ebx + 0x40], 0
je 0x5fdc33
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5fdcab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5fdc9d
cmp dword [ebx + 8], 0
je 0x5fdc5c
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 0x5fdc6e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5fdc9d
cmp dword [ebx + 8], 0
je 0x5fdc4f
cmp eax, 3
je 0x5fdc81
dec eax
jne 0x5fdc4f
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 0x5fdc4f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5fdc4f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5fdcc9
cmp dword [ebx + 0x14], 0xcc
je 0x5fdcc9
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.005fdcd4
pop ebx
ret

Function at 0x614f68
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 0x614fb9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x614fa0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x614f90
jmp 0x614fb9
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 0x614fa1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x625ed4
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.00406d90
ret

Function at 0x6274bc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408f58
xor eax, eax
push ebp
push 0x627502
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
mov eax, dword [ebp - 4]
call fcn.00409cdc
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x627509
lea eax, [ebp - 4]
call fcn.00408e74
ret
Function at 0x62b358
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.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62b3f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x62b392
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x62b3b1
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x62b3b1
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a100
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x62b3bd
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 8]
call fcn.00409cdc
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00409cdc
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 0x62b3fc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret

Function at 0x62b8c0
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.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62b959
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.0062b404
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x62b93e
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.00409cdc
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 0x62b960
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret
Function at 0x62b9e0
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.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x62ba0a
xor edx, edx
mov dword [eax], edx
xor eax, eax
push ebp
push 0x62bb7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
call fcn.00408e74
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.0062b404
test eax, eax
jne 0x62bb4e
xor edx, edx
push ebp
push 0x62bb47
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.00409cdc
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62bb19
movzx eax, word [0x62bb90]
cmp byte [ebp + 0x14], 0
je 0x62ba9a
movzx eax, word [0x62bb94]
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
ja 0x62baa5
bt eax, edx
jb 0x62bab2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b148
mov edx, dword [ebp - 0x18]
shr edx, 1
inc edx
mov eax, dword [ebp + 0x10]
call fcn.00409e70
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x10]
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
mov ebx, eax
test ebx, ebx
jne 0x62baed
mov edx, dword [ebp - 0x18]
shr edx, 1
mov eax, dword [ebp + 0x10]
call fcn.00409e70
jmp 0x62baf5
mov eax, dword [ebp + 0x10]
call fcn.00408e74
test ebx, ebx
je 0x62bb30
cmp byte [ebp + 0xc], 0
je 0x62bb0c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b07c
jmp 0x62bb30
mov byte [ebp - 9], 0
mov dword [ebp - 0x18], 1
jmp 0x62bb30
cmp byte [ebp + 0xc], 0
je 0x62bb2c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b07c
jmp 0x62bb30
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62bb62
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [ebp + 0xc], 0
je 0x62bb5e
mov eax, dword [ebp - 4]
call fcn.0062b214
jmp 0x62bb62
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62bb84
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret
Function at 0x62bb98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
call fcn.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62bce7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 1
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [edi], eax
push 0x20019
lea eax, [ebp - 0x14]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.0062b404
test eax, eax
jne 0x62bcba
xor eax, eax
push ebp
push 0x62bcb3
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
push 0
push esi
push 0
mov eax, dword [ebp - 8]
call fcn.00409cdc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62bc87
mov eax, dword [esi]
cmp eax, 0xf
ja 0x62bc33
bt word [ebp + 0x1c], ax
jae 0x62bc3c
mov eax, dword [edi]
cmp eax, dword [ebp + 0x18]
jbe 0x62bc51
test bl, bl
je 0x62bc4d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b148
jmp 0x62bc51
mov byte [ebp - 0xd], 0
push edi
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00409cdc
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x62bc9c
test bl, bl
je 0x62bc81
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b07c
jmp 0x62bc9c
mov byte [ebp - 0xd], 0
jmp 0x62bc9c
test bl, bl
je 0x62bc98
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b07c
jmp 0x62bc9c
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62bccc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
test bl, bl
je 0x62bcc8
mov eax, dword [ebp - 4]
call fcn.0062b214
jmp 0x62bccc
mov byte [ebp - 0xd], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62bcee
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret
Function at 0x62bf9c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62c07a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0062b4c4
test al, al
jne 0x62bfe3
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0062b358
push 0x20006
lea eax, [ebp - 0xc]
push eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0062b404
test eax, eax
jne 0x62c057
xor eax, eax
push ebp
push 0x62c050
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
movzx eax, byte [ebp + 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00409cdc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x62c039
mov eax, dword [ebp - 4]
call fcn.0062b2b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c05f
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.0062b2b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c081
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret

Function at 0x62c1f4
Capabilities:
Query or enumerate registry value

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 0x62c269
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.00409e70
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00409cdc
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00409d44
lea eax, [ebp - 4]
call fcn.00408e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c270
lea eax, [ebp - 4]
call fcn.00408e74
ret

Function at 0x62c278
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 0x62c2ed
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.00409e70
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push ebx
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.00409cdc
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00409d44
lea eax, [ebp - 4]
call fcn.00408e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c2f4
lea eax, [ebp - 4]
call fcn.00408e74
ret
Function at 0x62c604
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.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62c6a0
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.0062b404
test eax, eax
jne 0x62c67d
mov eax, dword [ebp - 8]
call fcn.00409cdc
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
test bl, bl
jne 0x62c685
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0062b07c
jmp 0x62c685
mov eax, dword [ebp - 4]
call fcn.0062b2b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62c6a7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret

Function at 0x62c95c
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.00408f58
mov eax, dword [ebp - 8]
call fcn.00408f58
xor eax, eax
push ebp
push 0x62ca51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00408e74
cmp dword [ebp - 4], 0
je 0x62c9b5
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x62c9b5
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040a100
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00409cdc
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x62ca36
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00409cdc
mov esi, eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x62ca2d
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00409e70
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx]
call fcn.00409cdc
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.00409cdc
mov edx, eax
mov eax, ebx
call fcn.00409d44
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 0x62ca58
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408ed4
ret