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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r9, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
mov r8, qword [rsi + 0x30]
and r8, rcx
mov rbx, qword [rsi + 8]
mov rcx, r8
add rcx, rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + rcx*8]
cmp rbx, rax
je 0x140038efc
mov rbx, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbx]
nop
cmp rbx, rax
je 0x140038efc
mov rbx, qword [rbx + 8]
mov edx, dword [rbx + 0x10]
cmp dword [r9], edx
jne 0x140038ed0
mov rdx, rdi
mov rcx, rsi
call fcn.1400390b0
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14003902b
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140038f36
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
add r8, r8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x140038f56
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140038f85
cmp rax, rbx
jne 0x140038f61
mov qword [rdx + r8*8], rdi
jmp 0x140038f85
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140038f85
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x1400cf7c0]
test rax, rax
jns 0x140038fa6
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x140038fb7
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140039020
cmp rdx, 0x200
jae 0x140038fd3
lea rdx, [rdx*8]
jmp 0x140038fe5
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140038fe5
add rdx, rdx
mov rcx, rsi
call fcn.140017000
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140039020
mov r15, qword [rax + 8]
nop word [rax + rax]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140038e30
cmp rbx, r15
jne 0x140039000
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003d6b0
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400391c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov r9, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
mov r10, qword [r9 + 0x30]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x18]
and r10, rdx
shl r10, 4
add rcx, r10
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140039254
cmp rax, r8
jne 0x14003924a
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [r10 + rcx + 8], rax
jmp 0x14003925f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14003925f
cmp rax, r8
jne 0x14003925f
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rdx, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rdx + 8], rcx
mov edx, 0x18
dec qword [r9 + 0x10]
mov rcx, r8
call fcn.14003dc60
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400397b0
Capabilities:
Get session information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, rdx
mov r14, rcx
test rcx, rcx
je 0x1400398a9
mov ecx, dword [rcx]
lea eax, [rcx - 1]
cmp eax, 0xfffffffd
ja 0x1400398a9
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1400398cc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x3f0
jne 0x1400398a9
xor r15d, r15d
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x40], r15d
xor edx, edx
mov qword [rsp + 0x30], r15
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
test eax, eax
je 0x1400398a9
mov edi, r15d
cmp dword [rsp + 0x40], r15d
jbe 0x1400398a9
mov eax, edi
lea r9, [rsp + 0x38]
mov r8d, 8
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x30]
mov esi, dword [rax + rcx*8]
lea rax, [rsp + 0x44]
mov edx, esi
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x44], r15d
call qword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
je 0x1400398a1
mov rcx, qword [rsp + 0x38]
mov ebx, dword [rcx]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
test ebx, ebx
jne 0x1400398a1
mov rdx, rbp
mov dword [r14], esi
mov ecx, esi
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1400398cc
inc edi
cmp edi, dword [rsp + 0x40]
jb 0x140039843
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14003d6b0
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov eax, 1
jmp 0x1400398ab
Function at 0x14003cd00
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rsi
push r14
sub rsp, 0x58
lea rax, [rsp + 0x70]
mov r14d, 1
mov r8d, r14d
mov qword [rsp + 0x20], rax
lea r9, [0x1400bc278]
xor edx, edx
lea rcx, [0x1400bc268]
xor sil, sil
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x14003ce26
mov qword [rsp + 0x80], rbx
lea rcx, str.rootWMI
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x50], rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x70]
xor ebp, ebp
mov rdi, rax
xor r9d, r9d
lea rax, [0x140103428]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rdi
mov r10, qword [rcx]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
call qword [r10 + 0x18]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rdi, qword [rsp + 0x50]
test ebx, ebx
mov rbx, qword [rsp + 0x80]
js 0x14003ce13
mov rcx, qword [0x140103428]
lea r8, [rsp + 0x78]
lea rdx, [0x1400c8ce8]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14003ce13
mov rcx, qword [0x140103428]
lea edx, [rbp + 0xa]
mov dword [rsp + 0x38], ebp
xor r9d, r9d
mov qword [rsp + 0x30], rbp
xor r8d, r8d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoSetProxyBlanket]
mov rcx, qword [rsp + 0x78]
test eax, eax
movzx esi, sil
cmovns esi, r14d
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rbp, qword [rsp + 0x88]
movzx eax, sil
add rsp, 0x58
pop r14
pop rsi
ret
Function at 0x14003d610
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str._ATKWMI__WMI_Close
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
xor ebx, ebx
cmp dword [0x140103418], ebx
je 0x14003d653
lea rcx, str._ATKWMI____Uninitialize_NEW_WMI
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov rcx, qword [0x140103420]
test rcx, rcx
je 0x14003d653
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x140103420], rbx
cmp dword [0x14010341c], ebx
je 0x14003d667
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov dword [0x14010341c], ebx
mov dword [0x140103418], ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140065824
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
je 0x140065837
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14006f6d0
lea rdx, [0x1400f3650]
lea rcx, [rsp + 0x20]
call fcn.14008007c
int3

Function at 0x140070068
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140102400]
xor edx, edx
jmp fcn.140065824

Function at 0x140070a00
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140102400]
jmp fcn.140065824

Function at 0x14007c160
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14007c21c]
mov r9, qword [r9 + 8]
jmp fcn.14006d82c

Function at 0x14007c1f4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14007c22c]
mov r9, qword [r9 + 8]
jmp fcn.14006d82c

