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

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, ebp
cmp ebp, 0x8000
jb 0x457db5
mov eax, 0x8000
mov edi, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esi + 0xc]
push edi
push eax
call fcn.004e7a80
mov eax, 1
add esp, 0xc
xor bl, bl
cmp ebp, eax
jbe 0x457ddb
xor bl, byte [eax + edi]
inc eax
cmp eax, ebp
jb 0x457dd3
push 8
mov ecx, esi
call fcn.004478b0
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [edi]
pop ebx
jne 0x457e1c
push ebp
push edi
push 0xffffffffffffffff
call fcn.0043aac0
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x5172f4], eax
jne 0x457e13
cmp dword [ecx + 0x5172f0], ebp
je 0x457e8b
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x457e03
push 1
mov ecx, esi
call fcn.00457d00
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
mov dword [esi + 0x14], ecx
lea edx, [eax + eax*4]
mov eax, dword [esi]
lea eax, [eax + edx*8]
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, 3
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
lea edx, [eax + 0x1c]
xor ecx, ecx
mov dword [eax], 0x16
mov dword [eax + 0x24], edx
cmp dword [esi + 0x14], ecx
jle 0x457e85
xor edx, edx
lea esp, [esp]
mov eax, dword [esi]
add eax, edx
cmp dword [eax + 0x14], 0
jne 0x457e70
lea edi, [eax + 0xc]
mov dword [eax + 0x14], edi
cmp dword [eax + 0x24], 0
jne 0x457e7c
lea edi, [eax + 0x1c]
mov dword [eax + 0x24], edi
inc ecx
add edx, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x457e60
pop edi
pop esi
pop ebp
ret 0xc
lea ecx, [edx + edx*2]
mov edi, dword [ecx*4 + 0x5172f8]
test edi, edi
je 0x457e1c
push 1
mov ecx, esi
call fcn.00457d00
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
lea edx, [eax + 1]
mov dword [esi + 0x14], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
lea ecx, [eax + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax + 0x14], ecx
mov ecx, 3
lea edx, [eax + 0x1c]
pop esi
mov dword [eax], 0x28
mov dword [eax + 0x24], edx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
pop ebp
ret 0xc
Function at 0x463000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x418
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push ebx
mov ebx, dword [esp + 0x424]
push ebp
push esi
push edi
push 5
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x531154]
push eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ecx, dword [0x531154]
mov esi, eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [0x531154]
push esi
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.004e7f56
mov edi, eax
add esp, 4
test edi, edi
jne 0x463079
mov dword [ebx], eax
jmp 0x4631b9
push esi
push ebp
push edi
call fcn.004e7a80
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add esp, 0xc
and eax, 0xffff0000
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
cmp eax, 0xffff0000
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
sete bl
call fcn.004629e0
mov ebp, dword [esp + 0x1c]
test al, al
je 0x463100
mov ecx, edi
test bl, bl
je 0x4630c6
lea ecx, [edi + 8]
movsx edx, word [ecx + 0xe]
imul edx, ebp
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [ecx + 0x10]
imul edx, dword [esp + 0x10]
mov word [ecx + 0xe], ax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ecx + 0x10], ax
xor ecx, ecx
test bl, bl
setne cl
mov eax, 0xffff
lea ecx, [ecx*4 + 9]
cmp word [edi + ecx*2], ax
lea edx, [edi + ecx*2]
jne 0x463123
mov eax, 2
jmp 0x463140
mov eax, edx
lea esi, [eax + 2]
jmp 0x463130
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463130
sub eax, esi
sar eax, 1
inc eax
lea edx, [edx + eax*2]
mov ecx, 0xffff
cmp word [edx], cx
jne 0x463154
mov eax, 2
jmp 0x463170
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463160
sub eax, esi
sar eax, 1
inc eax
mov ecx, dword [esp + 0x14]
push ecx
push 1
push 0x200
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [edx + eax*2]
push edx
call fcn.00462800
lea eax, [esp + 0x24]
push eax
call fcn.004ead9c
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [ecx], eax
cmp ebp, 0x64
jne 0x4631b7
cmp dword [esp + 0x10], ebp
jne 0x4631b7
push edi
call fcn.004e7061
add esp, 4
xor edi, edi
mov eax, edi
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6b3a
add esp, 0x418
ret 8
Function at 0x4632d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x200c], eax
push ebx
mov ebx, dword [esp + 0x2020]
push esi
mov esi, dword [esp + 0x201c]
push edi
mov edi, dword [esp + 0x2024]
cmp edi, esi
je 0x46330c
push ebx
push esi
push edi
call fcn.004694b0
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4633dd
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463332
sub eax, edx
sar eax, 1
mov ecx, 0x7ff
sub ecx, eax
add ecx, ecx
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x101c]
push eax
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.LanguageFolder
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4633d2
push 0x800
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1020]
push edx
mov word [esp + 0x24], ax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x800
lea eax, [esp + 0x1c]
push eax
call fcn.00452c60
push 0x800
push esi
call fcn.004534c0
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00469530
lea edx, [esp + 0x18]
push edx
call fcn.00445470
test al, al
je 0x4633d2
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004694b0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2018]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e6b3a
add esp, 0x2010
ret 0xc

