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

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x498e95
push edi
push 0
push ebp
call fcn.00505530
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebp
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x20]
push eax
call fcn.00498bd0
test al, al
jne 0x498f50
cmp dword [esp + 0x14], 0
push ebx
jne 0x498f10
cmp dword [esi + 0x24], edi
je 0x498ee5
push dword [esi + 0x20]
call fcn.005030dd
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005030d4
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor ebx, ebx
test edi, edi
je 0x498f10
mov ebp, dword [esp + 0x1c]
nop
movzx edx, word [ebx + ebp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx + ebx*4], eax
add ebx, 2
cmp ebx, edi
jb 0x498ef0
mov ebp, dword [esp + 0x20]
jmp 0x498f10
mov ecx, dword [esi + 0xc]
xor edx, edx
imul ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 4]
mov ebx, dword [eax + ecx*4]
test edi, edi
je 0x498f49
mov edi, edi
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi]
add ecx, ebx
mov ax, word [eax + ecx*4]
xor word [edx + ebp], ax
add edx, 2
cmp edx, edi
jb 0x498f30
pop ebx
lea ebx, [ebx]
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x499e60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1004
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
push esi
mov esi, dword [esp + 0x1010]
mov ebx, ecx
cmp byte [esi], 0
je 0x499f59
push ebp
push edi
lea edi, [ebx + 0x101e]
push edi
call fcn.00485280
mov ebp, eax
cmp ebp, edi
jbe 0x499ec5
xor eax, eax
push edi
mov word [ebp - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [ebp - 2], cx
cmp eax, 0xffffffff
je 0x499ec5
test eax, 0x400
je 0x499ec5
mov byte [esi], 0
push str.System_Volume_Information_
push edi
call fcn.00505b13
add esp, 8
test eax, eax
jne 0x499ef4
cmp byte [esi], al
je 0x499f57
mov ecx, dword [ebx + 0x40f0]
test ecx, ecx
je 0x499ef9
push 1
push 1
push eax
push edi
call fcn.004663f0
test al, al
je 0x499ef9
mov byte [esi], 0
jmp 0x499f57
cmp byte [esi], 0
je 0x499f57
mov ecx, dword [ebx + 0x30e0]
test ecx, ecx
je 0x499f0e
push edi
call fcn.0049cf80
mov ebp, dword [ebx + 0x30e4]
test ebp, ebp
je 0x499f31
mov esi, dword [ebx + 0x30ec]
mov ecx, ebp
push 1
call fcn.004ac1b0
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [eax + ecx*4 - 4], esi
push 0x800
lea eax, [esp + 0x14]
push eax
push edi
call fcn.00483740
lea eax, [esp + 0x10]
push eax
push 0x57
call fcn.00451e30
mov ecx, 0x58c304
call fcn.0046df00
pop edi
pop ebp
mov ecx, dword [esp + 0x1008]
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret 4
Function at 0x49a210
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp], eax
push ebp
push esi
push edi
mov edi, dword [0x593980]
test edi, edi
jne 0x49a292
cmp byte [0x59397c], 0
jne 0x49a292
push str.Crypt32.dll
call fcn.0049d9a0
mov dword [0x593978], eax
test eax, eax
je 0x49a27d
push str.CryptProtectMemory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptUnprotectMemory
push dword [0x593978]
mov dword [0x593980], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [0x593980]
mov esi, eax
mov dword [0x593984], esi
mov byte [0x59397c], 1
jmp 0x49a298
mov esi, dword [0x593984]
mov edi, dword [0x593980]
mov byte [0x59397c], 1
jmp 0x49a298
mov esi, dword [0x593984]
mov ebp, dword [esp + 0x18]
xor ecx, ecx
mov eax, ebp
and eax, 0xfffffff0
cmp byte [esp + 0x20], cl
setne cl
cmp byte [esp + 0x1c], 0
je 0x49a302
test edi, edi
je 0x49a321
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, edi
call dword [0x523720]
call edi
test eax, eax
jne 0x49a345
push str.CryptProtectMemory_failed
push 0x58c304
call fcn.0046dae0
add esp, 8
mov ecx, 0x58c304
call fcn.0046df00
push 2
mov ecx, 0x58c304
call fcn.0046daa0
pop edi
pop esi
pop ebp
mov ecx, dword [esp]
xor ecx, esp
call fcn.00502f8e
pop ecx
ret 0x10
test esi, esi
je 0x49a321
push ecx
push eax
push dword [esp + 0x1c]
mov ecx, esi
call dword [0x523720]
call esi
test eax, eax
jne 0x49a345
push str.CryptUnprotectMemory_failed
jmp 0x49a2ce
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ebx, eax
test ebp, ebp
je 0x49a344
mov esi, dword [esp + 0x18]
add bl, 0x4b
lea ecx, [edx + esi]
lea eax, [edx + ebx]
inc edx
xor byte [ecx], al
cmp edx, ebp
jb 0x49a337
pop ebx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00502f8e
pop ecx
ret 0x10
Function at 0x49ba10
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x4c
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x5c]
push edi
mov dword [esp + 0x14], eax
mov ebx, dword [esi + 0x18]
mov ebp, dword [esi + 0x18]
and ebx, 0x3f
mov edi, dword [esi + 0x1c]
shld edi, ebp, 3
mov byte [esi + ebx + 0x20], 0x80
inc ebx
shl ebp, 3
mov dword [esp + 0x10], edi
cmp ebx, 0x38
je 0x49baa8
jbe 0x49ba7b
cmp ebx, 0x40
jae 0x49ba77
mov ecx, 0x40
lea edi, [esi + 0x20]
sub ecx, ebx
add edi, ebx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
xor ebx, ebx
jmp 0x49ba7f
test ebx, ebx
jne 0x49ba90
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0049a8f0
mov eax, 0x38
sub eax, ebx
push eax
lea eax, [esi + 0x20]
add eax, ebx
push 0
push eax
call fcn.00505530
add esp, 0xc
push 1
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
bswap edi
bswap ebp
push esi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ebp
call fcn.0049a8f0
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x4c
ret 8