Function at 0x14008bacc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008b95f
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14008b95f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008b95f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008b95f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008b95f
cmp dword [rcx + 0x84], 0xe
jbe 0x14008b95f
cmp dword [rcx + 0xf8], 0
je 0x14008b95f
mov ecx, ebx
call fcn.14008ba00
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14008b7f0
cmp dword [rbp + 0x20], 0
je 0x14008b9ac
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008b9b4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008b8f8
Function at 0x140001330
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14001c218]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 0x20
lea rcx, [rsp + 0x28]
call sub.ADVAPI32.dll_SystemFunction036
movzx eax, al
test eax, eax
jne 0x140001362
xor eax, eax
jmp 0x1400013bd
mov dword [rsp + 0x20], 0
jmp 0x140001376
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x1f
jge 0x1400013a4
movsxd rax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x28]
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
add eax, 0x61
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov word [rdx + rcx*2], ax
jmp 0x14000136c
mov eax, 2
imul rax, rax, 0x1f
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov word [rdx + rax], cx
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400019f0
add rsp, 0x58
ret

Function at 0x140001fd8
Capabilities:
Parse pe header

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

Function at 0x140006450
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000624c
Function at 0x14000ad74
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 0x14000ada4
xor eax, eax
jmp 0x14000ae67
mov rbp, rbx
cmp word [rax], si
je 0x14000adc9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000adb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000adac
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.14000ac94
movsxd r14, eax
test eax, eax
jne 0x14000ae07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ad9d
mov rcx, r14
call fcn.14000c044
mov rdi, rax
test rax, rax
jne 0x14000ae20
xor ecx, ecx
call fcn.140008148
jmp 0x14000adfc
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.14000ac94
test eax, eax
jne 0x14000ae51
mov rcx, rdi
call fcn.140008148
jmp 0x14000ae5b
xor ecx, ecx
call fcn.140008148
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 0x14000f7c8
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140010400
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140010400
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14000f918
cmp rax, 0xffffffffffffffff
je 0x14000f918
xor edi, edi
test rbp, rbp
jle 0x14000f8c3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140009290
mov rbx, rax
test rax, rax
jne 0x14000f850
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14000f8b9
mov edx, 0x8000
mov ecx, r14d
call fcn.1400071e4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14000e040
cmp eax, 0xffffffff
je 0x14000f899
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14000f860
mov edx, r15d
mov ecx, r14d
call fcn.1400071e4
jmp 0x14000f8b9
cmp byte [rsi + 0x38], dil
je 0x14000f8b0
cmp dword [rsi + 0x34], 5
jne 0x14000f8b0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14000f8b9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140008148
jmp 0x14000f92c
jns 0x14000f92c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140010400
cmp rax, 0xffffffffffffffff
jne 0x14000f8e4
cmp byte [rsi + 0x30], dil
je 0x14000f92c
mov edi, dword [rsi + 0x2c]
jmp 0x14000f92c
mov ecx, r14d
call fcn.14000bcfc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14000f92c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14000f92c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14000f925
mov eax, dword [rsi + 0x2c]
jmp 0x14000f92a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140010400
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14000f95c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14001d7d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000f9b3
cmp word [rdx], r13w
jne 0x14000f9b3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000f9b8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000fadd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000fafe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000f9f1
mov rdx, r9
mov word [rbx], cx
jmp 0x14000fa18
cmp r9, r8
jae 0x14000fa28
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000f9d2
jmp 0x14000fadd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000fad2
cmp dword [rsp + 0x80], esi
je 0x14000fad2
lea r8, [0x14001d7d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000faaa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000fa7a
mov word [rbx], r13w
jmp 0x14000fada
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000fa87
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000fada
cmp word [rsp + 0x70], r13w
jne 0x14000fab7
cmp rbx, r14
je 0x14000fa74
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140010400
cmp word [rsp + 0x70], r13w
je 0x14000fadd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14001d7d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000fad7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000fadd
Function at 0x1800625a8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp edx, 1
jne 0x180062629
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rcx, rdi
call fcn.180060c54
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x1800625f7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x1800625f7
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.1800621c4
and qword [rsp + 0x28], 0
lea r8, [0x180061acc]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180062629
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x1800629dc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180062a01
xor eax, eax
jmp 0x180062afe
cmp qword [rcx + 0x68], 0
je 0x180062a12
call fcn.180064b34
jmp 0x180062afe
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x180062a29
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180062a2b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180062a60
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180103280
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180062af8
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x180062a9b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x180062ad3
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.18010ba78
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x180062b0f
cmp rbp, r15
ja 0x180062aa9
mov r8, rbx
test rbx, rbx
je 0x180062af8
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.18010ba78
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x180062afb
Function at 0x180062edc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180207070]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x180062f15
xor eax, eax
jmp 0x180063037
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x180062f4f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x180062f4f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180063037
cmp qword [rbx + 0x80], 0
je 0x180063035
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180062f8a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180062fad
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.18010be0c
cmp eax, edi
cmovne edi, esi
jmp 0x180063035
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
je 0x180062ffb
sub eax, 1
je 0x180062ffb
cmp eax, 2
jne 0x180063035
movsx ecx, byte [rbp - 0x30]
jmp 0x180062f97
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x180063025
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.18010b794
cmp r14, rax
jne 0x180063035
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x180063037
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801008f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret