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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push 0x53edf8
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4dbce0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x53ee0c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x53ee1c
push esi
mov dword [ebp - 8], ebx
call fcn.005039ee
add esp, 8
test eax, eax
je 0x4dbd2c
test ebx, ebx
je 0x4dbd1c
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4dbd55
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4dbd55
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x4dbe17
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dbd71
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x569594]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4dbe0d
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4dbe0d
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dbdb0
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4dbdd0
sub ecx, edx
sar ecx, 1
lea ecx, [ebx + ecx*2]
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x4dbde4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4dbe04
push 8
push 0
push ebx
call eax
jmp 0x4dbe0b
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x569598]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4de3c0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4de3d0
sub esi, ecx
lea eax, [esi + esi]
push eax
mov dword [ebp - 0xc], eax
call dword [0x569594]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4de3f8
lea eax, [edi + 0x1b]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp + 0xc]
push edi
call fcn.004de180
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x4de477
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8002
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4de46c
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi + 0x10], 0
push edi
mov byte [esi + 0x14], 0
call dword [0x569598]
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4de6a0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using des via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x10]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [ebp - 0x20], 8
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4de737
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
push edi
mov word [ebp - 0x18], 0x208
mov dword [ebp - 0x14], 0x6601
mov dword [ebp - 0x10], 8
call fcn.004de7a0
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.004e0d10
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0x14
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4de749
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004ac267
mov esp, ebp
pop ebp
ret
Function at 0x4dfb00
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4dfb32
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
pop ebp
ret

Function at 0x4dfc90
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x4dfcc3
push 0x2e
push edi
call fcn.004ec970
add esp, 8
test eax, eax
je 0x4dfcc1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x4e0be0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x569594]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4e0c0d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x4e0c54
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x4e0c5a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x4e0cbb
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x4e0c80
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x4e0ce7
mov eax, dword [esi + 4]
push 1
push 0x53f582
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x53f583
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x4e0cc0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x506fa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00506e25

Function at 0x50b6d7
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0050b397
Function at 0x5159e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10c], 0
push 0x104
push 0
lea eax, [ebp - 0x10b]
push eax
call fcn.004e9750
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x54aedc
lea ecx, [ebp - 0x13c]
call fcn.00403a6c
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x515a4a
push 0x54aee0
lea ecx, [ebp - 0x13c]
call fcn.00407780
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x124]
call fcn.00403aac
push 0
push 0x20
lea ecx, [ebp - 0x124]
call fcn.00403946
cmp eax, 0xffffffff
je 0x515af1
push 0x54aecc
lea ecx, [ebp - 0x19c]
call fcn.00403a6c
push eax
lea ecx, [ebp - 0x124]
push ecx
push 0x54aecc
lea ecx, [ebp - 0x184]
call fcn.00403a6c
push eax
lea edx, [ebp - 0x16c]
push edx
call fcn.00408300
add esp, 0xc
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00408330
add esp, 0xc
push eax
lea ecx, [ebp - 0x124]
call fcn.004039f8
lea ecx, [ebp - 0x154]
call fcn.00402b26
lea ecx, [ebp - 0x16c]
call fcn.00402b26
lea ecx, [ebp - 0x184]
call fcn.00402b26
lea ecx, [ebp - 0x19c]
call fcn.00402b26
lea ecx, [ebp - 0x124]
push ecx
push 0x54aee4
lea edx, [ebp - 0x1b4]
push edx
call fcn.00408480
add esp, 0xc
push eax
lea ecx, [ebp - 0x13c]
call fcn.004077a0
lea ecx, [ebp - 0x1b4]
call fcn.00402b26
lea ecx, [ebp - 0x13c]
call fcn.00407730
push eax
push str.regsvr32.exe
lea eax, [ebp - 0x10c]
push eax
call fcn.00515eb0
add esp, 0xc
lea ecx, [ebp - 0x124]
call fcn.00402b26
lea ecx, [ebp - 0x13c]
call fcn.00402b26
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x515c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x515c77
xor al, al
jmp 0x515cb3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x515ca9
mov dword [ebp - 8], 1
jmp 0x515cb0
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x515cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x515ce7
xor al, al
jmp 0x515d1d
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
jne 0x515d13
mov dword [ebp - 8], 1
jmp 0x515d1a
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x515da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x515dfc
mov ecx, dword [ebp + 0x14]
call fcn.00407710
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00407730
push eax
push 1
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x515e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1c]
call fcn.00403a9b
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x515e7e
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00403963
lea edx, [ebp + 0x18]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00407730
push eax
lea eax, [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
call fcn.00407730
push eax
mov ecx, dword [ebp + 8]
call fcn.00403a6c
lea ecx, [ebp - 0x1c]
call fcn.00402b26
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x515eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403a6c
lea ecx, [ebp - 0x1c]
call fcn.00407750
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x515ee6
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.0040654a
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00407780
mov dword [ebp - 0x58], 0
push 0x38
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.004e9750
add esp, 0xc
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x440
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x1c]
call fcn.00403978
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x1c]
call fcn.00402b26
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret
Function at 0x515f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1c]
call fcn.00403a9b
cmp dword [ebp + 8], 0
je 0x515ff0
mov eax, dword [ebp + 0xc]
push eax
push 0x54aed0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x64]
call fcn.00403a6c
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.004082d0
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004082d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.004039f8
lea ecx, [ebp - 0x34]
call fcn.00402b26
lea ecx, [ebp - 0x4c]
call fcn.00402b26
lea ecx, [ebp - 0x64]
call fcn.00402b26
jmp 0x515ffc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004039d9
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00403978
push eax
push 0x54aed4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x1c]
call fcn.00402b26
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x516040
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x516062
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x516066
mov al, 1
jmp 0x516068
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x5161d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 8]
call fcn.00516bc0
lea ecx, [ebp - 8]
call fcn.00516c00
push eax
mov eax, dword [ebp + 8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x51620b
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
call fcn.00516be0
mov al, byte [ebp - 1]
jmp 0x51624a
push 0
push 0
push 0
lea ecx, [ebp - 8]
call fcn.00516c10
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x516232
mov dword [ebp - 0xc], 1
jmp 0x516239
mov dword [ebp - 0xc], 0
mov cl, byte [ebp - 0xc]
mov byte [ebp - 2], cl
lea ecx, [ebp - 8]
call fcn.00516be0
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x516710
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004e9750
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x516762
xor al, al
jmp 0x5167fb
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5167ec
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.005163a0
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.00403978
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403978
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x5167cd
mov edx, dword [ebp - 0x240]
mov dword [ebp - 0x250], edx
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407500
lea ecx, [ebp - 0x1c]
call fcn.00402b26
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x516783
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x516810
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x248], 0
push 0x228
push 0
lea eax, [ebp - 0x244]
push eax
call fcn.004e9750
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0xffffffff
jne 0x516862
xor al, al
jmp 0x5168ef
mov dword [ebp - 0x248], 0x22c
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x24c]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x5168e0
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.005163a0
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.00403978
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403978
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x5168c1
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00407500
lea ecx, [ebp - 0x1c]
call fcn.00402b26
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x516883
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret
Function at 0x516900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0x103
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.004e9750
add esp, 0xc
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403a6c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x516970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x14
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2a], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x26], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00407610
push 0
push 4
lea ecx, [ebp - 0x1c]
call fcn.004097a0
lea ecx, [ebp - 0x1c]
call fcn.00407590
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 3
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call fcn.00409ad0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret

Function at 0x516a00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x569564]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00403978
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x516a9e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005166b0
add esp, 8
push eax
push 0x54ae2c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.00408250
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00408330
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00402b26
lea ecx, [ebp - 0x4c]
call fcn.00402b26
lea ecx, [ebp - 0x1c]
call fcn.00403978
push eax
mov ecx, dword [ebp + 8]
call fcn.00403978
push eax
call fcn.004ff3f3
add esp, 8
push 5
push 0
lea ecx, [ebp - 0x1c]
call fcn.00403978
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea ecx, [ebp - 0x1c]
call fcn.00402b26
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac267
mov esp, ebp
pop ebp
ret