Function at 0x49bb30
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4
Function at 0x49bd80
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov esi, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x20]
and esi, 0x3f
mov edi, dword [ebx + 0x24]
shld edi, ebp, 3
mov byte [esi + ebx + 0x28], 0x80
inc esi
shl ebp, 3
mov dword [esp + 0x10], edi
cmp esi, 0x38
je 0x49bdf8
jbe 0x49bdd6
cmp esi, 0x40
jae 0x49bdd2
mov ecx, 0x40
lea edi, [ebx + 0x28]
sub ecx, esi
add edi, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
xor esi, esi
jmp 0x49bdda
test esi, esi
jne 0x49bde0
push ebx
call fcn.0049c120
mov eax, 0x38
sub eax, esi
push eax
lea eax, [ebx + 0x28]
add eax, esi
push 0
push eax
call fcn.00505530
add esp, 0xc
bswap edi
bswap ebp
push ebx
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], ebp
call fcn.0049c120
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
bswap eax
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [ebx + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [ebx + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [ebx + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x1c]
bswap eax
mov dword [ecx + 0x1c], eax
mov dword [ebx], 0x6a09e667
mov dword [ebx + 4], 0xbb67ae85
mov dword [ebx + 8], 0x3c6ef372
mov dword [ebx + 0xc], 0xa54ff53a
mov dword [ebx + 0x10], 0x510e527f
mov dword [ebx + 0x14], 0x9b05688c
mov dword [ebx + 0x18], 0x1f83d9ab
mov dword [ebx + 0x1c], 0x5be0cd19
pop ebp
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
pop ebx
pop ecx
ret 8

Function at 0x49bea0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
ret 4
Function at 0x49c120
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x124
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov ebx, dword [esp + 0x12c]
xor ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x30], eax
inc ecx
cmp ecx, 0x10
jb 0x49c148
lea eax, [esp + 0x68]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x49c162
mov eax, dword [ebx]
mov ebp, eax
mov edi, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
xor ebx, ebx
mov dword [esp + 0x20], eax
jmp 0x49c1d6
mov edx, dword [esp + 0x24]
mov esi, edi
mov dword [esp + 0x24], edi
ror esi, 0xb
mov eax, edi
rol eax, 7
mov ecx, edi
xor esi, eax
not ecx
and ecx, dword [esp + 0x18]
mov eax, edi
ror eax, 6
xor esi, eax
mov eax, edx
and eax, edi
mov edi, dword [esp + 0x1c]
xor ecx, eax
mov eax, dword [esp + 0x18]
add esi, ecx
mov dword [esp + 0x18], edx
add esi, dword [ebx + 0x533098]
mov edx, ebp
add esi, dword [esp + ebx + 0x30]
add ebx, 4
add esi, dword [esp + 0x20]
mov dword [esp + 0x20], eax
add edi, esi
ror edx, 0xd
mov eax, ebp
rol eax, 0xa
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x14]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ebp, [edx + esi]
cmp ebx, 0x100
jb 0x49c1d2
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, ebp
add dword [ebx + 0x10], edi
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x130]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
add dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0xc], eax
mov eax, dword [esp + 0x24]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
add dword [ebx + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x124
ret 4
Function at 0x49d910
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x30]
mov word [esp + 0x34], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [esp], ecx
test ecx, ecx
je 0x49d980
lea eax, [esp]
push eax
push dword [esp + 8]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [esp + 4]
neg eax
sbb eax, eax
and dword [esp + 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.00502f8e
add esp, 0x14
ret

Function at 0x49d9a0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x100c]
lea eax, [esp + 4]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x49d9ec
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret 4
push 0x800
lea eax, [esp + 8]
push eax
push esi
push eax
call fcn.00484d90
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x1004]
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x1004
ret 4

