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

Disassembly:
sub esp, 0xb8
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xbc]
add ecx, 0xffffff88
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0x44], 0
push edi
lea edi, [esp + 0x40]
mov dword [esp + 0x44], 0
add eax, 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
lea ebx, [ebx]
cmp ebx, ecx
jge 0x47411c
lea edx, [esp + 0x4c]
mov ebp, dword [edi]
sub edx, 2
mov edi, dword [esp + 0x28]
mov ecx, edx
lea esi, [esp + 0x4c]
neg ecx
sub esi, edx
add esi, 0xfffffffd
add edi, ebx
lea eax, [edx + 3]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
add eax, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4d]
add eax, ecx
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
sub eax, edx
dec eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4e]
add eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, ebx
mov dword [esp + 0x34], eax
dec ecx
mov eax, 0x88888889
mul ecx
mov ecx, edx
shr ecx, 0xa
inc ecx
mov dword [esp + 0x14], ecx
xor eax, eax
jmp 0x474070
mov dl, byte [edi + eax - 1]
movzx ecx, byte [edi + eax - 2]
sub cl, dl
mov byte [esp + eax + 0x4d], dl
mov byte [esp + eax + 0x4c], cl
movzx ecx, byte [edi + eax]
sub cl, dl
mov byte [esp + eax + 0x4e], cl
add eax, 3
cmp eax, 0x78
jl 0x474070
mov ebx, dword [esp + 0x2c]
mov edi, 0x27
mov edi, edi
mov eax, dword [esp + 0x30]
lea ebx, [ebx + 3]
movzx eax, byte [ebx + eax - 3]
sub al, byte [esi + ebx - 3]
movsx eax, al
cdq
mov esi, eax
mov eax, dword [esp + 0x34]
xor esi, edx
sub esi, edx
mov cl, byte [ebx + eax - 3]
mov eax, dword [esp + 0x38]
sub cl, byte [eax + ebx - 3]
movsx eax, cl
cdq
xor eax, edx
sub eax, edx
add esi, eax
mov eax, dword [esp + 0x3c]
movzx eax, byte [ebx + eax - 3]
sub al, byte [ebx - 3]
movsx eax, al
cdq
xor eax, edx
sub eax, edx
add ebp, eax
add ebp, esi
mov esi, dword [esp + 0x18]
sub edi, 1
jne 0x4740a0
mov edi, dword [esp + 0x10]
add edi, 0x780
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], edi
jne 0x474064
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [edi], ebp
inc ebx
add edi, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
cmp ebx, 2
jle 0x473ff0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
cmp eax, edx
ja 0x474162
cmp eax, ecx
ja 0x474162
xor eax, eax
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004ebbd8
add esp, 0xb8
ret 8
cmp ecx, edx
mov ecx, dword [esp + 0xb4]
sbb eax, eax
xor ecx, esp
neg eax
inc eax
call fcn.004ebbd8
add esp, 0xb8
ret 8
Function at 0x4780f0
Capabilities:
Get common file path

Disassembly:
sub esp, 8
call fcn.004a04f0
test al, al
jne 0x478102
add esp, 8
ret 0xc
push ebx
push edi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov edi, dword [esp + 0x14]
xor eax, eax
xor bl, bl
mov word [edi], ax
lea eax, [esp + 8]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x47817c
push edi
push dword [esp + 0xc]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x47817c
cmp word [edi], 0
je 0x47817c
push dword [esp + 0x18]
push edi
call fcn.00477290
push dword [esp + 0x18]
push 0x50e0ac
push edi
call fcn.0048e6d0
push edi
call fcn.00469360
mov bl, al
test bl, bl
jne 0x47817c
cmp byte [esp + 0x1c], al
je 0x47817c
push 0
push 0
push edi
call fcn.004698f0
test eax, eax
sete bl
mov eax, dword [esp + 0xc]
push dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
pop edi
mov al, bl
pop ebx
add esp, 8
ret 0xc

