joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000e220
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp], rax
mov rbp, qword [r8 + 0x18]
mov r10, r8
mov rbx, qword [r8 + 0x10]
mov r12, rdx
mov r11, rcx
cmp rbp, 8
jb 0x18000e25c
mov r8, qword [r8]
xor edi, edi
lea r9, [rbx + rbx]
movabs rdx, 0xcbf29ce484222325
mov ecx, edi
test r9, r9
je 0x18000e294
movabs rsi, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, rsi
cmp rcx, r9
jb 0x18000e280
mov rcx, qword [r11 + 0x30]
mov r13d, 1
mov rsi, qword [r11 + 8]
and rcx, rdx
mov rdx, qword [r11 + 0x18]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r14, qword [rdx + rcx*8]
lea r15, [rdx + rcx*8]
nop
cmp r14, rsi
jne 0x18000e2ca
mov rcx, rsi
jmp 0x18000e2d1
mov rcx, qword [r15 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x18000e3ac
lea rdx, [rax + 0x10]
cmp rbp, 8
jb 0x18000e2e9
mov r8, qword [r10]
jmp 0x18000e2ec
mov r8, r10
cmp qword [rdx + 0x18], 8
lea rcx, [rdx + 0x10]
jb 0x18000e2fa
mov rdx, qword [rdx]
mov r11, qword [rcx]
mov r9, rbx
cmp r11, rbx
cmovb r9, r11
test r9, r9
jne 0x18000e320
mov r9d, edi
test r9d, r9d
jne 0x18000e31b
cmp r11, rbx
jb 0x18000e31b
jbe 0x18000e347
mov rax, qword [rax]
jmp 0x18000e2c0
movzx ecx, word [r8]
cmp word [rdx], cx
jne 0x18000e336
add rdx, 2
add r8, 2
sub r9, r13
jmp 0x18000e30a
cmp word [rdx], cx
mov r9d, r13d
mov ecx, 0xffffffff
cmovb r9d, ecx
jmp 0x18000e30f
cmp qword [rax + 0x28], 8
lea rdx, [rax + 0x10]
lea r9, [rdx + 0x10]
jb 0x18000e359
mov rdx, qword [rdx]
cmp rbp, 8
jb 0x18000e362
mov r10, qword [r10]
mov r9, qword [r9]
cmp rbx, r9
mov r8, r9
cmovb r8, rbx
test r8, r8
je 0x18000e398
movzx ecx, word [rdx]
cmp word [r10], cx
jne 0x18000e38c
add r10, 2
add rdx, 2
sub r8, r13
jne 0x18000e374
jmp 0x18000e398
mov ecx, 0xffffffff
cmovb r13d, ecx
mov edi, r13d
test edi, edi
jne 0x18000e3a3
cmp rbx, r9
jb 0x18000e3a3
jbe 0x18000e3a6
mov rax, rsi
mov qword [r12], rax
jmp 0x18000e3b0
mov qword [r12], rsi
mov rax, r12
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.180017470
mov rbx, qword [rsp + 0x68]
add rsp, 0x10
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18000e6e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov r11, rcx
mov qword [rsp + 0x20], rcx
mov r14, qword [r8 + 0x10]
mov r13, qword [r8 + 0x18]
cmp r13, 8
jb 0x18000e72a
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r9, [r14 + r14]
test r9, r9
je 0x18000e764
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x18000e750
mov r12, qword [r11 + 0x30]
and r12, rdx
shl r12, 4
mov rbx, qword [r11 + 0x18]
mov rax, qword [rbx + r12]
cmp rax, qword [r11 + 8]
jne 0x18000e783
mov rbx, qword [r11 + 8]
jmp 0x18000e78b
mov rbx, qword [rbx + r12 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x18000e830
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
lea rcx, [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x18000e7aa
mov rdx, qword [rdx]
cmp r13, 8
jb 0x18000e7b5
mov r8, qword [r15]
jmp 0x18000e7b8
mov r8, r15
mov r10, qword [rcx]
mov r9, r10
cmp r14, r10
cmovb r9, r14
test r9, r9
jmp 0x18000e7fc
movzx ecx, word [rdx]
cmp word [r8], cx
jne 0x18000e7e7
add r8, 2
add rdx, 2
sub r9, 1
jmp 0x18000e7fc
mov r9d, 1
cmp word [r8], cx
mov ecx, 0xffffffff
cmovb r9d, ecx
jmp 0x18000e801
jne 0x18000e7d0
xor r9d, r9d
test r9d, r9d
jne 0x18000e827
cmp r14, r10
jb 0x18000e827
ja 0x18000e827
mov rdx, rdi
mov rcx, r11
call fcn.18000ed90
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x18000e8c7
cmp rbx, rax
jne 0x18000e794
mov qword [rsp + 0x30], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x18000e86a
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r11 + 0x18]
add rdx, r12
mov rax, qword [rdx]
cmp rax, qword [r11 + 8]
jne 0x18000e888
mov qword [rdx], rdi
mov rax, qword [r11 + 0x18]
mov qword [rax + r12 + 8], rdi
jmp 0x18000e8b4
cmp rax, rbx
jne 0x18000e892
mov qword [rdx], rdi
jmp 0x18000e8b4
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x18000e8b4
mov rdx, qword [r11 + 0x18]
mov rax, qword [rdx + r12 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12 + 8], rcx
mov rcx, r11
call fcn.18000ecd0
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180017470
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000ee30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x30
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x20], rax
cmp qword [r8 + 0x28], 8
lea r9, [r8 + 0x10]
mov r10, qword [r9 + 0x10]
mov rbx, rdx
mov r11, rcx
jb 0x18000ee61
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x18000ee9a
mov qword [rsp + 0x58], rdi
movabs rdi, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r10
jb 0x18000ee81
mov rdi, qword [rsp + 0x58]
mov r9, qword [r11 + 0x30]
and r9, rdx
mov rdx, qword [r11 + 0x18]
shl r9, 4
add rdx, r9
cmp qword [rdx + 8], r8
jne 0x18000eed7
cmp qword [rdx], r8
jne 0x18000eecd
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x18000eee2
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x18000eee2
cmp qword [rdx], r8
jne 0x18000eee7
mov rcx, qword [r8]
mov qword [rdx], rcx
mov r8, qword [rsp + 0x50]
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.18000ef10
mov rax, rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.180017470
add rsp, 0x30
pop rbx
ret

Function at 0x18000f7e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edi, edi
mov qword [rsp + 0x48], 7
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rdi
mov word [rsp + 0x30], di
call fcn.18000c100
mov ebx, eax
test eax, eax
js 0x18000f850
cmp qword [rsp + 0x48], 8
lea r8, [rsp + 0x30]
mov dword [rsp + 0x28], 1
lea rdx, str.edit
cmovae r8, qword [rsp + 0x30]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, edi
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x18000f86d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
inc r8
call fcn.18000d280
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180017470
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x1800141b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rcx
mov qword [rsp + 0x40], rdx
xor ecx, ecx
xor r8d, r8d
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov edi, dword [rsi + 8]
mov dword [rsp + 0x50], ecx
or edi, 0x2001f
mov qword [rsp + 0x58], rcx
mov r9d, edi
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x180014307
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180014238
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
and edi, 0x300
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x50], edi
test ebx, ebx
jne 0x180014307
xor edi, edi
mov dword [rsp + 0x68], 0x100
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800142df
nop dword [rax]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.1800141b0
mov ebx, eax
test eax, eax
jne 0x180014307
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rdi
lea r8, [rbp - 0x80]
mov qword [rsp + 0x28], rdi
xor edx, edx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x68], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180014290
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800142f4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rdi
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
mov dword [rsp + 0x50], edi
call fcn.1800144b0
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180014317
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180017470
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x290
pop rdi
pop rsi
pop rbp
ret
Function at 0x180014400
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180014474
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180014496
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180014496
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180014496
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800144de
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180014400
cmp byte [0x180064708], 0
jne 0x180014529
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180014519
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180064700], rax
mov byte [0x180064708], 1
jmp 0x180014530
mov rax, qword [0x180064700]
mov byte [0x180064708], 1
jmp 0x180014530
mov rax, qword [0x180064700]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18001454f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x1800144b0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x180014474
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180014496
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180014496
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180014496
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800144de
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180014400
cmp byte [0x180064708], 0
jne 0x180014529
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180014519
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180064700], rax
mov byte [0x180064708], 1
jmp 0x180014530
mov rax, qword [0x180064700]
mov byte [0x180064708], 1
jmp 0x180014530
mov rax, qword [0x180064700]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18001454f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
Function at 0x180015140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.18001d6f0
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800151e0
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x1800151e0
call fcn.1800131c0
mov ebx, eax
jmp 0x180015308
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x180015201
call fcn.1800131c0
jmp 0x1800152f7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180015224
call fcn.1800131c0
jmp 0x1800152f7
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180015246
mov ebx, 0x8007000e
jmp 0x1800152f9
mov ecx, eax
test eax, eax
je 0x18001527e
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x180015274
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x18001527e
lea rcx, [rsp + 0x70]
call fcn.180013190
jmp 0x180015288
mov ecx, 0x80070216
call fcn.18000f380
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x18001529b
cmp qword [rsp + 0x70], 0
jne 0x1800152aa
mov ebx, 0x8007000e
jmp 0x1800152f9
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1800152d4
call fcn.1800131c0
jmp 0x1800152f7
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180014f50
mov ebx, eax
test rdi, rdi
je 0x180015308
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18001531f
lea rcx, [rsp + 0x70]
call fcn.180013170
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.180017470
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x180016910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r15, r8
mov rsi, rdx
mov r11, rcx
mov qword [rsp + 0x20], rcx
mov r14, qword [r8 + 0x10]
mov r13, qword [r8 + 0x18]
cmp r13, 8
jb 0x18001695a
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r9, [r14 + r14]
test r9, r9
je 0x180016994
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x180016980
mov r12, qword [r11 + 0x30]
and r12, rdx
shl r12, 4
mov rbx, qword [r11 + 0x18]
mov rax, qword [rbx + r12]
cmp rax, qword [r11 + 8]
jne 0x1800169b3
mov rbx, qword [r11 + 8]
jmp 0x1800169bb
mov rbx, qword [rbx + r12 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x180016a60
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
lea rcx, [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1800169da
mov rdx, qword [rdx]
cmp r13, 8
jb 0x1800169e5
mov r8, qword [r15]
jmp 0x1800169e8
mov r8, r15
mov r10, qword [rcx]
mov r9, r10
cmp r14, r10
cmovb r9, r14
test r9, r9
jmp 0x180016a2c
movzx ecx, word [rdx]
cmp word [r8], cx
jne 0x180016a17
add r8, 2
add rdx, 2
sub r9, 1
jmp 0x180016a2c
mov r9d, 1
cmp word [r8], cx
mov ecx, 0xffffffff
cmovb r9d, ecx
jmp 0x180016a31
jne 0x180016a00
xor r9d, r9d
test r9d, r9d
jne 0x180016a57
cmp r14, r10
jb 0x180016a57
ja 0x180016a57
mov rdx, rdi
mov rcx, r11
call fcn.180016cc0
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x180016af7
cmp rbx, rax
jne 0x1800169c4
mov qword [rsp + 0x30], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x180016a9a
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r11 + 0x18]
add rdx, r12
mov rax, qword [rdx]
cmp rax, qword [r11 + 8]
jne 0x180016ab8
mov qword [rdx], rdi
mov rax, qword [r11 + 0x18]
mov qword [rax + r12 + 8], rdi
jmp 0x180016ae4
cmp rax, rbx
jne 0x180016ac2
mov qword [rdx], rdi
jmp 0x180016ae4
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x180016ae4
mov rdx, qword [r11 + 0x18]
mov rax, qword [rdx + r12 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12 + 8], rcx
mov rcx, r11
call fcn.180016c00
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180017470
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x180016d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x30
mov rax, qword [0x180061008]
xor rax, rsp
mov qword [rsp + 0x20], rax
cmp qword [r8 + 0x28], 8
lea r9, [r8 + 0x10]
mov r10, qword [r9 + 0x10]
mov rbx, rdx
mov r11, rcx
jb 0x180016d81
mov r9, qword [r9]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x180016dba
mov qword [rsp + 0x58], rdi
movabs rdi, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r10
jb 0x180016da1
mov rdi, qword [rsp + 0x58]
mov r9, qword [r11 + 0x30]
and r9, rdx
mov rdx, qword [r11 + 0x18]
shl r9, 4
add rdx, r9
cmp qword [rdx + 8], r8
jne 0x180016df7
cmp qword [rdx], r8
jne 0x180016ded
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x180016e02
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x180016e02
cmp qword [rdx], r8
jne 0x180016e07
mov rcx, qword [r8]
mov qword [rdx], rcx
mov r8, qword [rsp + 0x50]
lea rcx, [r11 + 8]
mov rdx, rbx
call fcn.180016e30
mov rax, rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.180017470
add rsp, 0x30
pop rbx
ret
Function at 0x14066d0a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140f28ec0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14066d0c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14066d0c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14066d0c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14066d115
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14066d10c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14066d0c0
add rax, 0x28
cmp rax, r9
jne 0x14066d0f8
xor eax, eax
ret

Function at 0x14066d120
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140f28ec0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14066d140
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14066d148
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14066d140
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14066d1d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140f28ec0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14066d1f0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14066d1f8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
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, [0x140002230]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002220]
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 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret