joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5b56c8
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push 0x84
mov eax, 0x654634
call fcn.00626aed
cmp byte [0x70a234], 0
jne 0x5b56ea
mov al, byte [0x710338]
jmp 0x5b589e
lea eax, [ebp - 0x28]
push eax
call fcn.005b52d8
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x5b588e
call fcn.005b5139
push eax
lea ecx, [ebp - 0x28]
call fcn.005a6cd6
test al, al
jne 0x5b588e
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x30]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.005b79b2
push eax
call fcn.005b7ea2
mov esi, dword [ebp - 0x30]
pop ecx
pop ecx
push esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x5b574d
xor bl, bl
jmp 0x5b5767
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5b5773
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x710338], bl
mov byte [0x70a234], 0
jmp 0x5b5881
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7ea2
pop ecx
pop ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.005b236e
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x3c]
push esi
push edi
call fcn.00632413
mov eax, dword [ebp - 0x38]
add esp, 0xc
jmp 0x5b57ac
cmp word [edi + eax*2], 0x5c
je 0x5b57b3
sub eax, 1
jns 0x5b57a5
jmp 0x5b57b9
xor ecx, ecx
mov word [edi + eax*2], cx
push 0x44
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00629cd0
add esp, 0xc
mov dword [ebp - 0x90], 0x44
xor eax, eax
mov dword [ebp - 0x64], ebx
mov word [ebp - 0x60], ax
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x90]
push eax
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5b585c
push 0x7d0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x5b583f
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x5b584a
cmp dword [ebp - 0x2c], 0x66
jne 0x5b584a
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x710338], bl
jmp 0x5b586f
push 0
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov byte [0x70a234], 0
test edi, edi
je 0x5b5881
push edi
call fcn.0062d677
pop ecx
test esi, esi
je 0x5b5894
push esi
call fcn.0062d677
pop ecx
jmp 0x5b5894
mov byte [0x70a234], bl
lea ecx, [ebp - 0x28]
call fcn.00448620
mov al, bl
call fcn.00626a9c
ret
Function at 0x5b58a4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa00
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0xa00], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x5b5941
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5b5941
mov ebx, 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00631e27
lea eax, [ebp - 0x3ec]
jmp 0x5b5922
push ebx
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x7d4]
push eax
call fcn.00631e27
lea eax, [ebp - 0x7d4]
push edi
push eax
call fcn.00632460
add esp, 0x14
test eax, eax
je 0x5b5959
lea eax, [ebp - 0xa00]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x5b5908
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00626a7a
leave
ret
mov al, 1
jmp 0x5b594a
Function at 0x5b5ad8
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x70
mov eax, 0x6546af
call fcn.00626aed
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push ebx
push 0x80
push 3
push ebx
push 7
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5b5b61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7f8c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x40]
push str.CreateFile_error:
push eax
call fcn.005a0191
mov edi, eax
mov esi, 0x70a09c
add esp, 0x14
cmp edi, esi
je 0x5b5b4c
mov ecx, esi
call fcn.00448620
push edi
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x40]
call fcn.00448620
lea ecx, [ebp - 0x28]
call fcn.00448620
jmp 0x5b5c84
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x5b5c27
mov eax, dword [ebp + 0x10]
cdq
mov ecx, eax
cmp dword [ebp - 0x74], edx
jg 0x5b5c27
mov eax, dword [ebp - 0x78]
jl 0x5b5b90
cmp eax, ecx
ja 0x5b5c27
inc eax
push eax
push dword [esi]
mov dword [esi + 4], eax
call fcn.0062d692
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x7c]
mov dword [esi], eax
push ecx
push dword [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5b5bd4
mov ecx, dword [ebp - 0x78]
cmp dword [ebp - 0x7c], ecx
jne 0x5b5bd4
cmp ebx, dword [ebp - 0x74]
jne 0x5b5bd4
mov eax, dword [esi]
push edi
mov byte [ecx + eax], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x5b5c86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.005b7f8c
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push str.ReadFile_error:
push eax
call fcn.005a0191
mov ebx, eax
mov esi, 0x70a09c
add esp, 0x14
cmp ebx, esi
je 0x5b5c1a
mov ecx, esi
call fcn.00448620
push ebx
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x70]
call fcn.00448620
lea ecx, [ebp - 0x58]
jmp 0x5b5c78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005b7f8c
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.GetFileSizeEx_error:
push eax
call fcn.005a0191
mov ebx, eax
mov esi, 0x70a09c
add esp, 0x14
cmp ebx, esi
je 0x5b5c6d
mov ecx, esi
call fcn.00448620
push ebx
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x40]
call fcn.00448620
lea ecx, [ebp - 0x28]
call fcn.00448620
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
call fcn.00626a9c
ret
Function at 0x5b5fe4
Capabilities:
Get common file path