Function at 0x49db20
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x14], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x49db7e
lea eax, [esp + 8]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x49db90
push SysReAllocString
push 5
jmp 0x49dbde
cmp eax, 3
jne 0x49dbb1
push 0
push 0
push 0
call sub.POWRPROF.dll_SetSuspendState
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00502f8e
add esp, 0x18
ret 4
cmp eax, 2
jne 0x49dbd2
push 0
push 0
push 1
call sub.POWRPROF.dll_SetSuspendState
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00502f8e
add esp, 0x18
ret 4
cmp eax, 4
jne 0x49dbe4
push SysReAllocString
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00502f8e
add esp, 0x18
ret 4
Function at 0x49df00
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x49df7c
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x49dfd0
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x49df58
push str.CreateThread_failed
push 0x58c304
call fcn.0046dae0
add esp, 8
mov ecx, 0x58c304
call fcn.0046df00
push 2
mov ecx, 0x58c304
call fcn.0046daa0
mov dword [edi], ebp
inc dword [esi + 0x104]
mov eax, dword [0x59799c]
test eax, eax
je 0x49df72
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x49df10
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret
Function at 0x4ada60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
mov ebx, dword [esp + 0x5ac]
push edi
mov edi, dword [esp + 0x5b4]
call fcn.00477ef0
test eax, eax
jne 0x4ada9d
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4adb91
push esi
mov edi, edi
cmp word [edi], 0
mov dword [0x5997f8], 0
je 0x4adb90
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4adb83
xor esi, esi
mov dword [esp + 0xc], 0xc8
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4adb5b
jmp 0x4adb00
lea eax, [esp + 0x1c]
push eax
push edi
push 0x533474
lea eax, [esp + 0x1b8]
push 0x200
push eax
call fcn.004027c0
add esp, 0x14
lea eax, [esp + 0x1ac]
push eax
push ebx
call fcn.004adda0
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0xc8
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1c]
inc esi
push eax
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4adb00
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4adb6a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4adb83
mov eax, dword [0x5997f8]
inc eax
mov dword [0x5997f8], eax
jmp 0x4adb88
mov eax, dword [0x5997f8]
test eax, eax
jne 0x4adaa0
pop esi
mov ecx, dword [esp + 0x5a8]
pop edi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x5a4
ret 8
Function at 0x4adda0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x5a4
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x5a0], eax
push ebx
mov ebx, dword [esp + 0x5ac]
push esi
mov esi, dword [esp + 0x5b4]
cmp word [esi], 0
je 0x4ade93
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ade93
push edi
xor edi, edi
mov dword [esp + 0xc], 0xc8
lea eax, [esp + 0x14]
push eax
push edi
push edi
push edi
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4ade71
lea eax, [esp + 0x1c]
push eax
push esi
push 0x533474
lea eax, [esp + 0x1b8]
push 0x200
push eax
call fcn.004027c0
add esp, 0x14
lea eax, [esp + 0x1ac]
push eax
push ebx
call fcn.004adda0
lea eax, [esp + 0x14]
mov dword [esp + 0xc], 0xc8
push eax
push 0
push 0
push 0
lea eax, [esp + 0x1c]
inc edi
push eax
lea eax, [esp + 0x30]
push eax
push edi
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4ade16
mov eax, dword [esp + 0x10]
pop edi
test eax, eax
je 0x4ade81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4ade93
inc dword [0x5997f8]
mov ecx, dword [esp + 0x5a8]
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x5a4
ret 8