Function at 0x4634c0
Capabilities:
Check os version

Disassembly:
mov eax, 0x1120
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x111c], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x4634fb
mov eax, dword [0x531154]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x531150]
mov dword [0x531154], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x112c]
lea edx, [esp + 0x120]
test eax, eax
je 0x463521
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x463510
jmp 0x46352f
push 0x800
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarlng.dll
lea eax, [esp + 0x128]
push eax
call fcn.00453690
push 0x800
lea ecx, [esp + 0x124]
push ecx
mov edx, ecx
push edx
call fcn.004632d0
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x46359f
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x46358b
jne 0x46359f
cmp word [esp + 0x118], 2
jb 0x46359f
push 2
push 0
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4635ad
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x531154], eax
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1128]
pop esi
mov dword [0x531150], eax
jne 0x4635cf
mov dword [0x531154], eax
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1120
ret 8
Function at 0x4634d8
Capabilities:
Check os version

Disassembly:
mov eax, 0x1120
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x111c], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x4634fb
mov eax, dword [0x531154]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x531150]
mov dword [0x531154], ecx
mov byte [esi], 0
mov eax, dword [esp + 0x112c]
lea edx, [esp + 0x120]
test eax, eax
je 0x463521
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x463510
jmp 0x46352f
push 0x800
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarlng.dll
lea eax, [esp + 0x128]
push eax
call fcn.00453690
push 0x800
lea ecx, [esp + 0x124]
push ecx
mov edx, ecx
push edx
call fcn.004632d0
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x46359f
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x46358b
jne 0x46359f
cmp word [esp + 0x118], 2
jb 0x46359f
push 2
push 0
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4635ad
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x531154], eax
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1128]
pop esi
mov dword [0x531150], eax
jne 0x4635cf
mov dword [0x531154], eax
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1120
ret 8

