joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018ff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019010
add rsp, 0x28
ret
add rsp, 0x28
jmp fcn.140018ee0

Function at 0x1400197c0
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbp, qword [0x140342580]
mov rax, qword [rbp]
mov qword [rsp + 0x38], rax
mov eax, dword [rcx]
mov rbx, rcx
mov rsi, rdx
test rdx, rdx
je 0x140019908
cmp eax, 1
je 0x14001982d
call fcn.1400187b0
lea r12, [rax + 8]
mov rdi, rax
mov rcx, r12
call fcn.1400180e0
mov r13d, dword [rbx]
test r13d, r13d
je 0x140019850
cmp r13d, 1
jne 0x1400198e0
mov rcx, r12
call fcn.1400183b0
test rdi, rdi
je 0x14001982d
mov rcx, rdi
call fcn.140018ab0
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [rbp]
jne 0x14001995b
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rax, [0x140018b90]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.140018e30
mov ecx, dword [0x1400b9378]
mov r13, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call r13
test rax, rax
je 0x140019948
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
lock or qword [rsp], 0
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call r13
test rax, rax
je 0x140019930
lea rdx, [rsp + 0x20]
mov qword [rax + 0x18], rdx
lock or qword [rsp], 0
call rsi
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call r13
test rax, rax
je 0x140019918
mov rdx, qword [rsp + 0x30]
mov qword [rax + 0x18], rdx
mov dword [rbx], 1
jmp 0x140019818
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, r13d
mov r8, rbx
lea rdx, str._once__p_is__ld_n
mov rcx, rax
call fcn.140016490
jmp 0x140019818
mov eax, 0x16
jmp 0x14001982f
call fcn.140018ee0
test rax, rax
jne 0x1400198c9
jmp 0x1400b800e
call fcn.140018ee0
test rax, rax
jne 0x1400198a5
jmp 0x1400b7fff
call fcn.140018ee0
test rax, rax
jne 0x14001987f
jmp 0x1400b7ff5
call fcn.14000dce0
nop
nop word cs:[rax + rax]
nop dword [rax]
mov rax, qword [pe_dos_header]
ud2
lea rax, [rsp + 0x20]
mov qword [0], rax
ud2
mov rax, qword [rsp + 0x30]
mov qword [0], rax
ud2

Function at 0x140019be0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019c58
lea rbp, [rbx + 0x68]
xor r12d, r12d
mov rcx, rbp
call fcn.1400186c0
cmp esi, dword [rbx + 0x48]
jae 0x140019c33
mov rax, qword [rbx + 0x58]
cmp byte [rax + rsi], 0
je 0x140019c33
mov rax, qword [rbx + 0x50]
mov r12, qword [rax + rsi*8]
mov rcx, rbp
call fcn.140018700
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140018ee0
mov rbx, rax
jmp 0x140019c0d
Function at 0x140019c70
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x140019d70
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.1400186c0
cmp esi, dword [rbx + 0x48]
jae 0x140019cf0
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.140018700
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov rdi, rax
test rax, rax
je 0x140019d7d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov r14, rax
test rax, rax
je 0x140019d7d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x140019cbf
call fcn.140018ee0
mov rbx, rax
jmp 0x140019caa
mov rcx, r13
call fcn.140018700
mov eax, 0xc
jmp 0x140019cdd

Function at 0x140019e00
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019e28
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.140018ee0
test rax, rax
jne 0x140019e1a
add rsp, 0x28
ret

Function at 0x140019e90
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140019eb8
add rax, 0x18
add rsp, 0x28
ret
call fcn.140018ee0
test rax, rax
jne 0x140019eaa
jmp 0x140019eae

Function at 0x140019fd0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14036ac28]
test eax, eax
jne 0x140019fe8
xor eax, eax
add rsp, 0x28
ret
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a018
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x140019fde
test byte [rax + 0x40], 3
je 0x140019fde
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x140019fe0
call fcn.140018ee0
test rax, rax
jne 0x140019ffe
jmp 0x140019fde
Function at 0x14001a030
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a070
test ebx, ebx
jle 0x14001a060
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.140018ee0
test rax, rax
jne 0x14001a04d
add rsp, 0x20
pop rbx
ret

