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

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400916a9
cmp byte [rcx + 0x71], 0
je 0x1400916a9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14009169c
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 0x140091658
sub eax, 1
je 0x14009165c
cmp eax, 2
jne 0x14009169c
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 0x14009168a
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 0x14009169c
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 0x14009e900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x14009e938
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1400610c0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14009ea76
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14009e9f0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14009ea65
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14009ea2d
mov r10, qword [rdx]
cmp r10, rax
je 0x14009ea27
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14009ea65
cmp r9, rdx
je 0x14009ea41
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14009ea8b
cmp r9, rdx
jne 0x14009ea32
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14009e9a0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14009ea65
Function at 0x1400adc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
lea rsi, [r8 - 1]
mov rbp, r9
sar rsi, 1
mov r15, r8
mov r10, rdx
mov rdi, rcx
mov r14, rdx
mov rbx, rdx
cmp rdx, rsi
jge 0x1400adcd8
nop dword [rax]
lea rcx, [rbx + rbx]
xor ebx, ebx
imul rax, rcx, 0xd0
movss xmm0, dword [rax + rdi + 0x108]
comiss xmm0, dword [rax + rdi + 0x1d8]
setbe bl
inc rcx
add rbx, rcx
imul rcx, r10, 0xd0
imul rdx, rbx, 0xd0
add rcx, rdi
add rdx, rdi
call fcn.1400a90d0
mov r10, rbx
cmp rbx, rsi
jl 0x1400adc90
cmp rbx, rsi
jne 0x1400add07
test r15b, 1
jne 0x1400add07
imul rdx, r15, 0xd0
imul rcx, r10, 0xd0
add rdx, 0xffffffffffffff30
add rdx, rdi
add rcx, rdi
call fcn.1400a90d0
lea r10, [r15 - 1]
cmp r14, r10
jge 0x1400add43
nop dword [rax]
movss xmm0, dword [rbp + 0x38]
lea rbx, [r10 - 1]
sar rbx, 1
imul rdx, rbx, 0xd0
add rdx, rdi
comiss xmm0, dword [rdx + 0x38]
jbe 0x1400add43
imul rcx, r10, 0xd0
add rcx, rdi
call fcn.1400a90d0
mov r10, rbx
cmp r14, rbx
jl 0x1400add10
imul rcx, r10, 0xd0
mov rdx, rbp
add rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.1400a90d0
Function at 0x1400af310
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2c0
mov rdi, rcx
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0xb0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0xb0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x1400af397
lea rcx, [rsp + 0xb0]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], bx
jne 0x1400af370
cmp word [rsp + rax*2 + 0xae], 0x5c
jne 0x1400af38d
mov word [rsp + rax*2 + 0xae], bx
lea rdx, [rsp + 0xb0]
jmp 0x1400af3c1
lea rdx, str.____Failed_to_get_temp_path
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140099170
lea rdx, [0x140099340]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rdx, [0x1400e0840]
lea rcx, [rsp + 0x48]
call fcn.1400b31c0
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
jne 0x1400af3ea
lea rdx, [0x1400e0840]
mov rcx, rdi
call fcn.1400b31c0
jmp 0x1400af471
lea rcx, [rsp + 0x88]
call fcn.1400af210
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x1400af493
lea r9, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r9, qword [rsp + 0x48]
mov qword [rsp + 0x30], 1
lea rax, [0x1400e0844]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x68]
call fcn.1400b5900
nop
mov r9, rsi
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.1400b56d0
nop
lea rcx, [rsp + 0x68]
call fcn.1400905d0
nop
lea rcx, [rsp + 0x88]
call fcn.1400905d0
nop
lea rcx, [rsp + 0x48]
call fcn.1400905d0
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.14004c3f0
nop
int3
Function at 0x1400b74f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x1400b75f1
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x1400b75f1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r8
mov ecx, dword [rax + rdx + 0xb0]
test ecx, ecx
jne 0x1400b7555
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1400b75fc
lea rbx, [rdx + rcx]
mov ebp, dword [rax + rdx + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x30]
cmp rbx, rbp
jae 0x1400b75df
nop dword [rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x1400b75df
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x40], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x48], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x50], eax
cmp rcx, r8
je 0x1400b75b8
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x30], rcx
jmp 0x1400b75d4
lea r8, [rsp + 0x40]
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400b7ab0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x1400b7570
mov rax, qword [rsp + 0x28]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1400b75fc
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400b7620
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov r12, rdx
mov rdx, rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [r12], ax
jne 0x1400b783b
movsxd rax, dword [r12 + 0x3c]
cmp dword [rax + r12], 0x4550
jne 0x1400b783b
mov ecx, dword [rax + r12 + 0x90]
test ecx, ecx
jne 0x1400b7691
mov qword [rdx], r8
mov qword [rdx + 8], r8
mov qword [rdx + 0x10], r8
jmp 0x1400b7846
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rbx, r8
mov qword [rbp - 0x39], rbx
lea r13, [r12 + rcx]
mov r14, qword [rbp - 0x41]
cmp dword [r13 + 0x10], 0
je 0x1400b782a
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r8
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
movdqu xmmword [rbp + 0x17], xmm0
mov r15, r8
mov qword [rbp + 0x27], r8
mov edx, dword [r13 + 0xc]
add rdx, r12
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r8
mov qword [rbp - 0x19], r8
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x1400b76f0
lea rcx, [rbp - 0x31]
call fcn.140065760
movups xmm0, xmmword [rbp - 0x31]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x21]
movups xmmword [rbp + 7], xmm1
mov esi, dword [r13 + 0x10]
add rsi, r12
mov edi, dword [r13]
add rdi, r12
mov rax, qword [rdi]
test rax, rax
je 0x1400b77d3
mov rbx, qword [rbp + 0x1f]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], 0
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], 0
lea rdx, [r12 + 2]
add rdx, rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400b7760
lea rcx, [rbp - 0x31]
call fcn.140091c40
mov qword [rbp - 0x11], rsi
cmp rbx, r15
je 0x1400b779a
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.1400668c0
mov rax, qword [rbp - 0x11]
mov qword [rbx + 0x20], rax
add rbx, 0x28
mov qword [rbp + 0x1f], rbx
jmp 0x1400b77b2
lea r8, [rbp - 0x31]
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.1400b7cd0
mov r15, qword [rbp + 0x27]
mov rbx, qword [rbp + 0x1f]
add rdi, 8
add rsi, 8
lea rcx, [rbp - 0x31]
call fcn.140061060
mov rax, qword [rdi]
test rax, rax
jne 0x1400b7731
mov rbx, qword [rbp - 0x39]
lea r8, [rbp - 9]
mov rdx, r14
cmp r14, rbx
je 0x1400b77ee
call fcn.1400b8040
add r14, 0x38
mov qword [rbp - 0x41], r14
jmp 0x1400b77ff
lea rcx, [rbp - 0x49]
call fcn.1400b7870
mov r14, qword [rbp - 0x41]
mov rbx, qword [rbp - 0x39]
add r13, 0x14
lea rcx, [rbp + 0x17]
call fcn.1400b73a0
lea rcx, [rbp - 9]
call fcn.140061060
cmp dword [r13 + 0x10], 0
mov r8d, 0
jne 0x1400b76b3
mov rdx, qword [rbp + 0x67]
mov rax, qword [rbp - 0x49]
mov qword [rdx], rax
mov qword [rdx + 8], r14
mov qword [rdx + 0x10], rbx
jmp 0x1400b7846
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdx
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
Function at 0x1400b8870
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x40
xor edx, edx
lea r9, [rsp + 0x68]
mov rsi, rcx
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x68], r14d
mov ebx, r14d
lea ecx, [rdx + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x1400b88ef
test rbx, rbx
je 0x1400b88b7
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x68]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x68]
lea r9, [rsp + 0x68]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x1400b88a1
test eax, eax
jns 0x1400b8914
test rbx, rbx
je 0x1400b8919
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
test rbx, rbx
jne 0x1400b8924
xor eax, eax
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x70], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x1400b89f3
nop word [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x20], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x30], r14
add rdx, rcx
mov qword [rsp + 0x38], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x1400b8975
lea rcx, [rsp + 0x20]
call fcn.140065760
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1400b8995
mov rdx, qword [rsi]
cmp qword [rsp + 0x38], 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400b8a19
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400b89e9
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b89e4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b8a62
call fcn.1400b9018
inc edi
cmp edi, dword [rbx]
jb 0x1400b8940
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400b8a6e
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b8a69
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400b8a69
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b9018
mov rax, rdi
jmp 0x1400b8a06
Function at 0x1400b96cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b9716
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b9716
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b9716
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b9716
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b9716
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b9718
xor al, al
add rsp, 0x28
ret
Function at 0x140001008
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.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001069
lea rcx, str.Windows_original_main_args:_n
call fcn.140001148
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001069
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [rdi + r8]
call fcn.140001148
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x14000103e
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
test edi, edi
jle 0x1400010b5
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010a2
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010cc
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010db
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 2
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x140002304]
mov qword [rsp + 0x38], rax
lea rax, [0x140002308]
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
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 0x1400018f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000193e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000193e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000193e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000193e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000193e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001940
xor al, al
add rsp, 0x28
ret
Function at 0x45e200
Capabilities:
Parse pe header
Terminate process

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
cmp word [0x00400000], 0x5a4d
je 0x45e221
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x45e242
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x45e280
cmp ecx, 0x20b
je 0x45e25e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x84], 0xe
ja 0x45e26f
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
cmp dword [rax + 0x74], 0xe
ja 0x45e28e
xor ebx, ebx
mov dword [rsp + 0x60], ebx
jmp 0x45e29d
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x60], ebx
mov ecx, 1
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x00483dc8], 0xffffffffffffffff
mov qword [0x00483dd0], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x00481da4]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x00481da0]
mov dword [rcx], eax
call 0x51a000
cmp dword [0x004817b0], 0
jne 0x45e2f7
lea rcx, [0x0045d2e0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x00460498]
lea rcx, [0x00460490]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x00481d9c]
mov dword [rsp + 0x68], r11d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x00481d98]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x00460488]
lea rcx, [0x00460430]
call sub.msvcrt.dll__initterm
mov r11, qword [rsp + 0x38]
mov rax, qword [sym.imp.msvcrt.dll___initenv]
mov qword [rax], r11
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
call fcn.0045ae04
mov edi, eax
mov dword [rsp + 0x34], eax
test ebx, ebx
jne 0x45e383
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x45e3a4
mov eax, edi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x58
ret
Function at 0x140002018
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400130f0
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]
nop
add rsp, 0x28
ret

Function at 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014430
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014450
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014463
xor al, al
jmp 0x1400144d1
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 0x14001448d
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144a1
xor al, al
jmp 0x1400144d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144b3
xor al, al
jmp 0x1400144d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144cf
xor al, al
jmp 0x1400144d1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012330
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113a2
movzx eax, al
test eax, eax
jne 0x140012350
mov ecx, 7
call fcn.140011320
nop
mov byte [rsp + 0x20], 0
call fcn.140011334
mov byte [rsp + 0x21], al
cmp dword [0x14001e878], 1
jne 0x140012374
mov ecx, 7
call fcn.140011320
nop
jmp 0x1400123cc
cmp dword [0x14001e878], 0
jne 0x1400123c7
mov dword [0x14001e878], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.14001119f
test eax, eax
je 0x1400123a8
mov eax, 0xff
jmp 0x1400124d1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.14001132a
mov dword [0x14001e878], 2
jmp 0x1400123cc
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001130c
call fcn.1400112a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012429
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x140012429
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112da
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001245d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x14001245d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011361
nop
call fcn.140012580
mov dword [rsp + 0x28], eax
call fcn.140011285
movzx eax, al
test eax, eax
jne 0x14001247c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001248b
call fcn.14001136b
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x1400124d1
add rsp, 0x68
ret