Function at 0x4783d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
push 1
push 0
push 0x50fb88
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x478427
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.AppData
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esi], 0
je 0x478437
push esi
call fcn.00469360
test al, al
jne 0x478473
push dword [esp + 0x18]
push edi
push esi
call fcn.004780f0
test al, al
jne 0x478473
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.00478eb0
lea ecx, [esi + 4]
cmp eax, ecx
jb 0x47846e
cmp word [esi + 2], 0x3a
jne 0x47846b
lea ecx, [esi + 8]
cmp eax, ecx
jb 0x47846e
sub eax, 2
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x4785a0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebp
mov ebp, dword [esp + 0x1010]
push esi
mov esi, dword [esp + 0x1010]
movzx eax, word [esi]
test ax, ax
jne 0x4785d7
xor al, al
jmp 0x478808
push ebx
push eax
call fcn.0048e4d0
mov ebx, esi
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4785e3
movzx eax, word [esi]
sub ebx, ecx
sar ebx, 1
push edi
cmp eax, 0x5c
jne 0x478604
cmp word [esi + 2], ax
lea edi, [esi + 2]
je 0x47863a
push eax
call fcn.0048e4d0
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x4786f7
cmp word [esi + 2], 0x3a
lea edi, [esi + 2]
jne 0x4786f7
movzx eax, word [esi + 4]
cmp eax, 0x5c
je 0x47863a
cmp eax, 0x2f
jne 0x4786f7
movzx eax, word [esi]
push eax
call fcn.0048e4d0
movzx eax, ax
add eax, 0xffffffbf
cmp ax, 0x19
ja 0x478697
cmp word [edi], 0x3a
jne 0x478697
lea eax, [ebx + 4]
cmp dword [esp + 0x1020], eax
jbe 0x478804
push 4
push 0x50fc44
push ebp
call fcn.004f295e
add esp, 0xc
sub ebp, esi
jmp 0x478680
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ebp + 6], ax
test ax, ax
jne 0x478680
mov al, 1
jmp 0x478806
cmp word [esi], 0x5c
jne 0x478804
cmp word [edi], 0x5c
jne 0x478804
lea eax, [ebx + 6]
cmp dword [esp + 0x1020], eax
jbe 0x478804
push 4
push 0x50fc44
push ebp
call fcn.004f295e
mov eax, dword [0x50fc50]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [0x50fc54]
mov dword [ebp + 0xc], eax
sub ebp, edi
lea ecx, [ecx]
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [edi + ebp + 0xc], ax
test ax, ax
jne 0x4786e0
mov al, 1
jmp 0x478806
lea eax, [esp + 0x10]
push eax
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x478804
cmp eax, 0x7ff
ja 0x478804
movzx eax, word [esi]
cmp eax, 0x5c
je 0x4787b8
cmp eax, 0x2f
je 0x4787b8
push 0x800
lea eax, [esp + 0x14]
push eax
call fcn.00477290
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478745
mov edi, dword [esp + 0x1020]
lea eax, [ebx + 4]
sub ecx, edx
sar ecx, 1
add eax, ecx
cmp edi, eax
jbe 0x478804
push 4
push 0x50fc44
push ebp
call fcn.004f295e
lea ecx, [esp + 0x1c]
mov eax, ebp
mov edx, ecx
add esp, 0xc
sub eax, edx
lea edx, [eax + 8]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x478785
cmp word [esi], 0x2e
jne 0x4787ac
movzx eax, word [esi + 2]
push eax
call fcn.004789a0
test al, al
je 0x4787ac
add esi, 4
push edi
push esi
push ebp
call fcn.0048e6d0
mov al, 1
jmp 0x478806
lea eax, [ebx + 6]
cmp dword [esp + 0x1020], eax
jbe 0x478804
push 4
push 0x50fc44
push ebp
call fcn.004f295e
push 2
lea eax, [esp + 0x20]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004f295e
add esp, 0x18
sub ebp, esi
jmp 0x4787f0
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [esi + ebp + 0xa], ax
test ax, ax
jne 0x4787f0
mov al, 1
jmp 0x478806
xor al, al
pop edi
pop ebx
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1004
ret 0xc
Function at 0x47cd50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x18]
mov eax, edi
mov dword [esi + 4], 0
mov dword [esi], 0
cmp edi, 0x8000
jb 0x47cd76
mov eax, 0x8000
mov ebp, dword [esp + 0x14]
push eax
push ebp
push dword [esi + 0xc]
call fcn.004edb80
mov eax, 1
add esp, 0xc
xor bl, bl
cmp edi, eax
jbe 0x47cd9a
xor bl, byte [eax + ebp]
inc eax
cmp eax, edi
jb 0x47cd92
push 8
mov ecx, esi
call fcn.0046b790
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x14], 0
cmp bl, byte [ebp]
jne 0x47cddf
push edi
push ebp
push 0xffffffffffffffff
call fcn.0045e330
xor edx, edx
not eax
xor ecx, ecx
cmp dword [ecx + 0x5265e4], eax
jne 0x47cdd6
cmp dword [ecx + 0x5265e0], edi
je 0x47cebc
add ecx, 0xc
inc edx
cmp ecx, 0x48
jb 0x47cdc2
inc dword [esi + 4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jbe 0x47ce4d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47ce12
cmp ecx, eax
jbe 0x47ce12
push eax
push str.Maximum_allowed_array_size___u__is_exceeded
push 0x56df60
call fcn.00462d50
add esp, 0xc
mov ecx, 0x56df60
call fcn.00462de0
mov eax, dword [esi + 8]
mov edi, dword [esi + 4]
shr eax, 2
add eax, 0x20
add eax, dword [esi + 8]
cmp edi, eax
ja 0x47ce27
mov edi, eax
lea eax, [edi + edi*4]
shl eax, 3
push eax
push dword [esi]
call fcn.004f2533
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x47ce48
mov ecx, 0x56df60
call fcn.00462de0
mov dword [esi], ebx
mov dword [esi + 8], edi
mov ecx, dword [esi + 0x14]
xor edi, edi
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*8], 0x16
mov dword [eax + ecx*8 + 0x18], 3
mov dword [eax + ecx*8 + 8], 3
lea ecx, [eax + ecx*8]
lea eax, [ecx + 0xc]
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x1c]
mov dword [ecx + 0x24], eax
cmp dword [esi + 0x14], edi
jle 0x47ceb5
xor edx, edx
lea ebx, [ebx]
mov ecx, dword [esi]
add ecx, edx
cmp dword [ecx + 0x14], 0
jne 0x47cea0
lea eax, [ecx + 0xc]
mov dword [ecx + 0x14], eax
cmp dword [ecx + 0x24], 0
jne 0x47ceac
lea eax, [ecx + 0x1c]
mov dword [ecx + 0x24], eax
inc edi
add edx, 0x28
cmp edi, dword [esi + 0x14]
jl 0x47ce90
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
lea eax, [edx + edx*2]
mov edi, dword [eax*4 + 0x5265e8]
test edi, edi
je 0x47cddf
push 1
mov ecx, esi
call fcn.0047c400
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi]
mov dword [eax + ecx*8], 0x28
mov dword [eax + ecx*8 + 0x18], 3
mov dword [eax + ecx*8 + 8], 3
lea ecx, [eax + ecx*8]
lea eax, [ecx + 0xc]
mov dword [eax], edi
pop edi
pop esi
mov dword [ecx + 0x14], eax
lea eax, [ecx + 0x1c]
pop ebp
mov dword [ecx + 0x24], eax
pop ebx
ret 0xc
Function at 0x487a00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x41c
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
push edi
mov edi, dword [esp + 0x428]
mov dword [esp + 0x14], ecx
mov dword [eax], 0x28
cmp byte [ecx + 0x20], 0
mov dword [esp + 0x18], eax
je 0x487a3e
or dword [eax + 4], 0x800
cmp dword [ecx], 0
je 0x487c19
cmp dword [esp + 0x42c], 0
jbe 0x487c19
push ebx
push ebp
add edi, 0x14
push esi
jmp 0x487a60
mov eax, dword [edi - 8]
push 5
push eax
push dword [0x56df20]
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x56df20]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x56df20]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
call fcn.004f2e54
mov esi, eax
add esp, 4
test esi, esi
jne 0x487aac
mov dword [edi], eax
jmp 0x487bea
push ebx
push ebp
push esi
call fcn.004edb80
mov eax, dword [esi]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
and eax, 0xffff0000
cmp eax, 0xffff0000
mov dword [esp + 0x14], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x18]
mov ecx, 0x56df2c
push eax
push ebp
sete byte [esp + 0x1f]
call fcn.00487280
test al, al
je 0x487b3d
cmp byte [esp + 0x13], 0
mov ebx, esi
je 0x487b01
lea ebx, [esi + 8]
movsx ecx, word [ebx + 0xe]
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x14]
imul ecx
movsx ecx, word [ebx + 0x10]
imul ecx, dword [esp + 0x18]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ebx + 0xe], ax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ebx + 0x10], ax
xor eax, eax
cmp byte [esp + 0x13], al
setne al
lea eax, [eax*4 + 9]
lea edx, [esi + eax*2]
mov eax, 0xffff
cmp word [edx], ax
jne 0x487b61
mov ecx, 2
jmp 0x487b7b
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487b66
sub ecx, ebx
mov eax, 0xffff
sar ecx, 1
inc ecx
cmp word [edx + ecx*2], ax
lea edx, [edx + ecx*2]
jne 0x487b8b
mov eax, 2
jmp 0x487ba0
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x487b90
sub eax, ebx
sar eax, 1
inc eax
push ebp
push 1
push 0x200
lea ecx, [esp + 0x34]
push ecx
lea eax, [edx + eax*2]
mov ecx, 0x56df2c
push eax
call fcn.00487330
lea eax, [esp + 0x28]
push eax
call fcn.004f253e
add esp, 4
mov dword [edi], eax
cmp dword [esp + 0x14], 0x64
jne 0x487be3
cmp dword [esp + 0x18], 0x64
jne 0x487be3
push esi
call fcn.004f252e
add esp, 4
jmp 0x487bea
or dword [edi - 0x10], 1
mov dword [edi - 8], esi
cmp dword [edi], 0
je 0x487bf3
or dword [edi - 0x10], 8
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x20], 0
je 0x487c05
mov eax, dword [esp + 0x24]
or dword [eax + 4], 0x10
add edi, 0x34
sub dword [esp + 0x438], 1
jne 0x487a60
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
pop edi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x41c
ret 0xc
Function at 0x4882d0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov eax, 0x2010
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x200c], eax
push esi
mov esi, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
cmp edi, esi
je 0x48830a
push dword [esp + 0x2024]
push esi
push edi
call fcn.0048e710
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareWinRARGeneral
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4883df
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x488330
sub ecx, edx
mov eax, 0x7ff
sar ecx, 1
sub eax, ecx
add eax, eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1018]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.LanguageFolder
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4883d5
mov word [esp + 0x14], ax
lea eax, [esp + 0x14]
push 0x800
push eax
lea eax, [esp + 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x800
lea eax, [esp + 0x18]
push eax
call fcn.00477290
push 0x800
push esi
call fcn.00478eb0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0048e6d0
lea eax, [esp + 0x14]
push eax
call fcn.00469360
test al, al
je 0x4883d5
push dword [esp + 0x2024]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0048e710
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2014]
pop edi
pop esi
xor ecx, esp
call fcn.004ebbd8
add esp, 0x2010
ret 0xc

