joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060c40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
vmovaps xmmword [rsp + 0x30], xmm7
vmovaps xmmword [rsp + 0x20], xmm6
mov rsi, rdx
movzx eax, word [rsp + 0x88]
movsxd rdx, dword [rcx + 0x18]
cmp rax, rdx
jae 0x140060c77
mov rdx, qword [rcx + 0x20]
movzx eax, word [rdx + rax*2]
cmp rax, 0xffff
jne 0x140060c85
mov rbx, qword [rcx + 0x38]
test rbx, rbx
jne 0x140060c9a
jmp 0x140060de7
lea rbx, [rax + rax*4]
shl rbx, 3
add rbx, qword [rcx + 0x30]
test rbx, rbx
je 0x140060de7
mov eax, dword [rbx]
test al, 2
je 0x140060de7
mov edx, dword [rsp + 0x80]
mov edi, edx
or edi, 0xffffff
test al, 1
cmove edi, edx
vxorps xmm0, xmm0, xmm0
vucomiss xmm2, xmm0
jae 0x140060ccc
vmovss xmm7, dword [section..rdata]
jmp 0x140060cd1
vdivss xmm7, xmm2, dword [rcx + 0x14]
vmovsd xmm0, qword [r9]
vroundps xmm6, xmm0, 0xb
mov rcx, rsi
mov edx, 6
mov r8d, 4
call fcn.14004fad0
mov eax, dword [rbx + 0x24]
mov edx, dword [rbx + 0x20]
mov r8d, dword [rbx + 0x1c]
mov ecx, dword [rbx + 0x18]
vbroadcastss xmm2, xmm7
vmovsd xmm0, qword [rbx + 8]
vmovsd xmm1, qword [rbx + 0x10]
vfmadd213ps xmm0, xmm2, xmm6
mov r9d, dword [rsi + 0x34]
mov r10, qword [rsi + 0x50]
lea r11d, [r9 + 1]
lea ebx, [r9 + 2]
mov word [r10], r9w
mov r10, qword [rsi + 0x50]
mov word [r10 + 2], r11w
mov r10, qword [rsi + 0x50]
mov word [r10 + 4], bx
mov r10, qword [rsi + 0x50]
mov word [r10 + 6], r9w
add r9d, 3
vfmadd213ps xmm1, xmm2, xmm6
mov r10, qword [rsi + 0x50]
mov word [r10 + 8], bx
mov r10, qword [rsi + 0x50]
mov word [r10 + 0xa], r9w
mov r9, qword [rsi + 0x48]
vmovlps qword [r9], xmm0
mov r9, qword [rsi + 0x48]
mov dword [r9 + 8], ecx
mov dword [r9 + 0xc], r8d
mov r9, qword [rsi + 0x48]
mov dword [r9 + 0x10], edi
mov r9, qword [rsi + 0x48]
vmovss dword [r9 + 0x14], xmm1
vextractps dword [r9 + 0x18], xmm0, 1
mov r9, qword [rsi + 0x48]
mov dword [r9 + 0x1c], edx
mov dword [r9 + 0x20], r8d
mov r8, qword [rsi + 0x48]
mov dword [r8 + 0x24], edi
mov r8, qword [rsi + 0x48]
vmovlps qword [r8 + 0x28], xmm1
mov r8, qword [rsi + 0x48]
mov dword [r8 + 0x30], edx
mov dword [r8 + 0x34], eax
mov rdx, qword [rsi + 0x48]
mov dword [rdx + 0x38], edi
mov rdx, qword [rsi + 0x48]
vblendps xmm0, xmm0, xmm1, 2
vmovlps qword [rdx + 0x3c], xmm0
mov rdx, qword [rsi + 0x48]
mov dword [rdx + 0x44], ecx
mov dword [rdx + 0x48], eax
mov rax, qword [rsi + 0x48]
mov dword [rax + 0x4c], edi
add qword [rsi + 0x48], 0x50
add dword [rsi + 0x34], 4
add qword [rsi + 0x50], 0xc
vmovaps xmm6, xmmword [rsp + 0x20]
vmovaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400809d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, edx
mov rdi, rcx
mov r14d, edx
mov ebp, edx
sar ebp, 0x1f
and ebp, edx
dec ebp
mov r15d, 0xfffffffe
add r15, r14
dec r14
jmp 0x140080a29
call fcn.1400810b0
or r13b, bl
and r13b, r12b
xor bl, 1
movzx ecx, r13b
movzx edx, bl
test al, al
cmove edx, ecx
movzx eax, dl
dec r15
dec esi
dec r14
test eax, eax
jne 0x140080a9d
test esi, esi
jle 0x140080a9b
xor eax, eax
test r14d, r14d
je 0x140080a1d
mov ecx, dword [rdi + 0xe88]
mov edx, 0x8000
and ecx, edx
jne 0x140080a1d
mov r12, qword [rdi + 0x20]
mov eax, r15d
movzx ecx, word [r12 + rax*2]
mov r13b, 1
cmp ecx, 9
je 0x140080a67
cmp ecx, 0x20
je 0x140080a67
cmp ecx, 0x3000
je 0x140080a67
xor r13d, r13d
call fcn.1400810b0
mov ebx, eax
mov eax, r14d
movzx ecx, word [r12 + rax*2]
xor r12d, r12d
cmp ecx, 9
je 0x140080a00
cmp ecx, 0x20
je 0x140080a00
cmp ecx, 0x3000
je 0x140080a00
mov r12b, 1
jmp 0x140080a00
mov esi, ebp
mov eax, esi
sar eax, 0x1f
andn eax, eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140080ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov edi, edx
mov rbx, rcx
mov rax, qword [rcx]
cmp byte [rax + 0x79], 0
mov esi, dword [rcx + 0xc]
je 0x140080b85
inc edi
cmp edi, esi
jge 0x140080c38
mov r14d, dword [rbx + 0xe88]
jmp 0x140080b28
or r15b, al
call fcn.1400810b0
movzx ecx, r15b
movzx edx, bpl
test al, al
cmove edx, ecx
cmp dl, 1
jne 0x140080c38
inc edi
cmp esi, edi
je 0x140080c31
test r14w, r14w
js 0x140080b1e
mov r12d, edi
dec r12d
js 0x140080b1e
mov r13, qword [rbx + 0x20]
mov eax, edi
movzx ecx, word [r13 + rax*2]
xor r15d, r15d
cmp ecx, 9
je 0x140080b5a
cmp ecx, 0x20
je 0x140080b5a
cmp ecx, 0x3000
je 0x140080b5a
mov r15b, 1
call fcn.1400810b0
mov ebp, eax
mov eax, r12d
movzx ecx, word [r13 + rax*2]
mov al, 1
cmp ecx, 9
je 0x140080b00
cmp ecx, 0x20
je 0x140080b00
cmp ecx, 0x3000
je 0x140080b00
xor eax, eax
jmp 0x140080b00
lea r14d, [rdi + 1]
cmp esi, r14d
cmovg r14d, esi
mov r15d, 0x8000
jmp 0x140080bc3
call fcn.1400810b0
or r12b, bpl
and r12b, r13b
xor bpl, 1
movzx ecx, r12b
movzx edx, bpl
test al, al
cmove edx, ecx
movzx ecx, dl
test ecx, ecx
jne 0x140080c38
mov eax, edi
lea edi, [rax + 1]
cmp edi, esi
jge 0x140080c35
xor ecx, ecx
test eax, eax
js 0x140080bbf
mov edx, dword [rbx + 0xe88]
and edx, r15d
jne 0x140080bbf
mov r13, qword [rbx + 0x20]
mov eax, eax
movzx ecx, word [r13 + rax*2]
mov r12b, 1
cmp ecx, 9
je 0x140080c01
cmp ecx, 0x20
je 0x140080c01
cmp ecx, 0x3000
je 0x140080c01
xor r12d, r12d
call fcn.1400810b0
mov ebp, eax
mov eax, edi
movzx ecx, word [r13 + rax*2]
xor r13d, r13d
cmp ecx, 9
je 0x140080ba0
cmp ecx, 0x20
je 0x140080ba0
cmp ecx, 0x3000
je 0x140080ba0
mov r13b, 1
jmp 0x140080ba0
mov edi, esi
jmp 0x140080c38
mov edi, r14d
cmp edi, esi
cmovl esi, edi
mov eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140084f40
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, rdx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
add rsp, 0x38
ret
Function at 0x1400a61b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [0x140207ee0]
test rcx, rcx
je 0x1400a643d
cmp dword [0x140207ee8], 0
je 0x1400a643d
mov edx, 0x13b0
add rdx, qword [rsi + 0x48]
mov qword [rsp + 0x20], 0
lea r8, [0x140210608]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400a643d
mov edi, dword [0x140210608]
cmp edi, 0xffffffff
je 0x1400a643d
shr edi, 6
and edi, 0xfffffff8
add rdi, 0x10
mov ecx, 8
call fcn.1400f4cf4
mov qword [rbp - 0x38], rax
lea rcx, [rax + 8]
mov qword [rbp - 0x28], rcx
mov qword [rax], rdi
mov qword [rbp - 0x30], rcx
lea rcx, [0x140207f18]
call fcn.1400212d0
lea rcx, [0x140207ed8]
lea r8, [rbp - 0x38]
mov rdx, rax
call fcn.14001ac60
mov qword [0x140210610], rax
test rax, rax
je 0x1400a643d
mov rcx, qword [0x140207ee0]
test rcx, rcx
je 0x1400a643d
cmp dword [0x140207ee8], 0
je 0x1400a643d
mov edx, dword [0x140210608]
and edx, 0x1ff
imul rdx, rdx, 0x78
add rax, rdx
mov qword [rsp + 0x20], 0
lea r8, [0x140210618]
mov r9d, 8
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400a643d
lea rcx, [0x140210620]
lea rdx, [0x140210618]
call fcn.14001a070
test al, al
je 0x1400a643d
cmp byte [0x140208a80], 0
jne 0x1400a6307
vmovss xmm0, dword [rsi + 0x104]
vxorps xmm1, xmm1, xmm1
vucomiss xmm0, xmm1
ja 0x1400a643d
cmp byte [0x140208a70], 0
je 0x1400a6351
mov rcx, qword [0x140207ee0]
test rcx, rcx
je 0x1400a6351
cmp dword [0x140207ee8], 0
je 0x1400a6351
mov edx, 0x2290
add rdx, qword [rsi + 0x48]
mov qword [rsp + 0x20], 0
lea r8, [rbp - 0x20]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp - 0x20], 0
je 0x1400a643d
cmp byte [0x1401792f9], 0
je 0x1400a6385
mov eax, dword [rsi + 0xf0]
cmp eax, dword [0x140210710]
setne al
cmp dword [0x140210700], 0
setg cl
and cl, al
mov byte [0x140210738], cl
cmp cl, 1
je 0x1400a6399
jmp 0x1400a643d
cmp dword [0x140210700], 0
setg byte [0x140210738]
jle 0x1400a643d
mov eax, dword [0x140210748]
mov ecx, dword [0x140210b70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x28]
jg 0x1400a6445
lea rcx, [rbp - 0x10]
call fcn.1400a64f0
movsxd rax, dword [str.ZZ_]
mov rcx, qword [rbp - 0x10]
sub rcx, qword [0x140210740]
imul rax, rax, 0xf4240
cmp rcx, rax
jl 0x1400a643d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400a6432
mov qword [rsp + 0x20], 0
mov ecx, 2
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
lea rdx, [0x1400a6150]
lea rsi, [rbp - 0x20]
mov rcx, rsi
call fcn.1400a65d0
mov rcx, rsi
call fcn.1400a6680
cmp dword [rbp - 0x18], 0
jne 0x1400a647b
mov rax, qword [rbp - 0x10]
mov qword [0x140210740], rax
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140210748]
call fcn.1400f4d74
cmp dword [0x140210748], 0xffffffff
jne 0x1400a63be
lea rcx, [0x140210740]
call fcn.1400a64f0
lea rcx, [0x140210748]
call fcn.1400f4e28
jmp 0x1400a63be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
Function at 0x1400a65d0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov ecx, 8
call fcn.1400f4cf4
mov rbx, rax
mov qword [rax], rdi
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x1400a6880]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400a6634
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 8], rbx
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400f5a54
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400f5a8e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f5a93
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400f5adc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14011c130]
cmp byte [rcx + rax], 0
je 0x1400f5adc
dec r8
sub rdx, 1
jne 0x1400f5ac2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400fbf78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fbfc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fbfc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fbfc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fbfc2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fbfc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fbfc4
xor al, al
add rsp, 0x28
ret
Function at 0x140102690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rsi
sub rsp, 0x28
mov ebx, dword [rcx + 0x14]
mov rsi, rcx
call fcn.1401028e0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401028e0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x14010281b
xor eax, eax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
cmp ebx, 2
mov qword [rsp + 0x20], r15
lea r14, [rsp + 0x40]
setne al
lea r15, [rsp + 0x40]
add r14, rax
xor rax, 1
add r15, rax
movzx edi, byte [r14]
movzx eax, byte [r15]
shl edi, 8
or edi, eax
lea eax, [rdi - 0xdc00]
cmp eax, 0x3ff
ja 0x140102725
lea rcx, [rsi + 0x18]
mov edx, 0xfffd
call fcn.140102980
jmp 0x14010280c
lea eax, [rdi - 0xd800]
mov qword [rsp + 0x48], rbp
cmp eax, 0x3ff
ja 0x1401027f9
mov rcx, rsi
call fcn.1401028e0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401028e0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
lea rbp, [rsi + 0x18]
test al, al
je 0x1401027d9
nop
movzx eax, byte [r15]
movzx ebx, byte [r14]
shl ebx, 8
or ebx, eax
lea eax, [rbx - 0xdc00]
cmp eax, 0x3ff
jbe 0x1401027e0
lea rbp, [rsi + 0x18]
mov edx, 0xfffd
mov rcx, rbp
call fcn.140102980
lea eax, [rbx - 0xd800]
cmp eax, 0x7ff
ja 0x1401027fd
mov rcx, rsi
mov edi, ebx
call fcn.1401028e0
mov rcx, rsi
mov byte [rsp + 0x40], al
call fcn.1401028e0
mov rdx, qword [rsi]
mov byte [rsp + 0x41], al
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
jne 0x140102770
mov edx, 0xfffd
jmp 0x1401027ff
and edi, 0x3ff
and ebx, 0x3ff
shl edi, 0xa
or edi, ebx
add edi, 0x10000
jmp 0x1401027fd
lea rbp, [rsi + 0x18]
mov edx, edi
mov rcx, rbp
call fcn.140102980
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
Function at 0x1400413f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14004146b
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14004146b
cmp dword [rsp + 0x38], 4
jne 0x14004146b
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x140041490
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14012cd70
sub rsp, rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea rsi, [rsp + 0x840]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140041579
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14004152b
mov edi, 0x3f4
cmp eax, 1
jne 0x140041579
lea rdx, [rsp + 0x840]
jmp 0x14004156f
lea rsi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
lea rcx, [rsp + 0x840]
mov rdx, rsi
mov r8d, 0x400
call qword [0x14019e5a0]
mov dword [rsp + 0x38], eax
add eax, 0xffffffff
mov edi, 0xea
cmp eax, 0x3ff
ja 0x140041579
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140022b94
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400415a0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, r8
call fcn.14014b2c4
add eax, eax
add eax, 2
mov rcx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140042d20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x28], rax
test rdx, rdx
je 0x140042db8
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str..._.._base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x20]
jmp 0x140042d78
add rdi, rbx
sub rsi, rbx
je 0x140042db8
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140042d70
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.140024e50
mov rcx, r12
call fcn.140024ee0
mov rcx, r12
call fcn.140024ef0
jmp 0x140042d70
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012cde0
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400433b0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsd xmm6, qword [0x1401af210]
xorpd xmm0, xmm0
ucomisd xmm6, xmm0
jne 0x14004351f
jp 0x14004351f
mov rdi, qword [0x14019e640]
call rdi
mov rcx, rax
call qword [0x14019e788]
mov ebp, eax
call rdi
mov rcx, rax
mov edx, 2
call qword [0x14019ea10]
mov eax, dword [0x1401af220]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004353e
mov eax, dword [0x1401af230]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140043578
rdtsc
mov rdi, rax
mov rbx, rdx
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [0x14019e8f0]
mov rsi, qword [rsp + 0x20]
call qword [0x14019e640]
mov rcx, rax
mov edx, ebp
call qword [0x14019ea10]
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [0x14019e8f8]
sub rsi, qword [0x1401af228]
movq xmm1, rsi
punpckldq xmm1, xmmword [0x14015f5b0]
subpd xmm1, xmmword [0x14015f5c0]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x20]
divsd xmm0, xmm1
xorpd xmm6, xmm6
movsd xmm1, qword [0x140165000]
ucomisd xmm1, xmm0
ja 0x14004351f
shl rbx, 0x20
or rdi, rbx
sub rdi, qword [0x1401af218]
movq xmm1, rdi
punpckldq xmm1, xmmword [0x14015f5b0]
subpd xmm1, xmmword [0x14015f5c0]
movapd xmm6, xmm1
unpckhpd xmm6, xmm1
addsd xmm6, xmm1
divsd xmm6, xmm0
movsd qword [0x1401af210], xmm6
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012cde0
movapd xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1401af220]
call fcn.14012cb70
cmp dword [0x1401af220], 0xffffffff
jne 0x140043431
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x1401af218], rdx
lea rcx, [0x1401af220]
call fcn.14012cc08
jmp 0x140043431
lea rcx, [0x1401af230]
call fcn.14012cb70
cmp dword [0x1401af230], 0xffffffff
jne 0x140043456
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call qword [0x14019e8f0]
mov rax, qword [rsp + 0x20]
mov qword [0x1401af228], rax
lea rcx, [0x1401af230]
call fcn.14012cc08
jmp 0x140043456
Function at 0x14013a638
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14013a768

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

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 0x140b56058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b561df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b56089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5606f
add dl, dl
jne 0x140b56096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b560f6
xor eax, eax
add dl, dl
jne 0x140b560a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b561ad
add dl, dl
jne 0x140b560b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b560c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b560d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b560dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b560ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b5607e
mov eax, 1
add dl, dl
jne 0x140b56106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b56113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b560fb
sub eax, ebx
mov ebx, 1
jne 0x140b5614c
mov ecx, 1
add dl, dl
jne 0x140b5612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b5613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b56123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b56168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b56175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5615d
cmp eax, 0x7d00
jae 0x140b5619b
cmp eax, 0x500
jb 0x140b56196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5607e
cmp eax, 0x7f
ja 0x140b5619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b5607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b561d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b5607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20