Function at 0x1401a1317
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
xor dword [rax - 0xa], edx
cmpsb byte [rsi], byte [rdi]
invalid
cmpsb byte [rsi], byte [rdi]
enter 0x18c1, 2
rol bl, 1
adc byte [rsi + 0x28031d8], ah
loopne 0x1401a127f
test al, 0xa6
call 0xf0d56af6
rcr dword [rax - 0x47ceb73d], 0x92
or byte [rbx - 0x3cef3e58], bh
push rax
xor dword [rax], edi
xchg edx, eax
movabs al, byte [0x183178c388c100bb]
xchg edx, eax
nop
mov ebx, 0xc380c140
pop rax
pop rcx
push 0xffffffffe3f75539
call fcn.1402a89fa
push rsp
pop rsp
adc dl, byte [rbp + 0x4175e289]
xor eax, 0x164b5aa5
add byte [rdi + riz*8 - 0x28c8a385], 0x3b
jl 0x1401a12de
push rax
add ah, byte [rax]
cmpsb byte [rsi], byte [rdi]
movabs al, byte [0x78a69002b0a6a802]
add dh, byte [rax]
cmpsb byte [rsi], byte [rdi]
add dil, byte [rax + 0x180200a6]
cmpsb byte [rsi], byte [rdi]
cmp byte [rdx], al
invalid