Function at 0x4635f0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x14
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push ebx
mov edx, ecx
mov ecx, dword [ebp + 0x10]
movdqu xmm0, xmmword [edx + 8]
push esi
lea esi, [edx + 8]
push edi
mov dword [esp + 0x1c], esi
mov edi, eax
mov ebx, ecx
lea esi, [edx + 0x18]
jbe 0x463686
lea ecx, [ecx]
mov eax, edi
movdqu xmm1, xmmword [eax]
add edi, 0x10
cmp byte [edx + 1], 0
mov dword [esp + 0x18], edi
je 0x463639
pxor xmm0, xmm1
jmp 0x46363d
movdqa xmm0, xmm1
mov eax, dword [edx + 4]
cmp eax, 1
movdqu xmm1, xmmword [esi]
pxor xmm0, xmm1
jle 0x463668
lea ecx, [esi + 0x10]
lea edi, [eax - 1]
movdqu xmm1, xmmword [ecx]
add ecx, 0x10
sub edi, 1
aesenc xmm0, xmm1
jne 0x463653
mov edi, dword [esp + 0x18]
shl eax, 4
movdqu xmm1, xmmword [eax + esi]
add eax, esi
mov eax, ebx
add ebx, 0x10
sub dword [ebp + 0xc], 1
aesenclast xmm0, xmm1
movdqu xmmword [eax], xmm0
jne 0x463620
mov eax, dword [esp + 0x1c]
pop edi
pop esi
movdqu xmmword [eax], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4636a0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push ecx
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
push ebx
mov edx, ecx
movdqu xmm2, xmmword [edx + 8]
push esi
lea ecx, [edx + 8]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov ebx, eax
lea esi, [edx + 0x18]
jbe 0x463733
lea esp, [esp]
mov eax, edi
movdqu xmm1, xmmword [eax]
mov eax, dword [edx + 4]
mov ecx, eax
shl ecx, 4
movdqu xmm0, xmmword [ecx + esi]
add ecx, esi
dec eax
add edi, 0x10
pxor xmm0, xmm1
test eax, eax
jle 0x463709
mov ecx, eax
shl ecx, 4
add ecx, esi
movdqu xmm3, xmmword [ecx]
dec eax
sub ecx, 0x10
aesdec xmm0, xmm3
test eax, eax
jg 0x4636f8
cmp byte [edx + 1], 0
movdqu xmm3, xmmword [esi]
aesdeclast xmm0, xmm3
je 0x46371c
pxor xmm0, xmm2
mov eax, ebx
add ebx, 0x10
sub dword [ebp + 0xc], 1
movdqa xmm2, xmm1
movdqu xmmword [eax], xmm0
jne 0x4636d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
movdqu xmmword [ecx], xmm2
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463990
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push edi
mov ebp, ecx
mov edi, 1
cmp dword [ebp + 4], edi
jle 0x463aca
push ebx
push esi
lea esi, [ebp + 0x28]
lea ecx, [ebp + 0x2c]
jmp 0x4639c0
xor eax, eax
jmp 0x4639d0
movzx edx, byte [ecx - 1]
movzx edx, byte [eax + edx*4 + 0x5341c0]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x5345c0]
movzx ebx, byte [ecx - 3]
xor dl, byte [eax + ebx*4 + 0x5349c0]
movzx ebx, byte [ecx - 4]
xor dl, byte [eax + ebx*4 + 0x534dc0]
movzx ebx, byte [ecx + 2]
mov byte [esp + eax + 0x10], dl
movzx edx, byte [ecx + 3]
movzx edx, byte [eax + edx*4 + 0x5341c0]
xor dl, byte [eax + ebx*4 + 0x5345c0]
movzx ebx, byte [ecx + 1]
xor dl, byte [eax + ebx*4 + 0x5349c0]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x534dc0]
movzx ebx, byte [ecx + 6]
mov byte [esp + eax + 0x14], dl
movzx edx, byte [ecx + 7]
movzx edx, byte [eax + edx*4 + 0x5341c0]
xor dl, byte [eax + ebx*4 + 0x5345c0]
movzx ebx, byte [ecx + 5]
xor dl, byte [eax + ebx*4 + 0x5349c0]
movzx ebx, byte [ecx + 4]
xor dl, byte [eax + ebx*4 + 0x534dc0]
movzx ebx, byte [ecx + 0xa]
mov byte [esp + eax + 0x18], dl
movzx edx, byte [ecx + 0xb]
movzx edx, byte [eax + edx*4 + 0x5341c0]
xor dl, byte [eax + ebx*4 + 0x5345c0]
movzx ebx, byte [ecx + 9]
xor dl, byte [eax + ebx*4 + 0x5349c0]
movzx ebx, byte [ecx + 8]
xor dl, byte [eax + ebx*4 + 0x534dc0]
inc eax
cmp eax, 4
mov byte [esp + eax + 0x1b], dl
jl 0x4639d0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
inc edi
add ecx, 0x10
add esi, 0x10
cmp edi, dword [ebp + 4]
jl 0x4639c0
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop edi
pop ebp
xor ecx, esp
call fcn.004e6b3a
add esp, 0x14
ret
Function at 0x4657a0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 4], 0
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
jne 0x4657c1
push edi
push 0
push ebp
call fcn.004e7df0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push ebp
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00465340
test al, al
jne 0x465880
test ebx, ebx
jne 0x465840
cmp dword [esi + 0x24], edi
je 0x465814
mov edx, dword [esi + 0x20]
push edx
call fcn.004e6904
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e68bd
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor eax, eax
test edi, edi
jbe 0x465840
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
movzx edx, word [eax + ecx]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 0x20]
mov edx, dword [ecx + edx*4]
mov dword [ebx + eax*4], edx
add eax, 2
cmp eax, edi
jb 0x465820
mov ebx, dword [esp + 0x18]
nop
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
imul eax, ebx
add eax, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
mov eax, dword [esi + 4]
mov ecx, dword [eax + edx*4]
xor eax, eax
test edi, edi
jbe 0x465880
lea esp, [esp]
mov edx, dword [esi + 0x20]
mov edx, dword [edx + eax*4]
mov ebx, dword [esi]
add edx, ecx
mov dx, word [ebx + edx*4]
xor word [eax + ebp], dx
add eax, 2
cmp eax, edi
jb 0x465860
lea esp, [esp]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x465890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fda4c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x3020]
call fcn.00469a70
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x307c]
call fcn.00469a70
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
push 0x1000
mov dword [esi + 0x1008], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x100c], ecx
xor ecx, ecx
push ebx
push esi
mov byte [esi + 0x1010], dl
mov dword [esi + 0x1014], eax
mov byte [esi + 0x101c], bl
mov byte [esi + 0x30d8], bl
mov dword [esi + 0x1004], ebx
mov word [esi + 0x101e], cx
call fcn.004e7df0
add esp, 0xc
xor edx, edx
mov dword [esi + 0x1000], ebx
mov dword [esi + 0x1018], ebx
mov word [esi + 0x30e0], dx
mov dword [esi + 0x40e0], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x10
Function at 0x465a30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1050
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x104c], eax
push ebx
mov ebx, dword [esp + 0x1058]
cmp byte [ebx], 0
push ebp
mov ebp, ecx
je 0x465b13
push esi
push edi
lea esi, [ebp + 0x101e]
push esi
call fcn.004534c0
mov edi, eax
cmp edi, esi
jbe 0x465a95
xor eax, eax
push esi
mov word [edi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [edi - 2], cx
cmp eax, 0xffffffff
je 0x465a95
test eax, 0x400
je 0x465a95
mov byte [ebx], 0
push str.System_Volume_Information_
push esi
call fcn.004ea8e5
add esp, 8
test eax, eax
jne 0x465ac4
cmp byte [ebx], al
je 0x465b11
mov ecx, dword [ebp + 0x40e0]
test ecx, ecx
je 0x465ac9
push 1
push 1
push eax
push esi
call fcn.004389b0
test al, al
je 0x465ac9
mov byte [ebx], 0
jmp 0x465b11
cmp byte [ebx], 0
je 0x465b11
push 0x800
lea edx, [esp + 0x60]
push edx
push esi
call fcn.00453d10
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0x54
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], 1
call fcn.0046b580
mov ecx, 0x531158
call fcn.0043f4b0
pop edi
pop esi
mov ecx, dword [esp + 0x1054]
pop ebp
pop ebx
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1050
ret 4

Function at 0x466820
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [0x5373e8]
push esi
test edx, edx
jne 0x466878
cmp byte [0x5373e4], dl
jne 0x466878
push str.Crypt32.dll
call fcn.00469da0
mov dword [0x5373e0], eax
test eax, eax
je 0x46686b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptProtectMemory
push eax
call esi
mov dword [0x5373e8], eax
mov eax, dword [0x5373e0]
push str.CryptUnprotectMemory
push eax
call esi
mov dword [0x5373ec], eax
mov edx, dword [0x5373e8]
mov byte [0x5373e4], 1
mov esi, dword [esp + 0xc]
mov ecx, esi
and ecx, 0xf
mov eax, esi
sub eax, ecx
xor ecx, ecx
cmp byte [esp + 0x14], cl
setne cl
cmp byte [esp + 0x10], 0
je 0x4668d2
test edx, edx
je 0x4668f0
push ecx
push eax
mov eax, dword [esp + 0x10]
push eax
call edx
test eax, eax
jne 0x466913
push str.CryptProtectMemory_failed
push 0x531158
call fcn.0043f6f0
add esp, 8
mov ecx, 0x531158
call fcn.0043f4b0
push 2
mov ecx, 0x531158
call fcn.0043f340
pop esi
ret 0x10
mov edx, dword [0x5373ec]
test edx, edx
je 0x4668f0
push ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
call edx
test eax, eax
jne 0x466913
push str.CryptUnprotectMemory_failed
jmp 0x4668ab
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor ecx, ecx
test esi, esi
jbe 0x466913
mov dl, al
mov eax, dword [esp + 8]
add dl, 0x4b
push ebx
mov bl, dl
add bl, cl
xor byte [ecx + eax], bl
inc ecx
cmp ecx, esi
jb 0x466906
pop ebx
pop esi
ret 0x10

Function at 0x4684d0
Capabilities:
Hash data using sha1

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

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

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x13c]
mov ecx, dword [esi + 0x20]
push edi
lea eax, [esi + 0x2c]
push 0
mov dword [esp + 0x14], eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
push 8
push eax
push ecx
call fcn.004e68d0
mov edi, dword [esi + 0x20]
and edi, 0x3f
mov byte [edi + esi + 0x2c], 0x80
inc edi
mov ebp, eax
mov ebx, edx
cmp edi, 0x38
je 0x468cba
and edi, 0x3f
jne 0x468cac
push esi
call fcn.00468750
mov edx, dword [esp + 0x10]
mov byte [edx + edi], 0
inc edi
cmp edi, 0x38
jne 0x468ca1
mov eax, ebx
shr eax, 0x18
mov byte [edi + esi + 0x2c], al
shld ebx, ebp, 8
shl ebp, 8
mov ecx, ebx
mov edx, ecx
shr edx, 0x18
mov byte [edi + esi + 0x2d], dl
mov eax, ebp
shld ecx, eax, 8
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [edi + esi + 0x2e], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x2f], dl
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [edi + esi + 0x30], dl
mov edx, ecx
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 0x14], eax
mov eax, ecx
shr edx, 0x18
shr eax, 0x18
shr ecx, 0x10
push esi
mov byte [edi + esi + 0x31], dl
mov byte [edi + esi + 0x32], al
mov byte [edi + esi + 0x33], cl
call fcn.00468750
mov edi, dword [esp + 0x144]
xor ebp, ebp
xor eax, eax
mov edx, eax
and edx, 3
mov ecx, 3
sub ecx, edx
add ecx, ecx
mov edx, eax
shr edx, 2
mov edx, dword [esi + edx*4]
add ecx, ecx
add ecx, ecx
shr edx, cl
inc eax
mov byte [eax + edi - 1], dl
cmp eax, 0x20
jb 0x468d43
push 0x20
lea eax, [esp + 0x20]
push eax
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
call fcn.00466920
push 0x100
lea ecx, [esp + 0x40]
push ecx
call fcn.00466920
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
jmp fcn.00466920

Function at 0x469cc0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x469d13
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push SysReAllocString
push 0xd
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret
Function at 0x469da0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
mov esi, dword [esp + 0x100c]
push 0x800
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x469dec
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1004
ret 4
push 0x800
lea ecx, [esp + 8]
push ecx
push esi
mov edx, ecx
push edx
call fcn.00452cb0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x1004]
pop esi
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1004
ret 4
Function at 0x46a9b0
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x46aa2d
push ebx
push edi
lea ebx, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x46a930
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x46aa08
push str.CreateThread_failed
push 0x531158
call fcn.0043f6f0
add esp, 8
mov ecx, 0x531158
call fcn.0043f4b0
push 2
mov ecx, 0x531158
call fcn.0043f340
mov dword [ebx], edi
inc dword [esi + 0x84]
mov eax, dword [0x53b40c]
test eax, eax
je 0x46aa23
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebp
add ebx, 4
cmp ebp, dword [esi]
jb 0x46a9c0
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret