joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9ec
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov byte [ebp - 4], 1
push 0
push 0x1a
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00409100
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004136d0
mov eax, dword [ebp - 0x14]
push eax
push str._sESTSoftCooperation
lea ecx, [ebp - 0x10]
push ecx
call fcn.004098b0
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x486e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ab80
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x488
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x490]
call fcn.00487c50
mov dword [ebp - 4], 0
push 0x400
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0056f420
add esp, 0xc
push 0x5afe04
mov ecx, dword [ebp + 8]
push ecx
call fcn.005713d6
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x486f68
mov edx, dword [ebp - 0x18]
push edx
push 0x400
push 1
lea eax, [ebp - 0x420]
push eax
call fcn.00577e06
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x486f23
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x490]
call fcn.00486ff0
jmp 0x486ee8
lea ecx, [ebp - 0x490]
call fcn.004870f0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00571296
add esp, 4
lea ecx, [ebp - 0x490]
call fcn.00487c70
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp - 0x494]
push ecx
call fcn.00486d70
add esp, 4
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x498]
jmp 0x486f80
jmp 0x486f77
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret

Function at 0x486fa0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 8
push 0
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
call fcn.0056f420
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ecx], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x487f00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x61ca48], 0
je 0x487f11
xor eax, eax
jmp 0x487f55
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x487f35
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x487f39
xor eax, eax
jmp 0x487f55
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x61ca4c
call fcn.00409090
mov edx, dword [ebp - 4]
mov dword [0x61ca48], edx
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x489120
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0x5aff2c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x28], 0
jne 0x48914a
xor al, al
jmp 0x489297
push 0x5aff3c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x489183
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], 2
xor al, al
jmp 0x489297
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x10], eax
push 0x5aff58
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4891c5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], 2
xor al, al
jmp 0x489297
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x14], ecx
push 0x5aff68
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x489207
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], 2
xor al, al
jmp 0x489297
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x18], edx
push 0x5aff78
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x489246
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], 2
xor al, al
jmp 0x489297
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push str.Module32Next
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x489285
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], 2
xor al, al
jmp 0x489297
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 8]
mov byte [edx + 0x2d], 1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x492c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd0e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0x20019
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x492c6e
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], eax
lea edx, [ebp + 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00408fd0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
jne 0x492d05
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00409100
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x104
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
lea ecx, [ebp + 0x14]
call fcn.004090f0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004136d0
cmp dword [ebp - 0x1c], 0
je 0x492cfb
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00409070
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408fd0
mov ecx, dword [ebp - 0x2c]
or ecx, 1
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00408330
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.00408330
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x492d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0x20019
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x492d81
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0x14]
mov dword [ebp - 8], edx
cmp dword [ebp - 0x10], 0
jne 0x492df6
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x492de6
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
jmp 0x492dec
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x492e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x492e4b
push 0x5b0acb
lea eax, [ebp + 0xc]
push eax
call fcn.00408250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x492e71
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
lea ecx, [ebp + 0x14]
call fcn.00408330
mov eax, dword [ebp - 0x18]
jmp 0x492f7c
mov dword [ebp - 4], 0xf003f
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x492e8c
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x492ee2
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
lea ecx, [ebp + 0x14]
call fcn.00408330
mov eax, dword [ebp - 0x1c]
jmp 0x492f7c
lea ecx, [ebp + 0x10]
call fcn.00408290
movzx ecx, al
test ecx, ecx
je 0x492f18
lea ecx, [ebp + 0x14]
call fcn.004920f0
push eax
lea ecx, [ebp + 0x14]
call fcn.004090f0
push eax
push 1
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
jmp 0x492f44
lea ecx, [ebp + 0x14]
call fcn.004920f0
push eax
lea ecx, [ebp + 0x14]
call fcn.004090f0
push eax
push 1
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x492f51
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
lea ecx, [ebp + 0x14]
call fcn.00408330
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x492f80
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x492fab
push 0x5b0ade
lea eax, [ebp + 0xc]
push eax
call fcn.00408250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x492fc9
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x18]
jmp 0x4930ca
mov dword [ebp - 4], 0xf003f
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x492fe4
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x493032
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x1c]
jmp 0x4930ca
cmp dword [ebp + 0x1c], 0
je 0x493050
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov dword [ebp - 0xc], eax
jmp 0x4930a7
lea ecx, [ebp + 0x10]
call fcn.00408290
movzx edx, al
test edx, edx
je 0x49307a
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
jmp 0x49309a
push 4
lea edx, [ebp + 0x14]
push edx
push 4
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4930a7
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x4930d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x4930fb
push 0x5b0adf
lea eax, [ebp + 0xc]
push eax
call fcn.00408250
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x493119
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x18]
jmp 0x4931fe
mov dword [ebp - 4], 0xf003f
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x493134
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x493180
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x1c]
jmp 0x4931fe
lea ecx, [ebp + 0x10]
call fcn.00408290
movzx eax, al
test eax, eax
je 0x4931ac
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 3
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
jmp 0x4931ce
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 3
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4931db
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x493210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 0x20019
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x49324f
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x4932cb
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x4932be
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], ecx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret

Function at 0x493300
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x2001f
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x493328
mov ecx, dword [ebp - 4]
or ecx, 0x100
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x49337b
lea ecx, [ebp + 0x10]
call fcn.004090f0
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x493371
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 0xc]
call fcn.00408330
lea ecx, [ebp + 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x4934b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd31
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x20019
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4934fd
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x49354d
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x120]
jmp 0x4935c8
push 0xff
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x49359a
mov dword [ebp - 0x124], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x124]
jmp 0x4935c8
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00409090
mov dword [ebp - 0x128], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x4956d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x6a09e667
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0xbb67ae85
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0x3c6ef372
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0xa54ff53a
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0x510e527f
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0x9b05688c
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], 0x1f83d9ab
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], 0x5be0cd19
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov esp, ebp
pop ebp
ret
Function at 0x496040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bda0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00408290
movzx eax, al
cmp eax, 1
jne 0x4960a6
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x6c]
jmp 0x4961fd
lea ecx, [ebp + 8]
call fcn.004920f0
cmp eax, 3
jle 0x496116
push 1
lea ecx, [ebp + 8]
call fcn.00491c40
movsx ecx, al
cmp ecx, 0x3a
jne 0x496116
push 2
lea ecx, [ebp + 8]
call fcn.00491c40
movsx edx, al
cmp edx, 0x5c
jne 0x496116
lea ecx, [ebp + 8]
call fcn.004090f0
push eax
call fcn.00488810
add esp, 4
test eax, eax
jne 0x496116
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x70]
jmp 0x4961fd
mov dword [ebp - 0x4c], 1
push 0x3c
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.0056f420
add esp, 0xc
mov dword [ebp - 0x48], 0x3c
lea ecx, [ebp + 8]
call fcn.004090f0
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 0xc]
call fcn.004090f0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 5
cmp dword [ebp + 0x10], 0
je 0x49615e
mov dword [ebp - 0x44], 0x40
cmp dword [ebp + 0x14], 0
je 0x496176
call fcn.0049a9d0
test eax, eax
je 0x496176
mov dword [ebp - 0x3c], 0x5b47e4
jmp 0x49617d
mov dword [ebp - 0x3c], 0x5b47ec
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp + 0x10], 0
je 0x4961cf
push 0xa
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4961cf
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4961cd
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x68]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x49618a
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x74], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret