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

Disassembly:
sub esp, 0x190
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x1a4]
push ebx
push ebp
mov ebp, dword [esp + 0x1a8]
push esi
push edi
mov edi, dword [esp + 0x1ac]
mov esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x14], eax
cmp byte [edi + 0x100], 0
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x10], eax
je 0x46e87e
mov ebx, dword [esp + 0x1a8]
test ebx, ebx
je 0x46e87e
push 0x80
lea eax, [esp + 0xa0]
mov dword [esi + 0xa98], ebx
push eax
mov ecx, edi
call fcn.004629f0
push 0x80
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00461c40
dec ebx
add esp, 0xc
cmp ebx, 4
ja case.default.0x46e713
jmp dword [ebx*4 + 0x46e89c]
mov cl, byte [esp + 0x1c]
mov word [esi + 0x10b5], 0
mov byte [esi + 0x10b4], 0
test cl, cl
je case.default.0x46e713
xor al, al
lea edx, [esp + 0x1c]
xor bl, bl
xor ah, ah
add al, cl
lea edx, [edx + 1]
add ah, cl
rol al, 1
xor bl, cl
mov cl, byte [edx]
test cl, cl
jne 0x46e740
mov byte [esi + 0x10b6], al
mov byte [esi + 0x10b5], bl
mov byte [esi + 0x10b4], ah
jmp case.default.0x46e713
lea eax, [esi + 0xba4]
push eax
call fcn.00470820
lea ecx, [esp + 0x20]
add esp, 4
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e780
sub ecx, edx
lea eax, [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
call fcn.004706f0
mov dl, byte [esp + 0x28]
add esp, 0xc
mov word [esi + 0x10b8], ax
shr eax, 0x10
mov word [esi + 0x10ba], ax
xor eax, eax
mov dword [esi + 0x10bc], eax
test dl, dl
je case.default.0x46e713
xor edi, edi
lea ebp, [esp + 0x1c]
xor ebx, ebx
movzx eax, dl
lea ebp, [ebp + 1]
movzx edx, dl
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0xba4]
xor ax, dx
xor bx, ax
mov word [esi + 0x10bc], bx
movzx eax, word [ecx + 0xba6]
add ax, dx
mov dl, byte [ebp]
add di, ax
mov word [esi + 0x10be], di
test dl, dl
jne 0x46e7c6
jmp case.default.0x46e713
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.0046e8b0
jmp case.default.0x46e713
push ebp
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
push edi
push dword [esp + 0x1b0]
call fcn.0046ebb0
jmp case.default.0x46e713
push dword [esp + 0x10]
lea eax, [esp + 0xa0]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x1c0]
push dword [esp + 0x24]
push ebp
push eax
push edi
push dword [esp + 0x1c0]
call fcn.0046ef90
lea eax, [esp + 0x1c]
push 0x80
push eax
call fcn.00462cf0
lea eax, [esp + 0xa4]
push 0x100
push eax
call fcn.00462cf0
add esp, 0x10
mov al, 1
jmp 0x46e880
xor al, al
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x190
ret 0x20
Function at 0x46f2a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [ecx + 0x10ac]
add edx, 2
push ebp
mov ebp, dword [ecx + 0x10b0]
push esi
mov esi, dword [ecx + 0x10a4]
push edi
mov edi, dword [ecx + 0x10a8]
mov dword [esp + 0x14], 4
jmp 0x46f2d0
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
xor esi, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10a4], esi
movzx eax, byte [edx - 5]
xor edi, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10a8], edi
movzx eax, byte [edx - 4]
xor ebx, dword [ecx + eax*4 + 0xba4]
mov dword [ecx + 0x10ac], ebx
movzx eax, byte [edx - 3]
xor ebp, dword [ecx + eax*4 + 0xba4]
sub dword [esp + 0x14], 1
mov dword [ecx + 0x10b0], ebp
jne 0x46f2d0
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x46f5b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x19c
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1a8]
push ebx
mov ebx, dword [esp + 0x1b4]
push ebp
mov ebp, dword [esp + 0x1bc]
push esi
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0x10], eax
mov eax, esi
push edi
mov edi, dword [esp + 0x1b0]
mov dword [esp + 0x18], edi
cmp esi, 0x40
jb 0x46f606
mov eax, 0x40
push eax
push ecx
lea eax, [esp + 0x14c]
push eax
call fcn.0043e210
add esp, 0xc
cmp esi, 0x44
jae 0x46f82e
lea eax, [esi + 1]
mov byte [esp + esi + 0x144], 0
cmp eax, 0x44
jae 0x46f82e
mov byte [esp + eax + 0x144], 0
lea eax, [esi + 2]
cmp eax, 0x44
jae 0x46f82e
push 0
push 0
push 0
mov byte [esp + eax + 0x150], 0
lea eax, [esp + 0x130]
push 0
push eax
lea eax, [esi + 4]
mov byte [esp + esi + 0x15b], 1
push eax
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1d0]
push edi
call fcn.0046f330
mov eax, dword [esp + 0x1f0]
lea esi, [esp + 0x148]
dec eax
mov dword [esp + 0x120], ebp
add esp, 0x24
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x104]
mov ecx, 8
mov dword [esp + 0xf0], 0x10
xor ebp, ebp
mov dword [esp + 0xf4], 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], eax
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], ebp
jmp 0x46f6f0
mov ebx, dword [esp + ebp + 0xec]
test ebx, ebx
je 0x46f7b1
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1b]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x198]
push eax
push 0x20
lea eax, [esp + 0x13c]
push eax
push dword [esp + 0x1d0]
push ebp
call fcn.0046f330
mov ecx, 8
lea esi, [esp + 0x1ac]
lea edi, [esp + 0x148]
add esp, 0x24
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x46f760
movzx ecx, byte [esp + eax + 0x124]
xor byte [esp + eax + 0x104], cl
movzx ecx, byte [esp + eax + 0x125]
xor byte [esp + eax + 0x105], cl
movzx ecx, byte [esp + eax + 0x126]
xor byte [esp + eax + 0x106], cl
movzx ecx, byte [esp + eax + 0x127]
xor byte [esp + eax + 0x107], cl
add eax, 4
cmp eax, 0x20
jb 0x46f760
sub ebx, 1
jne 0x46f703
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + ebp + 0xf8]
lea esi, [esp + 0x104]
add ebp, 4
mov ecx, 8
mov dword [esp + 0x14], ebp
rep movsd dword es:[edi], dword [esi]
cmp ebp, 0xc
jb 0x46f6f0
lea eax, [esp + 0x144]
push 0x44
push eax
call fcn.00462cf0
lea eax, [esp + 0x10c]
push 0x20
push eax
call fcn.00462cf0
lea eax, [esp + 0x134]
push 0x20
push eax
call fcn.00462cf0
lea eax, [esp + 0x1a0]
push 0x20
push eax
call fcn.00462cf0
mov ecx, dword [esp + 0x1c8]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x19c
ret
call fcn.0043d2f0
int3
Function at 0x46fc20
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x10], 1
jne 0x46fc37
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 8], eax
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0xc]
mov ebp, dword [esp + 0x14]
push 0
push eax
push ebx
push ebp
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x46fcdf
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x46fc8e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x46fc72
cmp eax, 3
jne 0x46fc8e
cmp ebx, 0x4e20
jbe 0x46fc8e
push 0x4e20
push ebp
mov ecx, esi
call fcn.0046fc20
pop esi
pop ebp
pop ebx
pop ecx
ret 8
cmp dword [esi + 0x10], 1
jne 0x46fca8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x46fca8
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
cmp dword [esi + 0x10], 0
jne 0x46fcd5
cmp ebx, 0x8000
jbe 0x46fcd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x21
jne 0x46fcd5
push 0x8000
push ebp
mov ecx, esi
call fcn.0046fc20
pop esi
pop ebp
pop ebx
pop ecx
ret 8
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0xc]
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x46fd80
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1010
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x101c]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1020]
mov dword [esp + 0x14], ecx
cmp byte [esi + 0x30], 0
mov dword [esi + 0x1034], 0
jne 0x46fdc8
test bl, 4
jne 0x46fdc8
xor al, al
jmp 0x46fdca
mov al, 1
push edi
mov edi, ebx
shr edi, 1
not edi
and edi, 1
inc edi
shl edi, 0x1e
test bl, 1
je 0x46fde3
or edi, 0x40000000
shr ebx, 3
not ebx
and ebx, 1
test al, al
je 0x46fdf2
or ebx, 2
cmp byte [esi + 0x24], 0
je 0x46fdfe
or edi, 0x100
push 0
push 0x8000000
push 3
push 0
push ebx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x46fe7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x1c]
push 0x800
push eax
push dword [esp + 0x20]
call fcn.00463d90
add esp, 0xc
test al, al
je 0x46fe6b
push 0
push 0x8000000
push 3
push 0
push ebx
push edi
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x46fe66
mov dword [esp + 0x10], eax
cmp ebp, 0xffffffff
jne 0x46fe7c
cmp dword [esp + 0x10], 2
jne 0x46fe7c
mov dword [esi + 0x1034], 1
cmp byte [esi + 0x24], 0
pop edi
je 0x46febb
cmp ebp, 0xffffffff
je 0x46febb
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
push 0
push ebp
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov byte [esi + 0x1c], 0
mov bl, 1
mov dword [esi + 0x10], 0
mov byte [esi + 0x15], 0
jmp 0x46fed2
cmp ebp, 0xffffffff
mov byte [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x15], 0
setne bl
je 0x46feee
push 0x800
push dword [esp + 0x18]
lea ecx, [esi + 0x32]
mov dword [esi + 8], ebp
push ecx
call fcn.00464c00
add esp, 0xc
mov byte [esi + 0x25], 0
mov ecx, dword [esp + 0x1018]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x1010
ret 8
Function at 0x4705d0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
test edi, edi
jne 0x4705e3
pop edi
mov al, 1
pop ebx
ret 8
cmp dword [ebx + 0x10], 1
jne 0x4705f4
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebx + 8], eax
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx + 0x10], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0
je 0x47065f
xor esi, esi
test edi, edi
je 0x47067b
jmp 0x470626
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, edi
sub eax, esi
cmp eax, 0x4000
jb 0x470636
mov eax, 0x4000
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esi + ebp]
push eax
push dword [ebx + 8]
call ecx
cmp eax, 1
sete cl
mov byte [esp + 0x18], cl
jne 0x470677
add esi, 0x4000
cmp esi, edi
jb 0x470620
jmp 0x470677
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebp
push dword [ebx + 8]
call ecx
cmp eax, 1
sete cl
mov byte [esp + 0x18], cl
test cl, cl
jne 0x4706e0
cmp byte [ebx + 0x1e], 0
je 0x4706e0
cmp dword [ebx + 0x10], 0
jne 0x4706e0
push 0
lea esi, [ebx + 0x32]
mov ecx, 0x4c71e4
push esi
call fcn.00462070
test al, al
je 0x4706d3
mov eax, dword [esp + 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, edi
jae 0x470600
test eax, eax
je 0x470600
mov esi, dword [ebx]
mov ecx, ebx
push 0
mov eax, dword [esi + 0x14]
call eax
sub eax, dword [esp + 0x18]
mov ecx, ebx
sbb edx, 0
push edx
push eax
call dword [esi + 0x10]
jmp 0x4705fa
push esi
push 0
mov ecx, 0x4c71e4
call fcn.00462870
mov al, byte [esp + 0x18]
pop esi
pop ebp
pop edi
mov byte [ebx + 0xc], 1
pop ebx
ret 8

Function at 0x4706f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x470723
test bl, 7
je 0x470723
movzx edx, byte [ebx]
inc ebx
movzx ecx, al
xor edx, ecx
shr eax, 8
mov dword [esp + 0x10], ebx
xor eax, dword [edx*4 + 0x4c7220]
sub esi, 1
jne 0x470702
cmp esi, 8
jb 0x4707b9
push edi
mov edi, esi
shr edi, 3
xor eax, dword [ebx]
sub esi, 8
mov ebx, dword [ebx + 4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4c7620]
xor edx, dword [ecx*4 + 0x4c7a20]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4c8620]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4c8a20]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4c7220]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x4c8220]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x4c7e20]
xor edx, dword [eax*4 + 0x4c8e20]
mov eax, edx
sub edi, 1
jne 0x470732
pop edi
test esi, esi
je 0x4707da
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4c7220]
sub esi, 1
jne 0x4707c0
pop esi
pop ebx
ret
Function at 0x4709f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a31b3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x98]
call fcn.0046d870
lea ecx, [esi + 0xac]
mov dword [ebp - 4], 0
call fcn.0046d870
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 1
call fcn.0046d870
push 0x10c0
mov byte [ebp - 4], 2
call fcn.0043ce07
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x470a6c
mov ecx, eax
call fcn.0046def0
jmp 0x470a6e
xor eax, eax
push 0x10c0
mov byte [ebp - 4], 2
mov dword [esi + 0x48], eax
call fcn.0043ce07
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x470a96
mov ecx, eax
call fcn.0046def0
jmp 0x470a98
xor eax, eax
mov dword [esi + 0x4c], eax
mov eax, esi
mov byte [esi], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [esi + 0x54], 0
mov byte [esi + 0x58], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x3c], 0
mov word [esi + 0xd4], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47c040
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edx, dword [esi + 0x20]
mov edi, edx
mov ebx, dword [esi + 0x24]
and edx, 0x3f
shld ebx, edi, 3
shl edi, 3
mov byte [edx + esi + 0x28], 0x80
inc edx
cmp edx, 0x38
je 0x47c0a6
jbe 0x47c08e
cmp edx, 0x40
jae 0x47c083
mov eax, 0x40
lea ecx, [esi + 0x28]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.0043e790
add esp, 0xc
push esi
call fcn.0047c3f0
add esp, 4
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x28]
add eax, edx
push 0
push eax
call fcn.0043e790
add esp, 0xc
bswap ebx
bswap edi
push esi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], edi
call fcn.0047c3f0
mov eax, dword [esi]
add esp, 4
mov ecx, dword [esp + 0x14]
bswap eax
pop edi
mov dword [ecx], eax
mov eax, dword [esi + 4]
bswap eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
bswap eax
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
bswap eax
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x10]
bswap eax
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x14]
bswap eax
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x18]
bswap eax
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
bswap eax
mov dword [ecx + 0x1c], 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], 0
mov dword [esi + 0x24], 0
pop esi
pop ebx
ret

Function at 0x47c150
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
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], 0
mov dword [eax + 0x24], 0
ret
Function at 0x47c3f0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x13c
mov eax, dword [0x4c400c]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [esp + 0x144]
xor ecx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ebx
lea edx, [ebx + 0x28]
mov eax, dword [edx]
lea edx, [edx + 4]
bswap eax
mov dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jb 0x47c418
lea eax, [esp + 0x80]
mov ebp, 0x30
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebp, 1
jne 0x47c435
mov eax, dword [ebx]
mov ebp, eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0x14]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], eax
mov eax, edi
rol eax, 7
mov dword [esp + 0x44], esi
mov esi, edi
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x38], ecx
mov eax, edi
mov dword [esp + 0x40], edx
ror eax, 6
mov ecx, edi
xor esi, eax
mov dword [esp + 0x24], edi
not ecx
mov dword [esp + 0x3c], edi
and ecx, dword [esp + 0x14]
mov eax, edx
and eax, edi
mov dword [esp + 0x30], ebp
xor ecx, eax
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add esi, ecx
add esi, dword [ebx + 0x4b0140]
add esi, dword [esp + ebx + 0x48]
add ebx, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add edi, esi
mov dword [esp + 0x14], edx
mov eax, ebp
rol eax, 0xa
mov edx, ebp
ror edx, 0xd
xor edx, eax
mov eax, ebp
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
and eax, dword [esp + 0x10]
xor ecx, dword [esp + 0x10]
and ecx, ebp
xor ecx, eax
mov eax, dword [esp + 0x1c]
add edx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x10]
mov eax, ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
lea ebp, [edx + esi]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cmp ebx, 0x100
jb 0x47c4a7
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add eax, ebp
add dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
add dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
add dword [ebx + 0xc], ecx
add dword [ebx + 0x10], edi
mov ecx, dword [esp + 0x3c]
add dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x40]
add dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x44]
add dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword [ebx], eax
pop ebx
xor ecx, esp
call fcn.0043cc06
add esp, 0x13c
ret
Function at 0x47d210
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3440
mov eax, dword fs:[0]
push eax
mov eax, 0x503c
call fcn.00497b90
mov eax, dword [0x4c400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x3010]
push 0x800
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x47d40e
cmp eax, 0x800
jae 0x47d40e
push 0x800
lea eax, [ebp - 0x4010]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x47d40e
cmp eax, 0x800
jae 0x47d40e
lea eax, [ebp - 0x3010]
push eax
call fcn.00464800
mov ebx, eax
lea eax, [ebp - 0x4010]
push eax
call fcn.00464800
mov esi, eax
add esp, 8
cmp word [esi], 0
je 0x47d40e
push esi
push ebx
call fcn.00461e80
add esp, 8
test eax, eax
je 0x47d40e
push esi
push edi
call fcn.00464800
add esp, 4
push eax
call fcn.00461e80
add esp, 8
test eax, eax
jne 0x47d40e
mov word [ebp - 0x1010], ax
xor esi, esi
test ax, ax
jne 0x47d363
push 0x800
lea eax, [ebp - 0x1010]
push edi
push eax
call fcn.00464c00
add esp, 0xc
lea eax, [ebp - 0x1010]
push esi
push str.rtmp_d
push 0x800
push eax
call fcn.00464800
add esp, 4
push eax
call fcn.00463500
lea eax, [ebp - 0x1010]
push eax
call fcn.0046d0a0
add esp, 0x14
test al, al
je 0x47d348
xor eax, eax
mov word [ebp - 0x1010], ax
jmp 0x47d34f
mov ax, word [ebp - 0x1010]
add esi, 0x7b
cmp esi, 0x2710
jl 0x47d2f0
test ax, ax
je 0x47d40e
push 0x800
lea eax, [ebp - 0x2010]
push edi
push eax
call fcn.00464c00
push 0x800
lea eax, [ebp - 0x2010]
push ebx
push eax
call fcn.00464900
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x1010]
add esp, 0x18
push eax
lea eax, [ebp - 0x2010]
push eax
call esi
test eax, eax
je 0x47d40e
lea ecx, [ebp - 0x5048]
call fcn.0046f840
push edi
mov dword [ebp - 4], 0
xor bl, bl
call fcn.0046d0a0
add esp, 4
test al, al
jne 0x47d3d5
push 0x12
push edi
lea ecx, [ebp - 0x5048]
call fcn.0046fae0
mov bl, al
lea eax, [ebp - 0x2010]
push eax
lea eax, [ebp - 0x1010]
push eax
call esi
test bl, bl
je 0x47d3ff
lea ecx, [ebp - 0x5048]
call fcn.0046fa80
lea ecx, [ebp - 0x5048]
call fcn.0046fbf0
lea ecx, [ebp - 0x5048]
call fcn.0046f890
mov al, 1
jmp 0x47d410
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043cc06
mov esp, ebp
pop ebp
ret
Function at 0x4809e0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x4c71fc], 2
jl 0x480a05
movaps xmm0, xmmword [0x4b03c0]
movaps xmmword [0x4ca380], xmm0
movaps xmm0, xmmword [0x4b03b0]
movaps xmmword [0x4ca390], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.0043e790
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret

Function at 0x480c80
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.0043e790
push 1
lea eax, [edi + 0x840]
mov dword [edi + 0xb48], 0
push 0
push eax
call fcn.004809e0
add esp, 0x18
mov dword [esp + 0xc], 0
lea esi, [edi + 0xf4]
cmp dword [0x4c71fc], 2
jl 0x480ce9
movaps xmm0, xmmword [0x4b03c0]
movaps xmmword [0x4ca380], xmm0
movaps xmm0, xmmword [0x4b03b0]
movaps xmmword [0x4ca390], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.0043e790
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 0xc], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x480cc4
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
ret