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

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea r8, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x18], rsi
mov rsi, qword [rbp + 0x60]
mov qword [rbp + 0x10], rdi
mov rax, qword [0x1400a3fc0]
xor rax, rbp
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsi], r8
cmp qword [rsi + 0x80], 0
je 0x140019618
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x1400197b0
cmp byte [rsi + 0x7c], 0
je 0x140019740
cmp qword [rsi + 0x80], 0
je 0x1400196e2
mov rdi, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp rax, qword [rdi]
je 0x140019783
cmp qword [rsi + 0x68], 0
je 0x1400196d1
cmp byte [rsi + 0x71], 0
je 0x1400196d1
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
mov rsi, qword [rbp + 0x60]
cmp eax, 0xffffffff
je 0x1400196d1
mov rdi, rsp
lea r8, [rbp + 0x20]
mov rcx, qword [rsi + 0x68]
add rsi, 0x74
mov rdx, rsi
lea r9, [rbp + 0x40]
lea rax, [rbp]
mov r10, qword [rcx]
mov qword [rdi + 0x20], rax
call qword [r10 + 0x40]
mov rsi, qword [rbp + 0x60]
test eax, eax
je 0x1400196a6
cmp eax, 1
je 0x1400196aa
cmp eax, 3
jne 0x1400196d1
mov byte [rsi + 0x71], 0
jmp 0x1400196d1
mov byte [rsi + 0x71], 0
mov r8, qword [rbp]
lea rax, [rbp + 0x20]
sub r8, rax
je 0x1400196d1
mov r9, qword [rsi + 0x80]
lea rcx, [rbp + 0x20]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rsi, qword [rbp + 0x60]
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [rbp + 0x60]
xor edx, edx
lea r10, [rsi + 8]
mov byte [rsi + 0x7c], dl
lea rdi, [rsi + 0x10]
mov byte [rsi + 0x71], dl
lea r11, [rsi + 0x28]
mov qword [rsi + 0x18], r10
lea r8, [rsi + 0x30]
mov qword [rsi + 0x20], rdi
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x38], r11
lea r9, [rsi + 0x4c]
mov qword [rsi + 0x40], r8
xor eax, eax
mov qword [rdi], rax
mov qword [r8], rax
mov dword [r9], edx
mov qword [r10], rax
mov qword [r11], rax
mov dword [rcx], edx
mov rdi, qword [0x1400ab330]
mov qword [rsi + 0x50], rcx
mov qword [rsi + 0x58], r9
mov qword [rcx + 0x38], rax
mov qword [rsi + 0x74], rdi
mov qword [rsi + 0x68], rax
mov rax, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rsi + 0x60]
mov qword [rsi], rax
test rcx, rcx
je 0x14001975d
mov edx, 1
call fcn.140023c50
mov rcx, qword [rbp + 0x40]
mov qword [rbp + 0x40], 0
xor rcx, rbp
cmp rcx, qword [0x1400a3fc0]
jne 0x1400197aa
mov rsi, qword [rbp + 0x18]
mov rdi, qword [rbp + 0x10]
lea rsp, [rbp + 0x50]
pop rbp
ret
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x140019641
call fcn.140081cb0
nop
mov rax, qword [rsi + 0x88]
mov r8, qword [rsi + 0x90]
mov qword [rdi], rax
sub r8, rax
mov rdi, qword [rsi + 0x38]
mov qword [rdi], rax
mov r9, qword [rsi + 0x50]
mov dword [r9], r8d
jmp 0x140019618
Function at 0x1400203a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rbp
sub rsp, 0x60
lea r9, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov rbx, rcx
mov rbp, rdx
mov r8, qword [0x1400a3fc0]
xor r8, rsp
mov qword [rsp + 0x58], r8
mov qword [rbx], r9
cmp qword [rbx + 0x80], 0
je 0x1400203e1
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x14002057b
cmp byte [rbx + 0x7c], 0
je 0x1400204f7
cmp qword [rbx + 0x80], 0
je 0x140020499
mov rsi, qword [rbx + 0x18]
lea rdx, [rbx + 0x70]
cmp rdx, qword [rsi]
je 0x14002054f
cmp qword [rbx + 0x68], 0
je 0x14002048c
cmp byte [rbx + 0x71], 0
je 0x14002048c
mov rsi, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [rsi + 0x18]
cmp eax, 0xffffffff
je 0x14002048c
mov rcx, qword [rbx + 0x68]
mov r11, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
mov rsi, qword [rcx]
lea r9, [rsp + 0x58]
lea r10, [rsp + 0x30]
mov qword [r11 + 0x20], r10
call qword [rsi + 0x40]
test eax, eax
je 0x140020462
cmp eax, 1
je 0x140020466
cmp eax, 3
jne 0x14002048c
mov byte [rbx + 0x71], 0
jmp 0x14002048c
mov byte [rbx + 0x71], 0
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
sub r8, rdx
je 0x14002048c
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
lea r10, [rbx + 8]
mov byte [rbx + 0x7c], al
lea rsi, [rbx + 0x10]
mov byte [rbx + 0x71], al
lea r11, [rbx + 0x28]
mov qword [rbx + 0x18], r10
lea r8, [rbx + 0x30]
mov qword [rbx + 0x20], rsi
lea rcx, [rbx + 0x48]
mov qword [rbx + 0x38], r11
lea r9, [rbx + 0x4c]
mov qword [rbx + 0x40], r8
xor edx, edx
mov qword [rsi], rdx
mov qword [r8], rdx
mov dword [r9], eax
mov qword [r10], rdx
mov qword [r11], rdx
mov dword [rcx], eax
mov rsi, qword [0x1400ab330]
mov qword [rbx + 0x50], rcx
mov qword [rbx + 0x58], r9
mov qword [rcx + 0x38], rdx
mov qword [rbx + 0x74], rsi
mov qword [rbx + 0x68], rdx
mov rdx, qword [sym.imp.MSVCP140.dll_const_std::basic_streambuf_char__struct_std::char_traits_char__::vftable]
mov rcx, qword [rbx + 0x60]
mov qword [rbx], rdx
test rcx, rcx
je 0x140020514
mov edx, 1
call fcn.140023c50
test rbp, 1
je 0x14002052a
mov rcx, rbx
mov edx, 0x98
call fcn.140081d8c
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
jne 0x140020576
mov rax, rbx
add rsp, 0x60
pop rbp
pop rsi
pop rbx
ret
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x14002040a
call fcn.140081cb0
mov rdx, qword [rbx + 0x88]
mov r8, qword [rbx + 0x90]
mov qword [rsi], rdx
sub r8, rdx
mov rsi, qword [rbx + 0x38]
mov qword [rsi], rdx
mov r9, qword [rbx + 0x50]
mov dword [r9], r8d
jmp 0x1400203e1
Function at 0x140021820
Capabilities:
Read file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r12, r8
mov rbp, rdx
mov r13, rcx
test r12, r12
jle 0x1400219cc
cmp qword [r13 + 0x68], 0
jne 0x1400218f8
mov rdx, qword [r13 + 0x38]
mov r15, r12
mov rdx, qword [rdx]
test rdx, rdx
je 0x140021862
mov r9, qword [r13 + 0x50]
movsxd r14, dword [r9]
jmp 0x140021865
xor r14d, r14d
test r14, r14
ja 0x14002199b
cmp qword [r13 + 0x80], 0
je 0x1400218e4
mov r9, qword [r13 + 0x18]
lea rdx, [r13 + 0x70]
cmp rdx, qword [r9]
je 0x140021974
cmp r15, 0xfff
jbe 0x1400218c4
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rbp, rax
sub r15, rax
cmp rax, 0xfff
jne 0x1400218e4
cmp r15, 0xfff
ja 0x140021892
test r15, r15
jbe 0x1400218e4
mov r9, qword [r13 + 0x80]
mov rcx, rbp
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r15, rax
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r15, r12
mov rdx, qword [r13 + 0x38]
mov rdx, qword [rdx]
test rdx, rdx
je 0x140021910
mov r8, qword [r13 + 0x50]
movsxd r14, dword [r8]
jmp 0x140021913
xor r14d, r14d
test r14, r14
jle 0x140021943
cmp r15, r14
mov rcx, rbp
cmovl r14, r15
mov r8, r14
call fcn.140078d70
mov rdx, qword [r13 + 0x50]
add rbp, r14
sub r15, r14
movsxd r8, r14d
sub dword [rdx], r14d
mov r9, qword [r13 + 0x38]
add qword [r9], r8
jmp 0x14002195b
mov rdx, qword [r13]
mov rcx, r13
call qword [rdx + 0x38]
cmp eax, 0xffffffff
je 0x140021960
mov byte [rbp], al
inc rbp
dec r15
test r15, r15
jg 0x1400218fb
sub r12, r15
mov rax, r12
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov rdx, qword [r13 + 0x88]
mov r10, qword [r13 + 0x90]
mov qword [r9], rdx
sub r10, rdx
mov r9, qword [r13 + 0x38]
mov qword [r9], rdx
mov r11, qword [r13 + 0x50]
mov dword [r11], r10d
jmp 0x140021889
cmp r14, r12
mov rcx, rbp
cmovae r14, r12
mov r8, r14
call fcn.140078d70
mov rdx, qword [r13 + 0x50]
mov r15, r12
add rbp, r14
sub r15, r14
movsxd r9, r14d
sub dword [rdx], r14d
mov r10, qword [r13 + 0x38]
add qword [r10], r9
jmp 0x14002186e
xor eax, eax
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400219e0
Capabilities:
Write file on windows