Function at 0x488400
Capabilities:
Check os version

Disassembly:
mov eax, 0x1120
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x111c], eax
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x488439
push dword [0x56df20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x56df24]
mov dword [0x56df20], eax
mov byte [esi], 0
mov ecx, dword [esp + 0x112c]
test ecx, ecx
je 0x488462
lea edx, [esp + 0x120]
sub edx, ecx
lea ecx, [ecx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x488450
jmp 0x488477
push 0x800
lea eax, [esp + 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x800
push str.rarlng.dll
lea eax, [esp + 0x128]
push eax
call fcn.00478fb0
push 0x800
lea eax, [esp + 0x124]
push eax
push eax
call fcn.004882d0
lea eax, [esp + 4]
mov dword [esp + 4], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x14], 2
jne 0x4884e5
mov eax, dword [esp + 8]
cmp eax, 5
ja 0x4884d1
jne 0x4884e5
cmp word [esp + 0x118], 2
jb 0x4884e5
push 2
push 0
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4884f3
lea eax, [esp + 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [0x56df20], eax
setne al
mov byte [esi], al
test al, al
mov eax, dword [esp + 0x1128]
pop esi
mov dword [0x56df24], eax
jne 0x488515
mov dword [0x56df20], eax
mov ecx, dword [esp + 0x111c]
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1120
ret 8
Function at 0x488ec0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
cmp dword [esp + 8], 0
mov edx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
movups xmm2, xmmword [esi + 8]
lea edi, [esi + 0x18]
jbe 0x488f35
mov ecx, dword [esp + 0xc]
mov eax, ecx
add ecx, 0x10
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
dec ecx
add eax, eax
movups xmm1, xmmword [edi + eax*8]
pxor xmm1, xmm3
test ecx, ecx
jle 0x488f11
mov eax, ecx
shl eax, 4
add eax, edi
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x488f01
cmp byte [esi + 1], 0
movups xmm0, xmmword [edi]
aesdeclast xmm1, xmm0
je 0x488f23
pxor xmm1, xmm2
mov eax, edx
movaps xmm2, xmm3
add edx, 0x10
sub dword [esp + 0x10], 1
movups xmmword [eax], xmm1
jne 0x488ed6
pop edi
movups xmmword [esi + 8], xmm2
pop esi
ret 0xc
Function at 0x489400
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
movups xmm1, xmmword [esi + 8]
lea ecx, [esi + 0x18]
jbe 0x489476
mov eax, edi
add edi, 0x10
cmp byte [esi + 1], 0
movups xmm0, xmmword [eax]
je 0x489428
pxor xmm0, xmm1
movups xmm1, xmmword [ecx]
mov edx, dword [esi + 4]
pxor xmm1, xmm0
cmp edx, 1
jle 0x489454
lea eax, [ecx + 0x10]
lea ecx, [edx - 1]
lea ecx, [ecx]
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
aesenc xmm1, xmm0
sub ecx, 1
jne 0x489440
lea ecx, [esi + 0x18]
add edx, edx
movups xmm0, xmmword [ecx + edx*8]
mov edx, dword [esp + 0x14]
mov eax, edx
add edx, 0x10
sub dword [esp + 0x10], 1
aesenclast xmm1, xmm0
mov dword [esp + 0x14], edx
movups xmmword [eax], xmm1
jne 0x489416
pop edi
movups xmmword [esi + 8], xmm1
pop esi
ret 0xc

Function at 0x489480
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, ecx
push ebp
mov ebp, 1
mov dword [esp + 4], eax
cmp dword [eax + 4], ebp
jle 0x4895bf
push ebx
push esi
push edi
lea edi, [eax + 0x28]
lea esi, [eax + 0x2c]
lea esp, [esp]
xor eax, eax
jmp 0x4894c0
movzx ecx, byte [esi - 1]
movzx edx, byte [esi - 2]
movzx ebx, byte [eax + ecx*4 + 0x573db0]
xor bl, byte [eax + edx*4 + 0x5739b0]
movzx ecx, byte [esi - 3]
movzx edx, byte [esi + 2]
xor bl, byte [eax + ecx*4 + 0x5735b0]
movzx ecx, byte [esi - 4]
xor bl, byte [eax + ecx*4 + 0x5731b0]
movzx ecx, byte [esi + 3]
mov byte [esp + eax + 0x14], bl
movzx ebx, byte [eax + ecx*4 + 0x573db0]
xor bl, byte [eax + edx*4 + 0x5739b0]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 6]
xor bl, byte [eax + ecx*4 + 0x5735b0]
movzx ecx, byte [esi]
xor bl, byte [eax + ecx*4 + 0x5731b0]
movzx ecx, byte [esi + 7]
mov byte [esp + eax + 0x18], bl
movzx ebx, byte [eax + ecx*4 + 0x573db0]
xor bl, byte [eax + edx*4 + 0x5739b0]
movzx ecx, byte [esi + 5]
movzx edx, byte [esi + 0xa]
xor bl, byte [eax + ecx*4 + 0x5735b0]
movzx ecx, byte [esi + 4]
xor bl, byte [eax + ecx*4 + 0x5731b0]
movzx ecx, byte [esi + 0xb]
mov byte [esp + eax + 0x1c], bl
movzx ebx, byte [eax + ecx*4 + 0x573db0]
movzx ecx, byte [esi + 9]
xor bl, byte [eax + edx*4 + 0x5739b0]
xor bl, byte [eax + ecx*4 + 0x5735b0]
movzx ecx, byte [esi + 8]
xor bl, byte [eax + ecx*4 + 0x5731b0]
mov byte [esp + eax + 0x20], bl
inc eax
cmp eax, 4
jl 0x4894c0
mov eax, dword [esp + 0x14]
inc ebp
mov dword [edi], eax
add esi, 0x10
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0xc], eax
add edi, 0x10
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax + 4]
jl 0x4894b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.004ebbd8
add esp, 0x18
ret
Function at 0x48a840
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x48a865
push edi
push 0
push ebp
call fcn.004ee100
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edi
push ebp
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x20]
push eax
call fcn.0048a5a0
test al, al
jne 0x48a920
cmp dword [esp + 0x14], 0
push ebx
jne 0x48a8e0
cmp dword [esi + 0x24], edi
je 0x48a8b5
push dword [esi + 0x20]
call fcn.004ebd28
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ebd1f
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
xor ebx, ebx
test edi, edi
je 0x48a8e0
mov ebp, dword [esp + 0x1c]
nop
movzx edx, word [ebx + ebp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20]
mov eax, dword [eax + edx*4]
mov dword [ecx + ebx*4], eax
add ebx, 2
cmp ebx, edi
jb 0x48a8c0
mov ebp, dword [esp + 0x20]
jmp 0x48a8e0
mov ecx, dword [esi + 0xc]
xor edx, edx
imul ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
add ecx, dword [esp + 0x14]
mov ecx, dword [eax + ecx*4]
mov eax, dword [esi + 4]
mov ebx, dword [eax + ecx*4]
test edi, edi
je 0x48a919
mov edi, edi
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + edx*4]
mov eax, dword [esi]
add ecx, ebx
mov ax, word [eax + ecx*4]
xor word [edx + ebp], ax
add edx, 2
cmp edx, edi
jb 0x48a900
pop ebx
lea ebx, [ebx]
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x48b7f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1050
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x104c], eax
push ebx
push esi
mov esi, dword [esp + 0x105c]
mov ebx, ecx
cmp byte [esi], 0
je 0x48b90a
push ebp
push edi
lea edi, [ebx + 0x101e]
push edi
call fcn.00478eb0
mov ebp, eax
cmp ebp, edi
jbe 0x48b855
xor eax, eax
push edi
mov word [ebp - 2], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x5c
mov word [ebp - 2], cx
cmp eax, 0xffffffff
je 0x48b855
test eax, 0x400
je 0x48b855
mov byte [esi], 0
push str.System_Volume_Information_
push edi
call fcn.004ee823
add esp, 8
test eax, eax
jne 0x48b888
cmp byte [esi], al
je 0x48b908
mov ecx, dword [ebx + 0x40e8]
test ecx, ecx
je 0x48b88d
push 1
push 1
push eax
push edi
call fcn.0045c110
test al, al
je 0x48b88d
mov byte [esi], 0
jmp 0x48b908
cmp byte [esi], 0
je 0x48b908
mov ecx, dword [ebx + 0x30d8]
test ecx, ecx
je 0x48b8a2
push edi
call fcn.0048e7f0
mov ebp, dword [ebx + 0x30dc]
test ebp, ebp
je 0x48b8c5
mov esi, dword [ebx + 0x30e4]
mov ecx, ebp
push 1
call fcn.0049db90
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [eax + ecx*4 - 4], esi
push 0x800
lea eax, [esp + 0x60]
push eax
push edi
call fcn.00477320
lea eax, [esp + 0x5c]
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], 0x54
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], 1
call fcn.00490250
mov ecx, 0x56df60
call fcn.00463320
pop edi
pop ebp
mov ecx, dword [esp + 0x1054]
pop esi
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x1050
ret 4