Disassembly:
push 0x40
mov eax, 0x654776
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x7102f8]
cmp eax, dword [ecx + 4]
jg 0x5b60f2
cmp dword [0x70a10c], 0
mov ebx, 0x70a0fc
jne 0x5b60ea
push 0x208
push 0
mov dword [ebp - 0x48], 0x104
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x4c], esi
and dword [ebp - 4], 0
push 1
push 0x1c
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005b8bc8
push str.Media_Get_LLCMediaGet2_
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.005a015e
mov edi, eax
add esp, 0x14
cmp edi, ebx
je 0x5b60cf
mov eax, dword [0x70a110]
cmp eax, 0x10
jb 0x5b60af
mov ecx, dword [0x70a0fc]
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
cmp eax, 0x1000
jb 0x5b60a6
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
push ecx
call fcn.00626a67
pop ecx
pop ecx
and dword [0x70a10c], 0
mov ecx, ebx
push edi
mov dword [0x70a110], 0xf
mov byte [0x70a0fc], 0
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
lea ecx, [ebp - 0x40]
call fcn.00448620
test esi, esi
je 0x5b60ea
push esi
call fcn.0062d677
pop ecx
mov eax, ebx
call fcn.00626a9c
ret
mov esi, 0x7102f8
push esi
call fcn.00626d2a
cmp dword [0x7102f8], 0xffffffff
pop ecx
jne 0x5b6010
push 0x659342
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b6010
Function at 0x5b66eb
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65485e
mov eax, dword fs:[0]
push eax
mov eax, 0x1844
call fcn.00626ba0
mov eax, dword [0x70a514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1850], eax
lea eax, [ebp - 0x184c]
push eax
push 0x1000
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x1848], ebx
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x5b67ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x17f8]
push eax
call fcn.005b7f8c
and dword [ebp - 4], 0
lea eax, [ebp - 0x17f8]
push eax
lea eax, [ebp - 0x1810]
push str.EnumProcesses_error:
push eax
call fcn.005a0191
mov edi, eax
mov esi, 0x70a09c
add esp, 0x14
cmp edi, esi
je 0x5b6797
mov ecx, esi
call fcn.00448620
push edi
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x1810]
call fcn.00448620
lea ecx, [ebp - 0x17f8]
jmp 0x5b68c9
mov edi, dword [ebp - 0x184c]
shr edi, 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
mov dword [ebp - 0x1844], eax
test edi, edi
je 0x5b6870
cmp eax, dword [ebp + esi*4 - 0x17e0]
je 0x5b6861
push dword [ebp + esi*4 - 0x17e0]
mov eax, dword [ebp - 0x1850]
push 0
or eax, 0x410
push eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x5b685b
push 0x3e8
lea eax, [ebp - 0x7e0]
push eax
push 0
push ebx
call sub.PSAPI.DLL_GetModuleBaseNameW
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x17f8]
push eax
call fcn.005b8bc8
lea eax, [ebp - 0x17f8]
push eax
call fcn.005b85ec
add esp, 0xc
lea ecx, [ebp - 0x17f8]
push dword [ebp - 0x1848]
call fcn.005a6cd6
test al, al
jne 0x5b68ea
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x17f8]
call fcn.00448620
mov eax, dword [ebp - 0x1844]
inc esi
cmp esi, edi
jb 0x5b67cc
mov ebx, dword [ebp - 0x1848]
push ebx
lea eax, [ebp - 0x1840]
push str.Process
push eax
call fcn.005a01c7
push str._not_found
push eax
lea eax, [ebp - 0x1828]
mov dword [ebp - 4], 1
push eax
call fcn.005a015e
mov edi, eax
mov esi, 0x70a09c
add esp, 0x18
cmp edi, esi
je 0x5b68b8
mov ecx, esi
call fcn.00448620
push edi
mov ecx, esi
call fcn.00448840
lea ecx, [ebp - 0x1828]
call fcn.00448620
lea ecx, [ebp - 0x1840]
call fcn.00448620
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 - 0x10]
xor ecx, ebp
call fcn.00626a7a
leave
ret
lea ecx, [ebp - 0x17f8]
call fcn.00448620
mov eax, ebx
jmp 0x5b68d0
Function at 0x5b68f9
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x28
mov eax, 0x653e41
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x710310]
cmp eax, dword [ecx + 4]
jg 0x5b69f1
cmp dword [0x70a19c], 0
jne 0x5b69e6
push 0x208
xor ebx, ebx
mov dword [ebp - 0x30], 0x104
push ebx
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
push ebx
push 0x26
push esi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b69db
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005b8bc8
mov edi, eax
pop ecx
pop ecx
cmp edi, 0x70a18c
je 0x5b69d3
mov ecx, dword [0x70a1a0]
cmp ecx, 0x10
jb 0x5b69b2
mov eax, dword [0x70a18c]
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x5b69a9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.00626a67
pop ecx
pop ecx
push edi
mov ecx, 0x70a18c
mov dword [0x70a19c], ebx
mov dword [0x70a1a0], 0xf
mov byte [0x70a18c], bl
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
test esi, esi
je 0x5b69e6
push esi
call fcn.0062d677
pop ecx
mov eax, 0x70a18c
call fcn.00626a9c
ret
mov esi, 0x710310
push esi
call fcn.00626d2a
cmp dword [0x710310], 0xffffffff
pop ecx
jne 0x5b6925
push 0x659356
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b6925

