joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180021408
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180021438
xor eax, eax
jmp 0x1800214fb
mov rbp, rbx
cmp word [rax], si
je 0x18002145d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180021444
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180021440
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18001faf0
movsxd r14, eax
test eax, eax
jne 0x18002149b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180021431
mov rcx, r14
call fcn.18001b6a8
mov rdi, rax
test rax, rax
jne 0x1800214b4
xor ecx, ecx
call fcn.18001a8a8
jmp 0x180021490
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18001faf0
test eax, eax
jne 0x1800214e5
mov rcx, rdi
call fcn.18001a8a8
jmp 0x1800214ef
xor ecx, ecx
call fcn.18001a8a8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180024070
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180017fe4
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180024111
cmp ebx, dword [rsp + 0x30]
je 0x18002410a
test esi, esi
je 0x18002410a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800240e5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800240f2
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800240cf
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800240f6
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180024113
mov eax, 1
jmp 0x180024113
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180027d70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180027d98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180027d98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100401000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call fcn.100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
xor dh, byte [rdx]
xor dl, byte [rbp + 0x32]
xor dh, byte [rdx]
cmp eax, 0x32323232
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
push rdi
fld dword [rcx + rsi]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dh, byte [rdx]
xor dl, byte [rdi - 0x27]
add al, 0x31
jb 0x100411d3a
or esi, dword [rcx]
jge 0x100411d43
or eax, 0x8e06631
xor dword [rax - 0x23], esp
invalid
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00417ad0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00417ae0]
mov dword [rax], 1
mov rax, qword [0x00417af0]
mov dword [rax], 1
mov rax, qword [0x00417ac0]
mov dword [rax], 1
mov rax, qword [0x004179a0]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x00417ab0]
mov dword [0x0041b008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00417a60]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00417950]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058

Function at 0x401940
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [sym.__acrt_iob_func]
test rdx, rdx
mov r13, rcx
mov rbp, rdx
jle 0x4019d0
mov rdi, qword [sym.__acrt_iob_func]
lea r12, [0x00416040]
xor esi, esi
lea r14, [rdx - 1]
mov rbx, qword [r13 + rsi*8]
mov ecx, 1
call rdi
mov r9, rax
test rbx, rbx
je 0x4019c0
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
test rdx, rdx
cmove rcx, r12
mov r8d, 1
add rsi, 1
call sym.fwrite
cmp rsi, rbp
je 0x4019d0
jb 0x401974
mov rdx, r14
mov rcx, rsi
call sym.raiseIndexError2
jmp 0x401974
xor edx, edx
mov rcx, r12
jmp 0x401996
mov ecx, 1
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x00416041]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rdi
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.fflush

Function at 0x401ca0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rcx, rdx
mov edx, 1
mov r9, rsi
call sym.fwrite
mov rcx, rsi
movsxd rbx, eax
call sym.ferror
test eax, eax
jne 0x401cd2
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, rsi
call sym.checkErr_fU6ZlJAtQ9bre04EDZLdGsA.part.2
nop
nop dword [rax + rax]
Function at 0x401ce0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
mov rdi, rcx
mov rsi, rdx
je 0x401d40
mov rcx, qword [rdx]
test rcx, rcx
mov r8, rcx
js 0x401d70
test rcx, rcx
mov r9, rdi
mov edx, 1
lea rax, [rsi + 0x10]
lea rcx, [0x00416040]
cmovne rcx, rax
call sym.fwrite
mov rcx, rdi
movsxd rbx, eax
call sym.ferror
test eax, eax
jne 0x401d7d
mov rax, qword [rsi]
cmp rax, rbx
jne 0x401d85
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov r9, rcx
xor r8d, r8d
mov edx, 1
lea rcx, [0x00416040]
call sym.fwrite
mov rcx, rdi
movsxd rbx, eax
call sym.ferror
test eax, eax
jne 0x401d7d
xor eax, eax
jmp 0x401d2e
call sym.raiseRangeError
mov rcx, qword [rsi]
xor r8d, r8d
jmp 0x401cfd
mov rcx, rdi
call sym.checkErr_fU6ZlJAtQ9bre04EDZLdGsA.part.2
lea rcx, [0x00416080]
call sym.raiseEIO_ZYk14k3sVNZUIjJjtqzFZQ
nop
nop dword [rax]
nop word cs:[rax + rax]

Function at 0x401e20
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x401e3f
mov rcx, rdx
call sym.strlen
mov r8, rax
mov r9, rsi
mov edx, 1
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fwrite

Function at 0x402090
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov r9, rax
call sym.fwrite
mov ecx, 1
call sym.exit
nop
nop
nop word cs:[rax + rax]

Function at 0x40a800
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov ecx, 2
call qword [sym.__acrt_iob_func]
xor r8d, r8d
test rbx, rbx
mov rsi, rax
je 0x40a82a
mov rcx, rbx
call sym.strlen
mov r8, rax
mov r9, rsi
mov edx, 1
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.fwrite

