joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003970
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003a39
cmp byte [rcx + 0x71], 0
je 0x140003a39
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003a2c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400039e8
sub eax, 1
je 0x1400039ec
cmp eax, 2
jne 0x140003a2c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x140003a1a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140003a2c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002250]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002240]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400ff020
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400ff02d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400ff03d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400ff025
lea eax, [rcx + 1]
jmp 0x1400ff04b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400ff05e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400ff044
sub eax, 3
jb 0x1400ff07e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400ff0cd
sar eax, 1
movsxd rbp, eax
jb 0x1400ff0b4
jmp 0x1400ff08c
add ebx, ebx
jne 0x1400ff08a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ff0b4
inc ecx
add ebx, ebx
jne 0x1400ff09a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400ff0b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400ff0ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400ff09c
add ecx, 2
jmp 0x1400ff0b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400fefe2
jmp 0x1400ff02d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xa2c00
mov dl, 0x11
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400ff119
cmp rsi, rcx
jae 0x1400ff121
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400ff100
cmp al, 0x8f
ja 0x1400ff100
cmp byte [rsi - 2], 0xf
je 0x1400ff106
sub al, 0xe8
cmp al, 1
ja 0x1400ff0ea
cmp rsi, rcx
jae 0x1400ff121
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400ff0f0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400ff121
lodsb al, byte [rsi]
jmp 0x1400ff100
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xfb000]
mov eax, dword [rdi]
or eax, eax
je 0x1400ff17e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xff6e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400ff12e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400ff178
mov qword [rbx], rax
add rbx, 8
jmp 0x1400ff14e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400ff1b8
cmp al, 0xef
ja 0x1400ff1aa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400ff18a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400ff199
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x257]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400ff20c
sub rsp, 0xffffffffffffff80
jmp 0x140036240
Function at 0x1400010e0
Capabilities:
Check if file exists
Check mutex on windows
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x260]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x20a
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x40]
xor ebp, ebp
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x260]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], ebp
mov r8d, 0x105
mov qword [rsp + 0x20], rax
lea rcx, [0x140005478]
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x44], ebp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400011d8
mov ecx, dword [rsp + 0x40]
lea r9, str.0123456789
mov r8d, ebp
nop
cmp r8d, 0x103
je 0x1400011d1
mov eax, 0xcccccccd
mul ecx
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
sub ecx, eax
mov eax, ecx
mov ecx, r8d
inc r8d
movzx eax, word [r9 + rax*2]
mov word [rbx + rcx*2], ax
mov ecx, edx
test edx, edx
jne 0x1400011a0
mov eax, r8d
mov word [rbx + rax*2], bp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x140001284
lea r8, str.GlobalARM_Update_Mutex
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x1400012c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x104
mov rax, rbx
cmp word [rax], bp
je 0x140001227
add rax, 2
sub rcx, 1
jne 0x140001218
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x140001284
mov r9d, 0x104
lea r8, [rbx + rax*2]
sub r9, rax
je 0x140001276
lea rdx, str.thsnYaVieBoda
mov eax, 0x7ffffffe
sub rdx, r8
test rax, rax
je 0x140001276
movzx ecx, word [rdx + r8]
test cx, cx
je 0x140001276
mov word [r8], cx
dec rax
add r8, 2
sub r9, 1
jne 0x140001256
test r9, r9
lea rax, [r8 - 2]
cmovne rax, r8
mov word [rax], bp
test rsi, rsi
je 0x140001299
mov r8, rsi
mov edx, 0x104
mov rcx, rbx
call fcn.140001650
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.140003d20
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001210
test edi, edi
jne 0x140001210
mov ecx, 0x104
mov rax, rbx
cmp word [rax], bp
je 0x1400012f0
add rax, 2
sub rcx, 1
jne 0x1400012e1
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, rbp
je 0x140001284
mov edx, 0x104
lea rcx, [rbx + rax*2]
sub rdx, rax
je 0x140001341
lea r9, str.TsnIorcAeBoda
mov eax, 0x7ffffffe
sub r9, rcx
nop
test rax, rax
je 0x140001341
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140001341
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140001320
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
jmp 0x140001281
Function at 0x140001360
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
lea r8, str.GlobalARM_Update_Mutex
mov ecx, 0x100000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x140001390
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400013ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400013ca
lea r8, str.GlobalAcro_Update_Mutex
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x1400013bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400013ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140001409
lea rdx, [0x140005850]
mov ecx, 0x208
call fcn.140003c80
mov rbx, rax
test rax, rax
je 0x140001409
xor edx, edx
mov r8d, 0x208
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov rcx, rbx
call section..text
test eax, eax
je 0x140001416
mov rcx, rbx
call fcn.140003c78
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rsi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, 1
mov rcx, rbx
cmp eax, 0x3e8
lea edx, [rax + 0x3e8]
cmovae edx, eax
call fcn.1400014a0
xor esi, esi
test eax, eax
sete sil
test eax, eax
jne 0x140001477
cmp edi, 2
je 0x140001477
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 1
jne 0x140001463
mov edx, 0xce
jmp 0x14000146c
test edi, edi
jne 0x140001477
mov edx, 0xcc
xor r8d, r8d
mov rcx, rbx
call fcn.1400014a0
mov rcx, rbx
call fcn.140003c78
mov rbx, qword [rsp + 0x38]
mov eax, esi
mov rsi, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400014a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x10], edx
push rsi
push rdi
push r14
sub rsp, 0x50
xor r14d, r14d
mov edi, r8d
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x190000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov ebx, r14d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001503
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov esi, 0xd
cmove eax, esi
jmp 0x14000162f
xor r9d, r9d
mov dword [rsp + 0x48], 3
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x14000154a
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], r14d
mov r8d, 4
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x78]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140001561
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ebx, eax
mov esi, 0xd
cmove ebx, esi
jmp 0x140001624
test edi, edi
je 0x140001624
mov dword [rsp + 0x40], r14d
mov edi, r14d
mov esi, 0xd
nop word [rax + rax]
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], r14d
mov r8d, 4
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400015dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ebx, eax
cmove ebx, esi
cmp ebx, 0xe8
jne 0x1400015d6
mov ecx, 0xa
inc edi
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x140001580
jmp 0x140001624
test ebx, ebx
jne 0x140001624
jmp 0x1400015e6
cmp dword [rsp + 0x88], 4
jne 0x140001622
mov ecx, dword [rsp + 0x78]
lea r9, [rsp + 0x44]
mov eax, dword [rsp + 0x40]
lea rdx, [rsp + 0x88]
inc ecx
mov dword [rsp + 0x88], eax
cmp eax, ecx
mov qword [rsp + 0x20], r14
mov ebx, r14d
mov r8d, 4
mov rcx, rbp
cmovne ebx, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x140001624
mov ebx, esi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140002790
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov ebx, edx
mov r15, rcx
xor r12d, r12d
lea rcx, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x40], r12
mov r8d, 0x208
movzx r14d, r12w
call sub.VCRUNTIME140.dll_memset
test ebx, ebx
mov dword [rsp + 0x30], r12d
mov esi, r12d
mov dword [rsp + 0x34], r12d
lea r8, str.SoftwareAdobeAcrobat_ReaderDCFeatureState
mov dword [rsp + 0x38], 4
mov edx, 0x104
lea rcx, [rsp + 0x50]
sete sil
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ebx, [r12 + 1]
test eax, eax
jne 0x1400028aa
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x34]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000288b
cmp dword [rsp + 0x30], 4
jne 0x14000288b
cmp dword [rsp + 0x34], r12d
je 0x140002886
movzx edi, bx
jmp 0x140002891
mov edi, r12d
jmp 0x140002891
mov r14d, ebx
movzx edi, si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r14w, r14w
jne 0x1400028aa
movzx eax, di
jmp 0x140002976
xor edx, edx
mov qword [rsp + 0x40], r12
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea r8, str.SoftwareAdobeAdobe_AcrobatDCFeatureState
mov dword [rsp + 0x34], r12d
mov edx, 0x104
mov dword [rsp + 0x30], r12d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x38], 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002970
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002960
cmp dword [rsp + 0x34], 4
jne 0x140002960
cmp dword [rsp + 0x30], r12d
jne 0x140002963
mov rcx, qword [rsp + 0x40]
movzx ebx, r12w
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002973
movzx ebx, si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140002973
movzx ebx, si
movzx eax, bx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140003d20
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400031c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140003351
mov r15, qword [rsp + 0x60]
lea r8d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r9d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140003351
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r8w, dx
jae 0x14000325b
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x140003378
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140003272
mov eax, ecx
add cx, r11w
cmp cx, r9w
ja 0x140003272
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140003285
movzx r9d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x1400032d2
mov r9d, eax
cmp eax, 0x800
jae 0x14000329f
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov r11d, r8d
jmp 0x1400032d2
cmp eax, 0x10000
jae 0x1400032b9
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov r11d, r10d
jmp 0x1400032d2
shr r9d, 0x12
mov r10d, 3
movzx r11d, sil
or r9b, 0xf0
xor r11d, 1
add r11d, r11d
lea r8d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r8d
cmp rdx, rcx
jl 0x140003351
add qword [r14], 2
test sil, sil
jne 0x1400032f3
cmp r10d, 3
jae 0x1400032ff
mov rcx, qword [rbx]
mov r8d, r11d
mov byte [rcx], r9b
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jle 0x14000332e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [rbx]
mov r9, qword [rbx]
test r8d, r8d
jg 0x140003310
shr eax, 0xa
mov r8d, 1
test sil, sil
mov ecx, r8d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14000320f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x14000335f
Function at 0x140004784
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400047ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400047ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400047ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400047ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400047ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400047d0
xor al, al
add rsp, 0x28
ret
Function at 0x140004aa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x41], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], 0x40
mov qword [rbp - 0x19], r12
mov rbx, qword [0x1402cd030]
test rbx, rbx
jne 0x140004b47
lea r8d, [r12 + 0x30]
lea rdx, [rbp - 1]
lea rcx, [0x140013ad0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebx, r12d
test rax, rax
cmovne rbx, qword [rbp + 7]
mov edx, 0x1f4
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140004bb7
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140004bb0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004ba7
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rbp - 0x19], r12
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.140014780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rsi, vtable.CVolObject.0
mov r8d, 0x7a
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140004ee0
mov dword [rbp - 0x49], 1
mov qword [rbp - 0x41], r13
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140004bf6
mov rax, qword [rbp - 0x41]
mov r8, qword [rax + 0x18]
cmp rax, r13
jne 0x140004c2a
lea rcx, [0x1402cce68]
call fcn.140014e00
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x41], rsi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x41]
call r8
jmp 0x140004bf6
Function at 0x140004d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x41], rax
lea rsi, vtable.CVolObject.0
mov qword [rbp - 0x41], rsi
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x31], r12
lea r13, vtable.CVolMem.0
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x11], 0x40
mov qword [rbp - 0x19], r12
mov rbx, qword [0x1402cd030]
test rbx, rbx
jne 0x140004de7
lea r8d, [r12 + 0x30]
lea rdx, [rbp - 1]
lea rcx, [0x140013ad0]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ebx, r12d
test rax, rax
cmovne rbx, qword [rbp + 7]
mov edx, 0x1f7
mov r8d, 0xa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r14, rax
test rax, rax
je 0x140004e57
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x140004e50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140004e47
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov qword [rbp - 0x19], r12
mov rdx, r15
lea rcx, [rbp - 0x41]
call fcn.140014780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
lea rsi, vtable.CVolObject.0
mov r8d, WSACleanup
lea rdx, [rbp - 0x41]
mov rcx, rdi
call fcn.140004ee0
mov dword [rbp - 0x49], 1
mov qword [rbp - 0x41], r13
mov rdx, qword [rbp - 0x29]
test rdx, rdx
je 0x140004e96
mov rax, qword [rbp - 0x41]
mov r8, qword [rax + 0x18]
cmp rax, r13
jne 0x140004eca
lea rcx, [0x1402cce68]
call fcn.140014e00
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x41], rsi
mov rax, rdi
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp - 0x41]
call r8
jmp 0x140004e96