Function at 0x5b6a21
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x28
mov eax, 0x653e41
call fcn.00626aed
mov eax, dword fs:[0x2c]
mov ecx, dword [0x710994]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x710314]
cmp eax, dword [ecx + 4]
jg 0x5b6b19
cmp dword [0x70a1b4], 0
jne 0x5b6b0e
push 0x208
xor ebx, ebx
mov dword [ebp - 0x30], 0x104
push ebx
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x34], esi
push ebx
push 0x2a
push esi
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b6b03
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005b8bc8
mov edi, eax
pop ecx
pop ecx
cmp edi, 0x70a1a4
je 0x5b6afb
mov ecx, dword [0x70a1b8]
cmp ecx, 0x10
jb 0x5b6ada
mov eax, dword [0x70a1a4]
inc ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
cmp ecx, 0x1000
jb 0x5b6ad1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00446e30
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call fcn.00626a67
pop ecx
pop ecx
push edi
mov ecx, 0x70a1a4
mov dword [0x70a1b4], ebx
mov dword [0x70a1b8], 0xf
mov byte [0x70a1a4], bl
call fcn.00448840
lea ecx, [ebp - 0x28]
call fcn.00448620
test esi, esi
je 0x5b6b0e
push esi
call fcn.0062d677
pop ecx
mov eax, 0x70a1a4
call fcn.00626a9c
ret
mov esi, 0x710314
push esi
call fcn.00626d2a
cmp dword [0x710314], 0xffffffff
pop ecx
jne 0x5b6a4d
push 0x659360
call fcn.00627162
push esi
call fcn.00626ce0
pop ecx
pop ecx
jmp 0x5b6a4d
Function at 0x5b6ecb
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x38
mov eax, 0x654918
call fcn.00626aed
mov ebx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 1
push ecx
push eax
call fcn.005b7ea2
pop ecx
pop ecx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], 1
push eax
push 8
push edi
push dword [ebp - 0x34]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b6fa3
push 0x7d0
push edi
mov dword [ebp - 0x40], 0x3e8
call fcn.0062d692
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 2
jmp 0x5b6f7b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005b8bc8
pop ecx
pop ecx
mov ecx, dword [ebx + 4]
mov byte [ebp - 4], 3
push eax
cmp ecx, dword [ebx + 8]
je 0x5b6f66
mov ecx, ebx
call fcn.005b1f01
jmp 0x5b6f6e
push ecx
mov ecx, ebx
call fcn.005b1f25
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00448620
inc edi
push 0x3e8
push esi
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x5b6f44
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5b6fa3
push esi
call fcn.0062d677
pop ecx
cmp dword [ebp - 0x34], 0
je 0x5b6fb2
push dword [ebp - 0x34]
call fcn.0062d677
pop ecx
mov eax, ebx
call fcn.00626a9c
ret