Disassembly:
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x20
mov r13, rcx
mov rbp, r8
mov r12, rdx
cmp qword [r13 + 0x68], 0
je 0x140021a85
mov r15, rbp
test rbp, rbp
jle 0x140021a71
mov r9, qword [r13 + 0x40]
mov rcx, qword [r9]
test rcx, rcx
je 0x140021a1e
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x140021a21
xor r14d, r14d
test r14, r14
jle 0x140021a51
cmp r15, r14
mov rdx, r12
cmovl r14, r15
mov r8, r14
call fcn.140078d70
mov r9, qword [r13 + 0x58]
add r12, r14
sub r15, r14
movsxd r10, r14d
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
jmp 0x140021a6c
mov r9, qword [r13]
mov rcx, r13
movzx edx, byte [r12]
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x140021a71
inc r12
dec r15
test r15, r15
jg 0x140021a09
sub rbp, r15
mov rax, rbp
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
mov r9, qword [r13 + 0x40]
mov r15, rbp
mov rcx, qword [r9]
test rcx, rcx
je 0x140021a9d
mov r9, qword [r13 + 0x58]
movsxd r14, dword [r9]
jmp 0x140021aa0
xor r14d, r14d
test rbp, rbp
jle 0x140021af8
test r14, r14
jle 0x140021ad8
cmp rbp, r14
mov rdx, r12
cmovl r14, rbp
mov r8, r14
call fcn.140078d70
mov r9, qword [r13 + 0x58]
add r12, r14
movsxd r10, r14d
sub rbp, r14
sub dword [r9], r14d
mov r11, qword [r13 + 0x40]
add qword [r11], r10
test rbp, rbp
jle 0x140021af8
mov r9, qword [r13 + 0x80]
test r9, r9
je 0x140021af8
mov rcx, r12
mov edx, 1
mov r8, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbp, rax
sub r15, rbp
mov rax, r15
add rsp, 0x20
pop rbp
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x140021b10
Capabilities:
Write file on windows

Disassembly:
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x68
mov rdi, rcx
mov r10, qword [0x1400a3fc0]
mov r14d, r9d
xor r10, rsp
mov r13, r8
mov qword [rsp + 0x60], r10
mov r12, rdx
mov r11, qword [rdi + 0x38]
lea rbp, [rdi + 0x70]
cmp rbp, qword [r11]
je 0x140021cd8
mov rcx, qword [rdi + 0x80]
test rcx, rcx
je 0x140021c37
cmp qword [rdi + 0x68], 0
je 0x140021c06
cmp byte [rdi + 0x71], 0
je 0x140021c06
mov r9, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [r9 + 0x18]
cmp eax, 0xffffffff
je 0x140021c37
mov rcx, qword [rdi + 0x68]
mov r15, rsp
lea rdx, [rdi + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x140021bc7
cmp eax, 1
je 0x140021bcb
cmp eax, 3
jne 0x140021c37
mov byte [rdi + 0x71], 0
mov rcx, qword [rdi + 0x80]
jmp 0x140021c06
mov byte [rdi + 0x71], 0
mov r15, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
sub r15, r9
je 0x140021bf9
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140021c37
cmp byte [rdi + 0x71], 0
jne 0x140021c37
mov rcx, qword [rdi + 0x80]
test r13, r13
jne 0x140021c11
cmp r14d, 1
je 0x140021c28
mov rdx, r13
mov r8d, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x140021c37
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
test eax, eax
je 0x140021c77
xor edx, edx
mov qword [r12], 0xffffffffffffffff
mov qword [r12 + 8], rdx
mov qword [r12 + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
jne 0x140021caf
mov rax, r12
add rsp, 0x68
pop rbp
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdx, qword [rdi + 0x18]
cmp rbp, qword [rdx]
je 0x140021cb4
mov rcx, qword [rdi + 0x74]
xor ebp, ebp
mov rdx, qword [rsp + 0x38]
mov qword [r12], rdx
mov qword [r12 + 8], rbp
mov qword [r12 + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbp
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
je 0x140021c65
call fcn.140081cb0
mov rbp, qword [rdi + 0x88]
mov r8, qword [rdi + 0x90]
mov qword [rdx], rbp
sub r8, rbp
mov rdx, qword [rdi + 0x38]
mov qword [rdx], rbp
mov r9, qword [rdi + 0x50]
mov dword [r9], r8d
jmp 0x140021c80
cmp r14d, 1
jne 0x140021b4a
cmp qword [rdi + 0x68], 1
sbb r13, 0
jmp 0x140021b4a
Function at 0x140021cf0
Capabilities:
Write file on windows

Disassembly:
push rbx
push r14
push r15
push rbp
sub rsp, 0x68
mov r14, r8
mov rbx, rcx
mov rbp, rdx
mov r10, qword [0x1400a3fc0]
xor r10, rsp
mov r11, qword [r14]
add r11, qword [r14 + 8]
mov qword [rsp + 0x60], r10
mov rcx, qword [rbx + 0x80]
mov qword [rsp + 0x38], r11
test rcx, rcx
je 0x140021de9
cmp qword [rbx + 0x68], 0
je 0x140021dda
cmp byte [rbx + 0x71], 0
je 0x140021dda
mov r8, qword [rbx]
mov rcx, rbx
mov edx, 0xffffffff
call qword [r8 + 0x18]
cmp eax, 0xffffffff
je 0x140021de9
mov rcx, qword [rbx + 0x68]
mov r15, rsp
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x40]
mov r10, qword [rcx]
lea r9, [rsp + 0x60]
lea r11, [rsp + 0x30]
mov qword [r15 + 0x20], r11
call qword [r10 + 0x40]
test eax, eax
je 0x140021d9b
cmp eax, 1
je 0x140021d9f
cmp eax, 3
jne 0x140021de9
mov byte [rbx + 0x71], 0
mov rcx, qword [rbx + 0x80]
jmp 0x140021dda
mov byte [rbx + 0x71], 0
mov r15, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
sub r15, rdx
je 0x140021dcd
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x40]
mov edx, 1
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x140021de9
cmp byte [rbx + 0x71], 0
jne 0x140021de9
mov rcx, qword [rbx + 0x80]
lea rdx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fsetpos]
test eax, eax
je 0x140021e28
xor edx, edx
mov qword [rbp], 0xffffffffffffffff
mov qword [rbp + 8], rdx
mov qword [rbp + 0x10], rdx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
jne 0x140021e23
mov rax, rbp
add rsp, 0x68
pop rbp
pop r15
pop r14
pop rbx
ret
call fcn.140081cb0
mov rdx, qword [r14 + 0x10]
lea r8, [rbx + 0x70]
mov qword [rbx + 0x74], rdx
mov rdx, qword [rbx + 0x18]
cmp r8, qword [rdx]
je 0x140021e6c
mov rcx, qword [rbx + 0x74]
xor ebx, ebx
mov rdx, qword [rsp + 0x38]
mov qword [rbp], rdx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], rbx
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
jne 0x140021e23
jmp 0x140021e15
mov r8, qword [rbx + 0x88]
mov r9, qword [rbx + 0x90]
mov qword [rdx], r8
sub r9, r8
mov rdx, qword [rbx + 0x38]
mov qword [rdx], r8
mov r10, qword [rbx + 0x50]
mov dword [r10], r9d
jmp 0x140021e3d