Function at 0x40a840
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [0x00424da0]
test rax, rax
mov rbx, rcx
je 0x40a8c0
xor esi, esi
test rcx, rcx
je 0x40a8b0
call sym.strlen
mov edx, 0x18
mov qword [rsp + 0x28], 7
cmp rax, 6
mov rdi, rax
ja 0x40a900
lea rcx, [0x0042f020]
call sym.rawNewObj_ehkAaLROrd0Hc9aLROWt1nQ.constprop.34
movq xmm0, rdi
mov rdx, rbx
lea rcx, [rax + 0x10]
movhps xmm0, qword [rsp + 0x28]
mov rsi, rax
movups xmmword [rax], xmm0
lea r8, [rdi + 1]
call sym.memcpy
mov rax, qword [0x00424da0]
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp rax
mov ecx, 2
call qword [sym.__acrt_iob_func]
xor r8d, r8d
test rbx, rbx
mov rsi, rax
je 0x40a8e1
mov rcx, rbx
call sym.strlen
mov r8, rax
mov r9, rsi
mov edx, 1
mov rcx, rbx
add rsp, 0x30
pop rbx
pop rsi
pop rdi
jmp sym.fwrite
lea rdx, [rax + 0x11]
mov qword [rsp + 0x28], rax
jmp 0x40a87d
Function at 0x413a20
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x0041d1e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x413ba8
mov rax, qword [0x0041d1e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x413a6c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x413af5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x413a50
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x413bdd
mov rax, qword [0x0041d1e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0041d1e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x413bc0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x413aee
sub eax, 0x40
and eax, 0xffffffbf
jne 0x413b50
add dword [0x0041d1e4], 1
cmp edi, 8
jae 0x413b23
test dil, 4
jne 0x413b94
test edi, edi
je 0x413b18
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x413baf
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x413b18
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x413b3c
jmp 0x413b18
add rsi, qword [0x0041d1e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x413aee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x413b18
xor esi, esi
jmp 0x413a77
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x413b18
mov rax, qword [0x0041d1e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x414330
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0041d4c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0041d4a0]
test rbx, rbx
je 0x414384
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x41437b
test rsi, rsi
je 0x41437b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x414360
lea rcx, [0x0041d4c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4145c0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x4145d0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x4145e0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x414621
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x414618
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x414623
add rax, 0x28
cmp rax, r9
jne 0x414604
xor eax, eax
ret

Function at 0x4146c0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004179a0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x41472d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x41472d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x41472d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x414724
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x41472f
add rax, 0x28
cmp rax, r9
jne 0x414710
xor eax, eax
add rsp, 0x28
ret

Function at 0x414830
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x004179a0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x414850
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x414848
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x4148ad
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x4148a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4148b4
add rax, 0x28
cmp rax, r9
jne 0x414890
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x4148d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004179a0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x41493e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x41493e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x41493e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x41493e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x414935
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x414945
add rcx, 0x28
cmp rcx, rax
jne 0x414920
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x414958
jmp 0x41493e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x414966
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x41493e
test r9d, r9d
jg 0x414950
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x414c60
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1415b7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1415b71df
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 0x1415b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b706f
add dl, dl
jne 0x1415b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b70f6
xor eax, eax
add dl, dl
jne 0x1415b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1415b71ad
add dl, dl
jne 0x1415b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1415b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1415b707e
mov eax, 1
add dl, dl
jne 0x1415b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1415b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b70fb
sub eax, ebx
mov ebx, 1
jne 0x1415b714c
mov ecx, 1
add dl, dl
jne 0x1415b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1415b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1415b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1415b715d
cmp eax, 0x7d00
jae 0x1415b719b
cmp eax, 0x500
jb 0x1415b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
cmp eax, 0x7f
ja 0x1415b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1415b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1415b71d2
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 0x1415b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
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, [0x1400022cc]
mov qword [rsp + 0x38], rax
lea rax, [0x1400022d0]
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 0x174c42c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x174c436
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x174c45f
pop rbp
sub rbp, 0x33
sub rbp, 0x134c42c
sub rsp, 0x20
add byte [rax], al
jmp 0x174c47e
mov rax, 0x134c42c
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x1e668d34
lea esp, [rsi + 0x1e]
xor byte [rax], dl
inc rax
dec rcx
jne 0x174c49d
jmp 0x174c4b4
jl 0x174c473
fnstsw word [rdi + 0x343408bd]
xor al, 0x7c
mov ch, 0xf5
cmp al, 0x35
xor al, 0x34
jl 0x174c4fb
fnstsw word [rbx + rsi*8 - 0xc]
xor dword [rsp + rsi], esi
xor al, 0x7c
neg byte [rsp + rsi]
xor al, 0x34
jl 0x174c49a
invalid
xor eax, 0x9f8e7cdd
cmp di, si
xor al, 0x34
xor al, 0x34
fdiv qword [rcx]
xor al, 0x34
xor al, 0xdd
and dh, byte [rsp + rsi]
xor al, 0xf5
fdiv qword [rsi]
add eax, 0xf5b57c25
xor byte [rsp + rsi], dh
xor al, 0x7c
retf
Function at 0x2d93435e0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, rdx
test rdx, rdx
jle 0x2d934364f
mov rbp, qword [fcn.2d93d7db0]
mov r12, qword [0x2d9401050]
mov rbx, rcx
xor esi, esi
lea r13, [rsp + 0x20]
jmp 0x2d934361d
add rsi, 1
add rbx, 0x10
cmp rdi, rsi
je 0x2d9343656
mov ecx, 1
call rbp
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r13
mov rcx, rax
movups xmmword [rsp + 0x20], xmm0
call fcn.2d9343490
cmp byte [r12], 0
je 0x2d9343610
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rbp, qword [fcn.2d93d7db0]
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x2d93da17c]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.2d93d8528