Function at 0x4adeb0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push edi
mov edi, dword [esp + 0x414]
push 0x52452c
push edi
push esi
call fcn.004ac580
test al, al
jne 0x4adf05
push 0x200
lea eax, [esp + 0xc]
push eax
push edi
push esi
call fcn.004aebb0
test al, al
je 0x4adf05
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x404
ret 8

Function at 0x4adf20
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x404
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push 0x52452c
push esi
push SysReAllocString
call fcn.004ac580
test al, al
jne 0x4adfa5
movzx eax, word [esi]
cmp eax, 0x5c
je 0x4adf82
test ax, ax
mov eax, 0x5244d8
jne 0x4adf67
mov eax, 0x52452c
push esi
push eax
push str.SoftwareWinRAR_s_s
lea eax, [esp + 0x10]
push 0x200
push eax
call fcn.004027c0
add esp, 0x14
jmp 0x4adf95
push 0x200
lea eax, [esi + 2]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0049ce90
lea eax, [esp + 4]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
call fcn.00502f8e
add esp, 0x404
ret 4
Function at 0x4adfc0
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x408
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x414]
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x420]
push edi
push ebx
push esi
call fcn.004ac580
test al, al
jne 0x4ae043
push 0x200
lea eax, [esp + 0x14]
push eax
push ebx
push esi
call fcn.004aebb0
test al, al
je 0x4ae043
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ae043
push edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4ae043
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x408
ret 0xc

Function at 0x4ae320
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 8]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x30]
push eax
push esi
push edi
push dword [esp + 0x38]
push ebx
push ebp
call fcn.004acca0
test al, al
je 0x4ae35f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
push ebx
push ebp
call fcn.004aec30
mov ebp, eax
mov dword [esp + 0x10], 8
test ebp, ebp
je 0x4ae3af
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x3c]
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebp
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4ae3af
cmp dword [esp + 0x10], 0
je 0x4ae3af
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, edi
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x4ae3e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x28]
push eax
mov eax, esi
cdq
push edx
push eax
push dword [esp + 0x38]
push edi
push ebx
call fcn.004acca0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
test al, al
je 0x4ae41e
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x14
ret 0x10
push edi
push ebx
call fcn.004aec30
mov edi, eax
mov dword [esp + 0xc], 4
test edi, edi
je 0x4ae46a
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push dword [esp + 0x3c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push edi
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4ae46a
cmp dword [esp + 0xc], 0
je 0x4ae46a
mov esi, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x14
ret 0x10