Function at 0x1400785b0
Capabilities:
Terminate process

Disassembly:
push r15
push rbp
sub rsp, 0x28
mov r15, rcx
mov rax, qword [r15 + 0x18]
mov rdx, qword [r15 + 0x20]
mov r8, qword [r15 + 0x10]
dec r8
mov r9, qword [r15 + 8]
lea r10, [rax + rdx - 1]
and r10, r8
mov rbp, qword [r9 + r10*8]
mov rax, qword [rbp + 0x30]
cmp rax, 0xf
ja 0x140078615
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
dec qword [r15 + 0x20]
je 0x140078605
add rsp, 0x28
pop rbp
pop r15
ret
mov qword [r15 + 0x18], 0
add rsp, 0x28
pop rbp
pop r15
ret
mov r8, qword [rbp + 0x18]
lea rdx, [rax + 1]
mov rcx, r8
cmp rdx, 0x1000
jb 0x140078640
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rdx, [rax + 0x28]
cmp r8, 8
jb 0x140078647
cmp r8, 0x27
ja 0x140078647
call fcn.140081d8c
jmp 0x1400785e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop
Function at 0x140078650
Capabilities:
Terminate process

Disassembly:
push r12
sub rsp, 0x20
mov r12d, ecx
xor ecx, ecx
call fcn.1400786d0
lea rcx, [0x1400aac48]
mov edx, 6
call fcn.1400792b0
cmp eax, 1
je 0x1400786bb
test eax, eax
jl 0x140078681
add rsp, 0x20
pop r12
ret
xor edx, edx
mov ecx, 1
xor r8d, r8d
call fcn.14007ac20
mov ecx, 1
mov edx, 0x3a
xor r8d, r8d
call fcn.14007ac20
xor edx, edx
mov ecx, 1
xor r8d, r8d
call fcn.14007ac20
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
xor ecx, ecx
mov edx, r12d
add rsp, 0x20
pop r12
jmp 0x14007aee0
push r14
push r15
push rbp
sub rsp, 0x240
mov r15d, edx
mov ebp, r15d
mov r14d, r15d
mov rax, qword [0x1400a3fc0]
and ebp, 4
xor rax, rsp
mov qword [rsp + 0x230], rax
and r14d, 2
je 0x14007af2d
test cl, 2
je 0x14007af49
test ebp, ebp
je 0x14007af1e
test cl, 4
je 0x14007af49
test r15d, 1
jne 0x14007afeb
jmp 0x14007af83
test ebp, ebp
je 0x14007afb5
test cl, 4
je 0x14007af49
test r15d, 1
jne 0x14007afeb
jmp 0x14007af9c
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
nop
fxsave [rsp + 0x30]
xor edx, edx
mov eax, dword [rsp + 0x4c]
test al, 0x40
cmove r14d, edx
test eax, 0x20000
cmove ebp, edx
test r15d, 1
jne 0x14007afeb
test r14d, r14d
je 0x14007af98
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
test ebp, ebp
je 0x14007afbe
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x20000
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
jmp 0x14007afbe
test r15d, 1
jne 0x14007afeb
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x230], 0
xor rcx, rsp
cmp rcx, qword [0x1400a3fc0]
jne 0x14007b007
add rsp, 0x240
pop rbp
pop r15
pop r14
ret
stmxcsr dword [rsp + 0x20]
mov eax, dword [rsp + 0x20]
or eax, 0x8000
mov dword [rsp + 0x20], eax
ldmxcsr dword [rsp + 0x20]
jmp 0x14007af7e
call fcn.140081cb0
nop
nop dword [rax]
push rdi
push r15
mov r11, rcx
mov r10, r11
movabs rax, 0x101010101010101
movzx r9, dl
imul r9, rax
lea rdx, [0x14007bcb0]
vmovq xmm0, r9
cmp r8, 0x80
ja 0x14007b050
mov rdi, r10
add rdi, r8
sub rdx, qword [rdx + r8*8]
notrack jmp rdx
lea rdx, [0x14007b3b0]
mov rcx, r10
and rcx, 0x1f
je 0x14007b083
neg rcx
add rcx, 0x20
sub r8, rcx
mov rdi, r10
add rdi, rcx
sub rdx, qword [rdx + rcx*8]
notrack jmp rdx
cmp r8, 0x100
jl 0x14007b1c0
mov rcx, qword [0x1400a4870]
mov rdi, rcx
shr rcx, 4
sub rdi, rcx
cmp r8, rdi
jae 0x14007b100
vpbroadcastd ymm0, xmm0
vmovdqa ymmword [r10], ymm0
vmovdqa ymmword [r10 + 0x20], ymm0
vmovdqa ymmword [r10 + 0x40], ymm0
vmovdqa ymmword [r10 + 0x60], ymm0
add r10, 0x100
sub r8, 0x100
vmovdqa ymmword [r10 - 0x80], ymm0
vmovdqa ymmword [r10 - 0x60], ymm0
vmovdqa ymmword [r10 - 0x40], ymm0
vmovdqa ymmword [r10 - 0x20], ymm0
cmp r8, 0x100
jge 0x14007b0ab
jmp 0x14007b1d0
mov rdi, r10
mov rax, r9
mov rcx, r8
cld
rep stosb byte [rdi], al
jmp 0x14007c0c0
vpbroadcastd ymm0, xmm0
nop dword [rax]
nop dword [rax]
add r10, r8
mov rdi, r10
and r10, 0xffffffffffffffe0
lea rdx, [0x14007b4b0]
sub rdx, qword [rdx + r8*8]
notrack jmp rdx
vzeroupper
mov rax, r11
pop r15
pop rdi
ret
Function at 0x140082b8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140082bd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140082bd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140082bd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140082bd6
cmp dword [rcx + 0x84], 0xe
jbe 0x140082bd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140082bd8
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, [0x140002248]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002238]
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 0x140013800
Capabilities:
Listen for remote procedure calls

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov r8d, 1
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
cmp eax, 0x6b1
je 0x140013871
test eax, eax
je 0x140013871
lea rcx, str...SwRpcServer.cpp
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x140013841
inc rax
jmp 0x140013848
lea rax, str...SwRpcServer.cpp
lea rcx, [0x140042858]
mov rdx, rax
call fcn.140001760
movabs rcx, 0x212500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
add rsp, 0x20
pop rbx
ret
movabs rax, 0x8000000000
add rsp, 0x20
pop rbx
ret