Function at 0x5b7010
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
lea eax, [ebp - 0x14]
xor edi, edi
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call fcn.005b7ea2
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 4]
pop ecx
pop ecx
push eax
push 0x20019
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5b7085
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
call fcn.005b7ea2
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
pop ecx
pop ecx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5b7099
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 0x14]
test esi, esi
je 0x5b7093
push esi
call fcn.0062d677
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 8]
jmp 0x5b7088
Function at 0x5b70a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.005b7ea2
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
pop ecx
pop ecx
push eax
push 0x20019
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5b70f0
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x5b7162
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
call fcn.005b7ea2
push 0x800
push ebx
call fcn.0062d692
mov esi, dword [ebp - 0xc]
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x10], 0x400
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x5b7148
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
jmp 0x5b7153
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 8], eax
test edi, edi
je 0x5b7161
push edi
call fcn.0062d677
pop ecx
pop edi
test esi, esi
je 0x5b716d
push esi
call fcn.0062d677
pop ecx
mov eax, dword [ebp - 8]
mov edx, ebx
pop esi
pop ebx
leave
ret
Function at 0x5b7176
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x654954
call fcn.00626aba
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 0x10]
call fcn.005b7ea2
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
pop ecx
pop ecx
push eax
push 0x20019
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x5b71d5
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
test edi, edi
je 0x5b7270
push edi
jmp 0x5b726a
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call fcn.005b7ea2
push 0x800
mov esi, 0x400
push ebx
mov dword [ebp - 0x24], esi
call fcn.0062d692
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esi
push eax
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
test eax, eax
je 0x5b723c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x5b725a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 1
je 0x5b724e
cmp dword [ebp - 0x14], 7
jne 0x5b7227
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.005b8bc8
pop ecx
pop ecx
test edi, edi
je 0x5b7265
push edi
call fcn.0062d677
pop ecx
test ebx, ebx
je 0x5b7270
push ebx
call fcn.0062d677
pop ecx
mov eax, esi
call fcn.00626a88
ret

Function at 0x5b7278
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.005b7ea2
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5b72ea
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call fcn.005b7ea2
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x14]
pop ecx
pop ecx
push 4
push eax
push 4
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x5b72f5
push esi
call fcn.0062d677
pop ecx
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x5b72fb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.005b7ea2
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 8]
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5b7392
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x10]
call fcn.005b7ea2
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0xc], ebx
call fcn.005b7ea2
mov eax, dword [ebp - 0xc]
add esp, 0x10
mov esi, dword [ebp - 0x18]
add eax, eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
je 0x5b7392
push dword [ebp - 0x10]
call fcn.0062d677
pop ecx
test esi, esi
je 0x5b739d
push esi
call fcn.0062d677
pop ecx
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x5b741e
Capabilities:
Write file on windows

Disassembly:
push 0x40
mov eax, 0x654986
call fcn.00626aed
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.005b8bc8
pop ecx
pop ecx
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
push edi
xor ebx, ebx
push 0x6d4ba4
mov dword [ebp - 4], ebx
call fcn.005b4d4a
mov dword [ebp - 0x44], 1
cmp eax, edi
jne 0x5b7472
push edi
push 0x6d6968
lea ecx, [ebp - 0x28]
call fcn.005b4d4a
cmp eax, edi
je 0x5b7496
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004481a0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.005b649e
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00448620
push ebx
push 0x80
push 2
push ebx
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x5b74dc
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x4c]
push ebx
push eax
push edi
push dword [ebp - 0x48]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5b74cf
cmp dword [ebp - 0x4c], edi
je 0x5b74d2
mov byte [ebp - 0x44], bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, byte [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00448620
mov al, bl
call fcn.00626a9c
ret