Function at 0x14001a160
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001a1d8
test byte [rbx + 0x40], 0xc
jne 0x14001a18f
mov eax, dword [0x14036ac28]
test eax, eax
jne 0x14001a1a0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400180e0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001a1c3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001a1c3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001a1ec
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400183b0
call fcn.140018ee0
mov rbx, rax
test rax, rax
jne 0x14001a17f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001a20a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400183b0
call fcn.14001a080
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001a290
call fcn.140017d90
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001a2c8
call fcn.140018e30
mov ecx, dword [0x1400b9378]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001a320
test esi, esi
je 0x14001a2a6
call fcn.14001a160
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001a300
mov edx, edi
call fcn.140017e60
call fcn.14001a160
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a310
call fcn.14001a160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001a160
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140018e30
mov ecx, dword [0x1400b9378]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001a265
call fcn.140018ee0
mov rbx, rax
jmp 0x14001a265
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001a27e
call fcn.140018ee0
jmp 0x14001a2a6
call fcn.140018ee0
mov rbx, rax
jmp 0x14001a261
Function at 0x14001a220
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001a1d8
test byte [rbx + 0x40], 0xc
jne 0x14001a18f
mov eax, dword [0x14036ac28]
test eax, eax
jne 0x14001a1a0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.1400180e0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14001a1c3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14001a1c3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14001a1ec
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.1400183b0
call fcn.140018ee0
mov rbx, rax
test rax, rax
jne 0x14001a17f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001a20a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.1400183b0
call fcn.14001a080
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14001a290
call fcn.140017d90
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14001a2c8
call fcn.140018e30
mov ecx, dword [0x1400b9378]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001a320
test esi, esi
je 0x14001a2a6
call fcn.14001a160
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001a300
mov edx, edi
call fcn.140017e60
call fcn.14001a160
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14001a310
call fcn.14001a160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001a160
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140018e30
mov ecx, dword [0x1400b9378]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14001a265
call fcn.140018ee0
mov rbx, rax
jmp 0x14001a265
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001a27e
call fcn.140018ee0
jmp 0x14001a2a6
call fcn.140018ee0
mov rbx, rax
jmp 0x14001a261

Function at 0x14001a330
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140018e30
mov ecx, dword [0x1400b9378]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14001a3a0
test esi, esi
je 0x14001a380
call fcn.14001a160
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001a3b0
mov edx, esi
call fcn.140017e60
call fcn.14001a160
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14001a160
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14001a160
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018ee0
mov rbx, rax
jmp 0x14001a351
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001a36a
Function at 0x14001b820
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rdi, [0x1400b9388]
mov rbx, rcx
mov rcx, rdi
mov esi, edx
call fcn.1400186c0
mov rax, qword [rbx]
cmp dword [rax], 0xbab1f0ed
jne 0x14001b869
mov rax, qword [rbx]
mov eax, dword [rax + 4]
test eax, eax
jle 0x14001b869
mov rax, qword [rbx]
mov rcx, rdi
sub dword [rax + 4], 1
call fcn.140018700
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov dword [rsp + 0x20], 0x28
lea r9, str..._mingw_w64_mingw_w64_libraries_winpthreads_src_rwlock.c
lea r8, str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov rcx, rax
lea rdx, str.Assertion_failed:___s___file__s__line__d_n
call fcn.140016490
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
nop word cs:[rax + rax]
nop
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
neg eax
mov dword [rcx + 0xc], eax
mov rbx, rcx
lea rcx, [rcx + 0x20]
mov dword [rcx - 0x10], 0
call fcn.1400183b0
lea rcx, [rbx + 0x18]
add rsp, 0x20
pop rbx
jmp fcn.1400183b0

Function at 0x14001bcc0
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14001baf0
test eax, eax
je 0x14001bce8
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [rbx]
lea rdi, [rsi + 0x18]
mov rcx, rdi
call fcn.1400180e0
test eax, eax
jne 0x14001bd11
lock add dword [rsi + 0xc], 1
cmp dword [rsi + 0xc], 0x7fffffff
je 0x14001bd28
mov rcx, rdi
call fcn.1400183b0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14001b820
lea r12, [rsi + 0x20]
mov rcx, r12
call fcn.1400180e0
mov ebp, eax
test eax, eax
je 0x14001bd50
mov rcx, rdi
call fcn.1400183b0
mov edx, ebp
jmp 0x14001bd13
mov eax, dword [rsi + 0x10]
sub dword [rsi + 0xc], eax
mov rcx, r12
mov dword [rsi + 0x10], 0
call fcn.1400183b0
mov rcx, rdi
mov esi, eax
call fcn.1400183b0
test esi, esi
mov edx, esi
cmove edx, eax
jmp 0x14001bd13

Function at 0x14001bff0
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14001b7b0
test eax, eax
jne 0x14001c070
mov rsi, qword [rbx]
mov edx, dword [rsi + 8]
test edx, edx
je 0x14001c040
lock sub dword [rsi + 8], 1
lea rcx, [rsi + 0x20]
call fcn.1400183b0
lea rcx, [rsi + 0x18]
mov edi, eax
call fcn.1400183b0
test edi, edi
cmove edi, eax
mov edx, edi
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp fcn.14001b820
lea rdi, [rsi + 0x20]
mov rcx, rdi
call fcn.1400180e0
mov edx, eax
test eax, eax
jne 0x14001c02d
lock add dword [rsi + 0x10], 1
mov eax, dword [rsi + 0x10]
test eax, eax
je 0x14001c080
mov rcx, rdi
call fcn.1400183b0
mov edx, eax
jmp 0x14001c02d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
lea rcx, [rsi + 0x28]
call fcn.1400173c0
mov rcx, rdi
mov dword [rsp + 0x2c], eax
call fcn.1400183b0
mov edx, dword [rsp + 0x2c]
test edx, edx
cmove edx, eax
jmp 0x14001c02d
Function at 0x14007ddc0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007de08
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007ddda
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004e38
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140004e82
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004e82
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004e82
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004e82
cmp dword [rcx + 0x84], 0xe
jbe 0x140004e82
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004e84
xor al, al
add rsp, 0x28
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 0x180001320
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.180001570
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18000143a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180001384
mov rax, qword [0x18001f008]
cmp qword [rsp + 0x20], rax
ja 0x180001384
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180001346
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180013db0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800013b5
jmp 0x18000143a
cmp dword [rsp + 0x50], 0x10000
jne 0x18000141d
cmp qword [rsp + 0x48], 0x10000
jb 0x18000141d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800013fb
mov rax, qword [rsp + 0x28]
jmp 0x18000143c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18000140b
xor eax, eax
jmp 0x18000143c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180001435
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180001570
mov qword [rsp + 0x20], rax
jmp 0x180001346
xor eax, eax
add rsp, 0x68
ret

Function at 0x180001450
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800015b0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180001566
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800014ab
mov rax, qword [0x18001f008]
cmp qword [rsp + 0x20], rax
ja 0x1800014ab
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18000146d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180013db0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800014dc
jmp 0x180001566
cmp dword [rsp + 0x50], 0x10000
jne 0x180001544
cmp qword [rsp + 0x48], 0x10000
jb 0x180001544
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180001522
mov rax, qword [rsp + 0x28]
jmp 0x180001568
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180001532
xor eax, eax
jmp 0x180001568
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180001561
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800015b0
mov qword [rsp + 0x20], rax
jmp 0x18000146d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180001600
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180001b90
mov qword [rsp + 0x28], 0
cmp qword [0x18001fb48], 0
jne 0x180001648
cmp qword [0x18001fb40], 0
je 0x180001648
mov rax, qword [0x18001fb40]
mov qword [0x18001fb48], rax
cmp qword [0x18001fb48], 0
je 0x1800016ee
mov rax, qword [0x18001fb48]
cmp qword [rax + 0x10], 0
je 0x1800016ee
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800016ee
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800016ee
mov rax, qword [0x18001fb48]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800016b4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800016bb
xor eax, eax
jmp 0x180001865
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.180013db0
mov rax, qword [rsp + 0x28]
jmp 0x180001865
mov rax, qword [0x18001fb40]
mov qword [0x18001fb48], rax
jmp 0x180001710
mov rax, qword [0x18001fb48]
mov rax, qword [rax + 8]
mov qword [0x18001fb48], rax
cmp qword [0x18001fb48], 0
je 0x18000175d
cmp qword [0x18001fb48], 0
je 0x18000175b
mov rax, qword [0x18001fb48]
cmp qword [rax + 0x10], 0
je 0x18000175b
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000175b
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000175b
jmp 0x18000168c
jmp 0x1800016fe
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180001870
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180001863
mov rax, qword [rsp + 0x48]
mov qword [0x18001fb48], rax
mov rax, qword [0x18001fb48]
mov dword [rax], 0x52727464
mov rax, qword [0x18001fb48]
mov qword [rax + 0x10], 0
mov rax, qword [0x18001fb48]
mov rcx, qword [0x18001fb40]
mov qword [rax + 8], rcx
mov rax, qword [0x18001fb48]
mov qword [0x18001fb40], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18001fb48]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180001814
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18000184e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000180a
mov rax, qword [0x18001fb48]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000168c
xor eax, eax
add rsp, 0x58
ret