joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4abd4d
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x504c
call fcn.004e3eb0
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x800
lea eax, [ebp - 0x3008]
push ebx
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x4abf16
cmp eax, ebx
jae 0x4abf16
push ebx
lea eax, [ebp - 0x4008]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x4abf16
cmp eax, ebx
jae 0x4abf16
lea ecx, [ebp - 0x3008]
call fcn.00498e0f
lea ecx, [ebp - 0x4008]
mov dword [ebp - 0x504c], eax
call fcn.00498e0f
mov edi, eax
xor ebx, ebx
cmp word [edi], bx
je 0x4abf16
mov ecx, dword [ebp - 0x504c]
mov edx, edi
call fcn.004961b1
test eax, eax
je 0x4abf16
mov ecx, esi
call fcn.00498e0f
mov edx, edi
mov ecx, eax
call fcn.004961b1
test eax, eax
jne 0x4abf16
mov word [ebp - 0x1008], ax
mov edi, ebx
test ax, ax
jne 0x4abe78
push 0x800
mov edx, esi
lea ecx, [ebp - 0x1008]
call fcn.00498a2a
pop ecx
push edi
push 0x506d7c
push 0x800
lea ecx, [ebp - 0x1008]
call fcn.00498e0f
push eax
call fcn.00498a88
add esp, 0x10
lea ecx, [ebp - 0x1008]
call fcn.004a0d47
cmp eax, 0xffffffff
je 0x4abe5d
xor eax, eax
mov word [ebp - 0x1008], ax
jmp 0x4abe64
mov ax, word [ebp - 0x1008]
add edi, 0x7b
cmp edi, 0x2710
jl 0x4abe0b
test ax, ax
je 0x4abf16
push 0x800
mov edx, esi
lea ecx, [ebp - 0x2008]
call fcn.00498a2a
mov edx, dword [ebp - 0x504c]
lea ecx, [ebp - 0x2008]
call fcn.00499019
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x1008]
pop ecx
push eax
lea eax, [ebp - 0x2008]
push eax
call edi
test eax, eax
je 0x4abf16
lea ecx, [ebp - 0x5048]
call fcn.0049ffe4
mov ecx, esi
call fcn.004a0d47
cmp eax, 0xffffffff
jne 0x4abedd
push 0x12
push esi
lea ecx, [ebp - 0x5048]
call fcn.004a01ee
mov bl, al
lea eax, [ebp - 0x2008]
push eax
lea eax, [ebp - 0x1008]
push eax
call edi
test bl, bl
je 0x4abf07
lea ecx, [ebp - 0x5048]
call fcn.004a0322
lea ecx, [ebp - 0x5048]
call fcn.004a039b
lea ecx, [ebp - 0x5048]
call fcn.004a004d
mov al, 1
jmp 0x4abf18
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret
Function at 0x4ac045
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
push 0x4f12d4
inc edi
xor ebx, ebx
push edi
push ebx
push 0x4f12e4
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4ac076
xor al, al
jmp 0x4ac156
push esi
push 0xc
mov dword [ebp - 4], ebx
call fcn.004b7b0e
mov esi, eax
pop ecx
test esi, esi
je 0x4ac1e7
push 0x506db4
mov dword [esi + 4], ebx
mov dword [esi + 8], edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4ac1e7
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push dword [esi]
mov dword [ebp - 0x18], esi
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004abfec
test esi, esi
js 0x4ac14a
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4ac141
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
call fcn.004abfaa
mov eax, dword [eax]
test eax, eax
je 0x4ac0fe
mov esi, dword [eax]
jmp 0x4ac100
mov esi, ebx
push 0x506db0
lea ecx, [ebp - 0x18]
call fcn.004abfaa
mov eax, dword [eax]
test eax, eax
je 0x4ac117
mov edx, dword [eax]
jmp 0x4ac119
mov edx, ebx
mov eax, dword [ebp - 4]
lea edi, [ebp - 0xc]
push edi
push ebx
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004abfec
lea ecx, [ebp - 0x1c]
call fcn.004abfec
test esi, esi
jns 0x4ac15a
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
pop esi
pop edi
pop ebx
leave
ret
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
test ecx, ecx
je 0x4ac1c5
xor esi, esi
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], esi
je 0x4ac1c5
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
push esi
push esi
push edx
mov ecx, dword [eax]
push esi
push 0x504978
push eax
call dword [ecx + 0x10]
push str.Windows_10
push dword [ebp - 0x24]
call fcn.004b93d4
test eax, eax
pop ecx
setne al
or bl, al
lea eax, [ebp - 0x2c]
pop ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
jne 0x4ac169
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
jmp 0x4ac155
push 0x8007000e
call fcn.004e57f0
int3
Function at 0x4ac1f2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
cmp dword [ebx + 4], esi
jne 0x4ac234
push edi
push 8
mov edi, esi
pop ebx
mov edx, edi
mov ecx, edi
shr edx, 1
mov eax, edx
mov edi, edx
xor eax, 0xedb88320
test cl, 1
cmovne edi, eax
sub ebx, 1
jne 0x4ac20a
mov ebx, dword [ebp - 4]
mov dword [ebx + esi*4], edi
inc esi
cmp esi, 0x100
jb 0x4ac205
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4ac238
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], edx
test esi, esi
je 0x4ac26a
test dl, 7
je 0x4ac267
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x51afe0]
inc edx
sub esi, 1
jne 0x4ac24a
mov dword [ebp - 4], edx
cmp esi, 8
jb 0x4ac2fa
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x51b3e0]
xor ecx, dword [eax*4 + 0x51b7e0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x51c3e0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51c7e0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51afe0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x51bfe0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x51cbe0]
movzx eax, dl
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 4], edx
xor ecx, dword [eax*4 + 0x51bbe0]
mov ebx, ecx
sub edi, 1
jne 0x4ac279
pop edi
test esi, esi
je 0x4ac316
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x51afe0]
inc edx
sub esi, 1
jne 0x4ac2fe
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4acbcc
Capabilities:
Hash data using sha256

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x124], edi
lea edx, [edi + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [ebp + ecx*4 - 0x104], eax
inc ecx
cmp ecx, 0x10
jb 0x4acc2d
push ebx
push esi
push 0x30
lea ebx, [ebp - 0xcc]
pop edi
mov ecx, dword [ebx]
mov esi, ecx
mov edx, dword [ebx - 0x34]
lea ebx, [ebx + 4]
mov eax, ecx
ror esi, 0x13
ror eax, 0x11
xor esi, eax
shr ecx, 0xa
xor esi, ecx
mov eax, edx
mov ecx, edx
ror eax, 7
ror ecx, 0x12
xor ecx, eax
shr edx, 3
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x4acc4c
mov edi, dword [ebp - 0x124]
xor ebx, ebx
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x120], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [ebp - 0x128]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x11c], eax
mov esi, edi
ror edx, 0x16
ror esi, 0x19
mov eax, edi
ror eax, 0xb
mov ecx, edi
xor esi, eax
not ecx
and ecx, dword [ebp - 0x110]
mov eax, edi
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 0x114]
and eax, edi
xor ecx, eax
mov eax, dword [ebp - 0x110]
add esi, ecx
mov dword [ebp - 0x12c], eax
add esi, dword [ebx + 0x4f2c18]
add esi, dword [ebp + ebx - 0x104]
add ebx, 4
add esi, dword [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x130], eax
mov eax, edi
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x10c]
ror eax, 0xd
xor edx, eax
mov dword [ebp - 0x114], edi
mov eax, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x120]
ror eax, 2
add edi, esi
xor edx, eax
mov eax, dword [ebp - 0x118]
mov ecx, eax
and eax, dword [ebp - 0x108]
xor ecx, dword [ebp - 0x108]
and ecx, dword [ebp - 0x10c]
xor ecx, eax
mov eax, dword [ebp - 0x118]
add edx, ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x13c], eax
add edx, esi
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x148], edx
cmp ebx, 0x100
jb 0x4accdb
movups xmm0, xmmword [ebp - 0x148]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x138], edi
xor ecx, ebp
mov edi, dword [ebp - 0x124]
pop esi
pop ebx
movups xmm1, xmmword [edi]
paddd xmm1, xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [edi], xmm1
movups xmm1, xmmword [ebp - 0x138]
paddd xmm1, xmm0
movups xmmword [edi + 0x10], xmm1
pop edi
call fcn.004b7879
leave
ret
Function at 0x4ad7e2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x4ad858
push edi
lea edi, [esi + 4]
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4ad85c
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4ad835
push str.CreateThread_failed
push 0x515c44
call fcn.0049e47e
pop ecx
pop ecx
push 2
mov ecx, 0x515c44
call fcn.0049e566
mov eax, dword [ebp - 4]
mov dword [edi], eax
inc dword [esi + 0x104]
mov eax, dword [0x5192b0]
test eax, eax
je 0x4ad84f
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x4ad7f5
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4af4f7
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret
Function at 0x4afd06
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push ecx
push ecx
mov edx, ecx
push esi
mov esi, dword [ebx + 0xc]
push edi
mov edi, dword [ebx + 0x10]
lea eax, [edx + 0x18]
mov dword [ebp - 4], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x4afd93
mov ecx, dword [ebx + 8]
mov eax, ecx
add ecx, 0x10
mov dword [ebx + 8], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 4]
dec ecx
movups xmm1, xmmword [eax]
xorps xmm1, xmm3
test ecx, ecx
jle 0x4afd71
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 4]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x4afd61
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x4afd83
xorps xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x4afd35
pop edi
movups xmmword [edx + 8], xmm2
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
Function at 0x4aff95
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 4], ecx
jle 0x4b003e
push ebx
push esi
lea ebx, [eax + 0x28]
push edi
mov dword [ebp - 0x20], ebx
lea eax, [ebx + 2]
xor esi, esi
mov dword [ebp - 0x24], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
add ebx, esi
mov edi, eax
movzx eax, byte [edi + 1]
movzx ecx, byte [edi - 1]
mov dl, byte [esi + eax*4 + 0x51d3e0]
movzx eax, byte [edi - 2]
xor dl, byte [esi + ecx*4 + 0x51dfe0]
xor dl, byte [esi + eax*4 + 0x51cfe0]
movzx eax, byte [edi]
lea edi, [edi + 4]
xor dl, byte [esi + eax*4 + 0x51f0e0]
sub dword [ebp - 0x18], 1
mov byte [ebx], dl
lea ebx, [ebx + 4]
jne 0x4affd8
mov eax, dword [ebp - 0x24]
inc esi
cmp esi, 4
jl 0x4affca
mov ebx, dword [ebp - 0x20]
lea esi, [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov edi, ebx
mov eax, dword [ebp - 0x28]
inc ecx
add ebx, 0x10
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp ecx, dword [eax + 4]
jl 0x4affc2
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7879
leave
ret

Function at 0x4b004a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, dl
xor ah, ah
push ebx
mov byte [ebp - 1], al
mov bh, cl
mov bl, al
mov al, ah
xor al, bh
and bl, 1
movzx ecx, al
test bl, bl
movzx eax, ah
cmove ecx, eax
mov al, bh
add al, al
mov ah, cl
mov cl, al
movzx edx, al
mov al, byte [ebp - 1]
xor cl, 0x1b
test bh, bh
movzx ecx, cl
cmovs edx, ecx
shr al, 1
mov bh, dl
mov byte [ebp - 1], al
jne 0x4b0058
pop ebx
mov al, ah
leave
ret
Function at 0x4b0093
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov ecx, edi
movzx eax, byte [ecx + 0x4f2d30]
mov byte [eax + 0x51ebe0], cl
inc ecx
cmp ecx, 0x100
jl 0x4b009a
mov bl, byte [edi + 0x4f2d30]
mov dl, 2
mov cl, bl
mov byte [edi*4 + 0x51d7e1], bl
mov byte [edi*4 + 0x51d7e0], bl
mov byte [edi*4 + 0x51f4e3], bl
mov byte [edi*4 + 0x51f4e0], bl
mov byte [edi*4 + 0x51e3e3], bl
mov byte [edi*4 + 0x51e3e2], bl
mov byte [edi*4 + 0x51f8e2], bl
mov byte [edi*4 + 0x51f8e1], bl
call fcn.004b004a
mov dl, 3
mov byte [edi*4 + 0x51d7e3], al
mov cl, bl
mov byte [edi*4 + 0x51f4e2], al
mov byte [edi*4 + 0x51e3e1], al
mov byte [edi*4 + 0x51f8e0], al
call fcn.004b004a
mov bl, byte [edi + 0x51ebe0]
mov dl, 0xb
mov cl, bl
mov byte [edi*4 + 0x51d7e2], al
mov byte [edi*4 + 0x51f4e1], al
mov byte [edi*4 + 0x51e3e0], al
mov byte [edi*4 + 0x51f8e3], al
call fcn.004b004a
movzx esi, bl
mov dl, 9
mov cl, bl
mov byte [edi*4 + 0x51e7e2], al
mov byte [edi*4 + 0x51ece1], al
mov byte [edi*4 + 0x51fce0], al
mov byte [edi*4 + 0x51dbe3], al
mov byte [esi*4 + 0x51d3e2], al
mov byte [esi*4 + 0x51f0e1], al
mov byte [esi*4 + 0x51dfe0], al
mov byte [esi*4 + 0x51cfe3], al
call fcn.004b004a
mov dl, 0xd
mov byte [edi*4 + 0x51e7e0], al
mov cl, bl
mov byte [edi*4 + 0x51ece3], al
mov byte [edi*4 + 0x51fce2], al
mov byte [edi*4 + 0x51dbe1], al
mov byte [esi*4 + 0x51d3e0], al
mov byte [esi*4 + 0x51f0e3], al
mov byte [esi*4 + 0x51dfe2], al
mov byte [esi*4 + 0x51cfe1], al
call fcn.004b004a
mov dl, 0xe
mov byte [edi*4 + 0x51e7e1], al
mov cl, bl
mov byte [edi*4 + 0x51ece0], al
mov byte [edi*4 + 0x51fce3], al
mov byte [edi*4 + 0x51dbe2], al
mov byte [esi*4 + 0x51d3e1], al
mov byte [esi*4 + 0x51f0e0], al
mov byte [esi*4 + 0x51dfe3], al
mov byte [esi*4 + 0x51cfe2], al
call fcn.004b004a
mov byte [edi*4 + 0x51e7e3], al
mov byte [edi*4 + 0x51ece2], al
mov byte [edi*4 + 0x51fce1], al
mov byte [edi*4 + 0x51dbe0], al
inc edi
mov byte [esi*4 + 0x51d3e3], al
mov byte [esi*4 + 0x51f0e2], al
mov byte [esi*4 + 0x51dfe1], al
mov byte [esi*4 + 0x51cfe0], al
cmp edi, 0x100
jl 0x4b00b0
pop edi
pop esi
pop ebx
ret

Function at 0x4b15d1
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
cmp dword [0x519c04], 2
push esi
push edi
mov edi, edx
mov esi, ecx
jl 0x4b1611
movaps xmm0, xmmword [0x507240]
movaps xmmword [0x5200e0], xmm0
movaps xmm0, xmmword [0x507210]
movaps xmmword [0x5200f0], xmm0
push 0xf0
push 0
push esi
call fcn.004b8c50
add esp, 0xc
xor edx, edx
mov dword [esi + 0x100], edx
mov byte [esi + 0x104], dl
mov ecx, dword [esi + 0xf4]
mov eax, dword [edx + 0x4f2ed0]
mov dword [edx + ecx], eax
add edx, 4
cmp edx, 0x20
jl 0x4b162f
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edi
mov ecx, dword [esi + 0xf4]
mov eax, dword [ebx + 8]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4b1dde
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4b1e01
xor eax, eax
jmp 0x4b1f37
push ebx
lea ebx, [edx - 4]
or ecx, 0xffffffff
add ebx, eax
mov dword [ebp - 0x14], ebx
lea edx, [edi + eax]
cmp edx, ebx
jae 0x4b1e24
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4b1e21
inc edx
cmp edx, ebx
jb 0x4b1e14
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
mov eax, edi
sub eax, ecx
cmp edx, ebx
jae 0x4b1f1f
cmp eax, 3
jbe 0x4b1e5b
xor esi, esi
mov al, byte [edx + 4]
mov ecx, edi
mov dword [ebp - 0x10], ecx
test al, al
je 0x4b1e97
cmp al, 0xff
je 0x4b1e97
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x4b1f18
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x4b1e3b
cmp byte [esi + 0x4f2ef0], 0
je 0x4b1e84
movzx eax, byte [esi + 0x4f2ef8]
mov ecx, edx
sub ecx, eax
mov al, byte [ecx + 4]
test al, al
je 0x4b1e84
cmp al, 0xff
jne 0x4b1e3b
and esi, 3
mov ecx, edi
add esi, esi
or esi, 1
inc edi
mov eax, dword [ebp - 4]
jmp 0x4b1e0d
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0xc], ebx
test esi, esi
je 0x4b1ef0
movzx eax, byte [esi + 0x4f2ef8]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x4b1edf
cmp al, 0xff
jne 0x4b1ef0
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 8]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0xc]
jmp 0x4b1eb5
mov ecx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 0x18
and al, 1
mov byte [edx + 1], bl
neg al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x4b1e8f
lea ecx, [eax - 1]
shl esi, cl
xor ecx, ecx
and esi, 7
cmp eax, 3
mov eax, dword [ebp + 0xc]
cmova esi, ecx
pop ebx
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4b8052
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b8091
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b8091
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b8091
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4b8091
cmp dword [ecx + 0x74], 0xe
jbe 0x4b8091
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4c68f2
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x4ebc3c
push esi
call fcn.004d3587
pop ecx
pop ecx
test eax, eax
jne 0x4c6920
xor al, al
jmp 0x4c699d
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.004c6633
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x4c695a
push dword [ebp - 0x210]
call fcn.004c5e5a
xor al, al
jmp 0x4c699b
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4c6960
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x4c6980
push edx
call fcn.004c6829
pop ecx
test al, al
je 0x4c694b
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4c698e
mov bl, 1
push dword [ebp - 0x210]
call fcn.004c5e5a
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b7879
leave
ret
Function at 0x4cbe1c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004e3eb0
mov eax, dword [0x513010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.004d1d0b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4cbe5e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4cbfba
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004e3d40
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5187f0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.004d7721
mov ecx, dword [esi*4 + 0x5187f0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4cbfb3
cmp eax, dword [ecx + edi + 0x24]
jne 0x4cbfb3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4cbfb3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004d7721
add esp, 0x14
test edx, edx
jl 0x4cbfb3
jg 0x4cbf29
test eax, eax
jb 0x4cbfb3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4cbfb3
jl 0x4cbf43
cmp dword [ebp - 0x1008], eax
ja 0x4cbfb3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4cbf61
test ebx, ebx
je 0x4cbf9a
cmp ecx, edi
jae 0x4cbf9a
mov al, byte [ecx]
cmp al, 0xd
jne 0x4cbf7b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4cbf87
cmp byte [ecx + 1], 0xa
jne 0x4cbf87
inc ecx
jmp 0x4cbf87
movzx eax, al
movsx eax, byte [eax + 0x5133d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4cbf61
cmp edx, ebx
jne 0x4cbf61
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4cbfb8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b7879
leave
ret

Function at 0x4d0bf0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ec620
push 0x4ec618
push str.FlsAlloc
push 0x1f
call fcn.004d0a5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d0c24
push dword [ebp + 8]
mov ecx, esi
call dword [0x4e9824]
call esi
jmp 0x4d0c2a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4d0c6e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4ec630
push 0x4ec628
push str.FlsGetValue
push 0x21
call fcn.004d0a5b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d0ca5
push dword [ebp + 8]
mov ecx, esi
call dword [0x4e9824]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]