joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4be3ac
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x5ab9ae
call fcn.00553bf3
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
xor edi, edi
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xa8]
push 0xfde9
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xa8], eax
call fcn.004c2180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [ebp - 0xa8]
call fcn.004c2785
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x4be420
push dword [ebp - 0xa8]
call fcn.0054e49f
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4be4a7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.005312f2
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.005533c0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.0054d95f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push esi
call fcn.0054d95f
add esp, 0x30
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4be4af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00450c0a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, edi
call fcn.00553ba2
ret 0xc
Function at 0x4bfbb8
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x5abb08
call fcn.00553bf3
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.005312f2
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.005533c0
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.0054d95f
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x4bfc32
push esi
call fcn.0054e4d7
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.004c38e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4bfc8b
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.004c2028
and dword [ebp - 4], 0
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x18]
call fcn.004c3b9a
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x4bfc82
push dword [ebp - 0x120]
call fcn.0054e49f
pop ecx
push esi
call fcn.0054e4d7
pop ecx
xor eax, eax
call fcn.00553ba2
ret 0xc

Function at 0x4bfc93
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x5abb38
call fcn.00553bf3
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
xor edx, edx
lea ecx, [ebp - 0x14]
push edx
push edx
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push edx
push 1
push dword [eax - 0xc]
push eax
call esi
test eax, eax
je 0x4bfcfd
push dword [ebp - 0x14]
call fcn.005312f2
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.005533c0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x4bfd0e
push ebx
call fcn.0054e4d7
pop ecx
mov ecx, edi
call fcn.004c38e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4bfd2f
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.004bfbb8
mov esi, eax
test esi, esi
je 0x4bfd28
mov ecx, edi
call fcn.004c38e6
push ebx
call fcn.0054e4d7
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, esi
call fcn.00553ba2
ret 8
Function at 0x4c17cb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4c17df
test al, 0x10
je 0x4c17df
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x4c2ee6
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5abf5b
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov esi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x29], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.004c34d5
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x30], eax
je 0x4c2fb8
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.004c3562
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
xor edi, edi
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
je 0x4c2feb
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb6f0]
mov byte [ebp - 0x29], al
lea eax, [ebp - 0x29]
push eax
call fcn.00451301
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x30]
jb 0x4c2fc2
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
mov ecx, ebx
call fcn.00451301
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret

Function at 0x4c32ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4c3327
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4c3318
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4c3314
cmp esi, ecx
jae 0x4c3318
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4c3304
cmp esi, ecx
jb 0x4c331c
xor eax, eax
jmp 0x4c3326
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4c34d5
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x5abfdf
call fcn.00553bf3
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4c354f
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4c3511
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x4c3547
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00450469
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push ebx
push eax
mov esi, dword [edi - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00450beb
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4c354f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4c35a2
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5ac035
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x2c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.004c34d5
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x34], eax
je 0x4c3674
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.004c3562
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
xor edi, edi
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
je 0x4c36ac
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb6f0]
cbw
movzx eax, ax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004ab45d
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x4c367e
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004ab45d
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4c3ca5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x5ac062
call fcn.00553bf3
mov dword [ebp - 0x30], edx
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov eax, dword [ecx]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x20019
push eax
mov ecx, esi
call fcn.004c3c5e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c3d52
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x24]
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4c3d4a
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
call fcn.00450469
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00450beb
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x24]
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
je 0x4c3db9
lea ecx, [ebp - 0x20]
call fcn.004c2dd2
cmp byte [ebp + 0x14], 0
jne 0x4c3dcb
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push 0x20219
push dword [ebp - 0x30]
push dword [eax]
call fcn.004c2dec
mov esi, eax
test esi, esi
jne 0x4c3dcb
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x24]
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4c3dc3
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
call fcn.00450469
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.00450beb
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x24]
push edi
push ebx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4c3dc3
lea ecx, [ebp - 0x20]
call fcn.004c2dd2
jmp 0x4c3dcd
lea ecx, [ebp - 0x20]
call fcn.004c2dd2
mov edi, esi
lea ecx, [ebp - 0x20]
call fcn.004c2dd2
mov eax, edi
call fcn.00553ba2
ret
Function at 0x4c3e77
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x2c
mov eax, 0x5ac0c4
call fcn.00553bf3
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x24]
mov dword [ebp - 0x38], eax
xor ebx, ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 0x20019
push eax
call fcn.004c3c5e
add esp, 0xc
test eax, eax
jne 0x4c3f80
mov esi, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0x400
mov dword [ebp - 0x18], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x18]
call fcn.004c3be8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
push esi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x4c3f6b
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
push esi
call fcn.004c3a23
push esi
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.004c3aa0
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x30]
push eax
push edi
push esi
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004c318a
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x18]
push eax
call fcn.004d4f6a
mov edi, 0x5d0bb0
mov ecx, edi
call fcn.004c3b60
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.004c3ad4
inc esi
mov dword [ebp - 0x30], 0x400
mov dword [ebp - 0x34], esi
jmp 0x4c3ee2
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450c0a
jmp 0x4c3f82
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4cd633
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5f4748]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0xf0000000
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push dword [esi + 8]
push eax
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4cd6ba
lea eax, [ebp - 8]
push eax
push 0
push 0
push dword [esi + 4]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4cd6ba
push 0
push dword [ebp + 0xc]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4cd6ba
push 0
lea eax, [esi + 0xc]
push eax
push ebx
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4cd6ba
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x4cd6cf
cmp dword [ebp - 8], 0
je 0x4cd6c9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0xc], 0
je 0x4cd6da
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4cdc61
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x18], bl
jne 0x4cdc78
mov eax, dword [esi]
call dword [eax + 4]
mov byte [esi + 0x18], 1
mov edx, ebx
cmp dword [ebp + 0xc], edx
jbe 0x4cdc9c
mov esi, dword [esi + 0xc]
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edx + edi]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [esi + ecx*4]
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4cdc86
pop edi
xor ebx, 0x55
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x4cddb7
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push 0x24
mov eax, 0x5acb87
call fcn.00553bf3
mov eax, ecx
mov dword [ebp - 0x30], eax
call fcn.004c38e6
push 0x10
pop edi
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x14]
call fcn.004c3be8
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004c3a23
push edi
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004c3aa0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x14]
test eax, eax
je 0x4cdf0f
push dword [ebp - 0x18]
call fcn.004c3aa0
push 0x20
pop eax
push eax
mov dword [ebp - 0x28], eax
call fcn.005312f2
mov esi, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x2c], edi
pop ecx
test edi, edi
jne 0x4cde3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4cdf1f
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4cde6c
push edi
call fcn.0054e4d7
pop ecx
jmp 0x4cde34
push dword [ebp - 0x28]
push ebx
push edi
call fcn.005533c0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
add esp, 0xc
push esi
call fcn.004c3a23
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.004c3aa0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x24]
test eax, eax
jne 0x4cdebd
call fcn.004c3aa0
jmp 0x4cde63
call fcn.004c3aa0
push edi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4cde63
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov ecx, dword [ebp - 0x20]
mov edi, eax
call fcn.004c3b60
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004c3780
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x2c]
mov dword [ebp - 0x20], ebx
call fcn.0054e4d7
pop ecx
test edi, edi
jne 0x4cdf21
jmp 0x4cde34
push 0xffffffffffffffff
call fcn.004c318a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4d3a02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5adfac
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
mov eax, dword [0x5f4748]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x4d3b23
mov ecx, dword [esi + 0x10]
push 4
call fcn.004b4a87
test al, al
je 0x4d3b23
push 4
push esi
push 0
sub esp, 0xc
mov dword [esp + 0x34], 0x6841534d
mov ecx, esp
mov dword [esp + 0x38], 0x69636a4f
lea eax, [esp + 0x7a]
mov dword [esp + 0x3c], 0x7267694f
lea edx, [esp + 0x34]
mov dword [esp + 0x40], 0x76774749
push ecx
push eax
push edx
mov dword [esp + 0x50], 0x68494449
mov dword [esp + 0x54], 0x776c694c
mov dword [esp + 0x58], 0x77416741
mov dword [esp + 0x5c], 0x78495344
mov dword [esp + 0x60], 0x6745324a
mov dword [esp + 0x64], 0x4241414a
mov dword [esp + 0x68], 0x464d474b
mov dword [esp + 0x6c], 0x37633259
mov dword [esp + 0x70], 0x656b5248
mov dword [esp + 0x74], 0x32644841
mov dword [esp + 0x78], 0x544d524d
mov dword [esp + 0x7c], 0x684d7a4b
mov dword [esp + 0x80], 0x41414141
mov word [esp + 0x84], 0x5149
call fcn.00450208
lea ecx, [esp + 0x28]
call fcn.004d8ec6
add esp, 0xc
and dword [esp + 0x7c], 0
mov ecx, eax
call fcn.00451547
mov ecx, dword [esi + 0x10]
push eax
call fcn.004b66db
lea ecx, [esp + 0x10]
call fcn.004513e1
xor eax, eax
cmp byte [esi + 8], al
setne al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d49d7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ae0f3
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5f4748]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push esi
push edi
mov eax, dword [0x5f4748]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xd0]
xor ebx, ebx
push eax
mov dword [esp + 0xd4], ebx
call fcn.004c2660
mov dword [esp + 0xf8], ebx
lea edi, [esp + 0xd4]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0xd0]
cmp dword [eax - 4], 1
jle 0x4d4a69
push dword [eax - 0xc]
lea ecx, [esp + 0xd4]
call fcn.004508eb
mov eax, dword [esp + 0xd0]
push eax
lea ecx, [esp + 0xd8]
call fcn.00439489
push 0xffffffffffffffff
lea ecx, [esp + 0xd4]
mov byte [esp + 0xfc], 1
call fcn.004c28b6
push 4
lea eax, [esp + 0x17]
mov byte [esp + 0x17], bl
push eax
lea eax, [esp + 0xdc]
mov dword [esp + 0x1c], 0x6841534d
push eax
push ebx
sub esp, 0xc
mov dword [esp + 0x34], 0x69636a4f
mov ecx, esp
mov dword [esp + 0x38], 0x7267694f
lea eax, [esp + 0xd4]
mov dword [esp + 0x3c], 0x78774749
lea edx, [esp + 0x30]
mov dword [esp + 0x40], 0x3345434e
push ecx
push eax
push edx
mov dword [esp + 0x50], 0x7073684e
mov dword [esp + 0x54], 0x7751544e
mov dword [esp + 0x58], 0x346c4146
mov dword [esp + 0x5c], 0x6e6b524e
mov dword [esp + 0x60], 0x626b544a
mov dword [esp + 0x64], 0x4b307a44
mov dword [esp + 0x68], 0x3131424e
mov dword [esp + 0x6c], 0x75597759
mov dword [esp + 0x70], 0x6e59334a
mov dword [esp + 0x74], 0x55347a41
mov dword [esp + 0x78], 0x3368694c
mov dword [esp + 0x7c], 0x51777a48
mov dword [esp + 0x80], 0x526f684a
mov dword [esp + 0x84], 0x67736846
mov dword [esp + 0x88], 0x51305445
mov dword [esp + 0x8c], 0x68457942
mov dword [esp + 0x90], 0x62304143
mov dword [esp + 0x94], 0x694d3346
mov dword [esp + 0x98], 0x6c59414a
mov dword [esp + 0x9c], 0x2b4d5343
mov dword [esp + 0xa0], 0x4a6f5363
mov dword [esp + 0xa4], 0x69777a4e
mov dword [esp + 0xa8], 0x5a387946
mov dword [esp + 0xac], 0x5a517a41
mov dword [esp + 0xb0], 0x46414150
mov dword [esp + 0xb4], 0x6551774c
mov dword [esp + 0xb8], 0x3255784c
mov dword [esp + 0xbc], 0x32776941
mov dword [esp + 0xc0], 0x304a3347
mov dword [esp + 0xc4], 0x72744446
mov dword [esp + 0xc8], 0x39454366
mov dword [esp + 0xcc], 0x7438475a
mov dword [esp + 0xd0], 0x3773674a
mov dword [esp + 0xd4], 0x62385345
mov dword [esp + 0xd8], 0x41343246
mov dword [esp + 0xdc], 0x6a424141
call fcn.00450208
lea ecx, [esp + 0xe0]
call fcn.004d8ec6
add esp, 0xc
mov ecx, eax
mov byte [esp + 0x108], 2
call fcn.00451547
mov ecx, dword [esi + 0x10]
push eax
call fcn.004b7017
lea ecx, [esp + 0xc4]
call fcn.004513e1
lea ecx, [esp + 0xd4]
mov byte [esp + 0xf8], bl
call fcn.00439697
mov ecx, dword [esp + 0xd0]
lea ecx, [ecx - 0x10]
call fcn.00450c0a
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret 8