joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400087a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rsi, rcx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebp, ebp
lea rdi, [rsp + 0x50]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.14000c660
mov r8d, 0x104
mov rcx, rdi
mov rdx, rsi
call fcn.140014d74
mov qword [rsp + 0x48], 0
lea rdx, [0x14002fa20]
lea r8, [rsp + 0x48]
mov rcx, rdi
call fcn.140014df0
test rax, rax
je 0x1400089e5
mov rsi, rax
mov rbx, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea r12, [0x14002fa20]
lea rdi, [rsp + 0x48]
mov r13, qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x14000886b
test r14d, r14d
jne 0x1400089e5
xor ecx, ecx
mov rdx, r12
mov r8, rdi
call fcn.140014df0
mov r15, rax
mov rcx, rsi
mov rdx, rax
call r13
test r15, r15
je 0x1400089e3
mov rcx, rsi
call rbx
test eax, 0x400
je 0x140008849
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
mov rcx, rsi
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140008953
mov dword [rsp + 0x40], ebp
mov r13, rdi
mov rdi, r12
mov ecx, 0x4000
call fcn.14000a950
mov r12, rax
mov r8d, 0x4000
mov rcx, rax
xor edx, edx
call fcn.14000c660
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x4000
mov rcx, r15
mov edx, 0x900a8
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov bpl, 1
mov r14d, 1
test eax, eax
je 0x1400089b0
mov eax, dword [r12]
cmp eax, 0xa000000c
je 0x140008968
cmp eax, 0xa0000003
jne 0x1400089b0
cmp word [r12 + 0xa], 5
jb 0x140008971
movzx eax, word [r12 + 8]
and eax, 0xfffffffe
lea rcx, [r12 + rax]
add rcx, 0x10
jmp 0x140008986
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
setne bpl
mov r14d, 1
jmp 0x1400089c5
cmp word [r12 + 0xa], 5
jae 0x140008975
xor ebp, ebp
jmp 0x1400089b0
movzx eax, word [r12 + 8]
and eax, 0xfffffffe
lea rcx, [r12 + rax]
add rcx, 0x14
mov r8d, 4
lea rdx, str.___
call fcn.140014d48
xor r14d, r14d
test eax, eax
setne r14b
mov ebp, dword [rsp + 0x40]
or bpl, r14b
nop dword [rax + rax]
mov rcx, r12
call fcn.14000a958
mov r12, rdi
mov rdi, r13
mov r13, qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rax, r15
inc rax
cmp rax, 2
jb 0x140008840
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008840
xor ebp, ebp
and bpl, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14000ac40
mov eax, ebp
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140008f00
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140027070]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140008fe2
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400148ac
cmp rax, 0x105
jb 0x140008f5f
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140008fe2
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.140014d74
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140009d70
test eax, eax
je 0x140008fe2
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008fac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008fe2
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140009d70
test eax, eax
je 0x140008fe2
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008fdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008fe2
mov esi, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14000ac40
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x140009730
Capabilities:
Query service status

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x140009853
mov rsi, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140009879
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x1400098a3
xor r14d, r14d
lea r15, [rsp + 0x34]
lea rbx, [rsp + 0x38]
mov r12, qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400097f0
cmp dword [rsp + 0x3c], 1
je 0x1400098c4
mov ecx, 0x32
call r13
add r14d, 0x32
cmp r14d, ebp
jae 0x1400098be
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x24
call r12
test eax, eax
jne 0x1400097d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x140009827
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x1400097db
jmp 0x140009904
cmp eax, 0x79
jle 0x1400098cb
cmp eax, 0x41c
je 0x1400097db
cmp eax, 0x7a
je 0x140009919
cmp eax, 0x7c
jne 0x140009912
mov ebx, 0xdd
jmp 0x14000991e
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
sete cl
xor ecx, 0xff
cmp eax, 5
mov ebx, 0xfd
cmovne ebx, ecx
jmp 0x140009935
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x1400098aa
cmp edi, 5
je 0x1400098e1
cmp edi, 6
jne 0x1400098ef
mov ebx, 0xec
jmp 0x140009935
mov ebx, 0xcf
jmp 0x140009922
cmp edi, 0x7b
je 0x1400098e8
cmp edi, 0x424
jne 0x1400098ef
mov ebx, 0xee
jmp 0x140009935
mov ebx, dword [rsp + 0x3c]
jmp 0x140009922
mov ebx, 1
jmp 0x140009922
cmp eax, 5
je 0x1400098f6
cmp eax, 6
je 0x1400098fd
cmp eax, 0x57
jne 0x140009912
mov ebx, 0xdc
jmp 0x14000991e
mov ebx, 0xeb
jmp 0x140009935
mov ebx, 0xed
jmp 0x140009935
mov ebx, 0xef
jmp 0x140009935
mov ebx, 0xda
jmp 0x14000991e
mov ebx, 0xd9
jmp 0x14000991e
cmp eax, 0x45b
jne 0x140009912
mov ebx, 0xde
jmp 0x14000991e
mov ebx, 0xdf
jmp 0x14000991e
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
mov r14, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call r14
mov rcx, rsi
call r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000ac40
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140009960
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x468
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea r14, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000c660
mov rcx, r14
call fcn.140008f00
test eax, eax
je 0x140009a90
xor edi, edi
lea r14, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000c660
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.140009000
test eax, eax
je 0x140009a90
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.140009d70
test eax, eax
je 0x140009a90
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140009a90
mov rbx, rax
lea rdx, str.failed:__d
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, esi
call fcn.140009ab0
mov rcx, rdi
call fcn.140014790
mov rsi, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
cmp dword [rsp + 0x3c], esi
sete cl
and cl, al
movzx edi, cl
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14000ac40
mov eax, edi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140009cd0
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140036138]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000c660
mov rcx, rdi
call fcn.1400148ac
cmp rax, 0x104
ja 0x140009d4d
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.140014d74
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [rsi], ecx
mov ebx, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14000ac40
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000b9c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rbp - 0x40], 0x40041133
add al, 0x40
mov eax, dword [rbp - 0x80]
mov r10, qword [rbp - 0x58]
sub r10, 0xa
cqo
idiv r10
mov dword [rbp - 0x44], eax
mov rax, 0x1b
mov r10, qword [rbp - 0x68]
cqo
idiv r10
cli
mov r10d, edi
mov r11, rax
add r11, r10
mov r10d, edi
add r10d, r13d
cmp r11d, r10d
jb 0x14000b9cf
invalid
jmp 0x14000ba05
mov r10d, r11d
mov r10b, byte [r14 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x44]
mov r8d, esi
add r8d, r9d
movzx r9d, r8b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r14 + r10], r9b
lea r11, [r11 + 1]
jmp 0x14000b9c2
mov r10d, dword [rbp - 0x80]
lea r10, [r10 + 1]
mov dword [rbp - 0x80], r10d
mov r12, 0x400d3000
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x40], r10
add r12, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
add r10, qword [rbp - 0x58]
sub r10, 0xa
mov r9d, dword [rbp - 0x80]
cmp r10, r9
jge 0x14000b98e
mov qword [rbp - 0x98], 0x40212000
mov r10, qword [rbp - 0x58]

Function at 0x14000ba10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rbp - 0x40], 0x40041133
add al, 0x40
mov eax, dword [rbp - 0x80]
mov r10, qword [rbp - 0x58]
sub r10, 0xa
cqo
idiv r10
mov dword [rbp - 0x44], eax
mov rax, 0x1b
mov r10, qword [rbp - 0x68]
cqo
idiv r10
cli
mov r10d, edi
mov r11, rax
add r11, r10
mov r10d, edi
add r10d, r13d
cmp r11d, r10d
jb 0x14000b9cf
invalid
jmp 0x14000ba05
mov r10d, r11d
mov r10b, byte [r14 + r10]
mov byte [rbp - 0x31], r10b
movzx r10d, byte [rbp - 0x31]
mov r9d, dword [rbp - 0x44]
mov r8d, esi
add r8d, r9d
movzx r9d, r8b
xor r10d, r9d
mov byte [rbp - 0x31], r10b
mov r10d, r11d
mov r9b, byte [rbp - 0x31]
mov byte [r14 + r10], r9b
lea r11, [r11 + 1]
jmp 0x14000b9c2
mov r10d, dword [rbp - 0x80]
lea r10, [r10 + 1]
mov dword [rbp - 0x80], r10d
mov r12, 0x400d3000
mov r10, qword [rbp - 0x70]
add qword [rbp - 0x40], r10
add r12, qword [rbp - 0x70]
mov r10, qword [rbp - 0x60]
add r10, qword [rbp - 0x58]
sub r10, 0xa
mov r9d, dword [rbp - 0x80]
cmp r10, r9
jge 0x14000b98e
mov qword [rbp - 0x98], 0x40212000
mov r10, qword [rbp - 0x58]
Function at 0x14001037c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400104ac
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 0x140010513
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010513
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010513
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010513
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010513
cmp dword [rcx + 0x84], 0xe
jbe 0x140010513
cmp dword [rcx + 0xf8], 0
je 0x140010513
mov ecx, ebx
call fcn.1400103f8
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.14001062c
cmp dword [rbp + 0x20], 0
je 0x140010560
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140010454
int3

Function at 0x140012e58
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012e78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140010fb0
or eax, 0xffffffff
jmp 0x140012e7a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400027e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1401434d4], 0
lea rdi, [0x1401434d0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x1400028b8
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002810
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x1400028ee
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x1400028d0
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000292f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002913
cmp byte [r8], r9b
jne 0x140002913
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002900
not eax
pop rdi
ret
Function at 0x140012750
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x20
mov rbx, qword [0x1401432a0]
xor esi, esi
mov r15, rcx
mov dword [rbx + 0x2d9c], esi
test rcx, rcx
je 0x14001287a
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rdi
lea rdi, [rbx + 0x2da0]
mov dword [rbx + 0x2d9c], esi
mov r8d, dword [rdi + 4]
test r8d, r8d
jns 0x1400127b2
mov eax, r8d
mov rcx, rdi
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.1400137c0
mov r8d, dword [rdi + 4]
mov dword [rdi], esi
mov eax, esi
test r8d, r8d
jne 0x1400127c9
lea edx, [r8 + 8]
mov rcx, rdi
call fcn.1400137c0
mov eax, dword [rdi]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], sil
inc dword [rdi]
cmp dword [rbx + 0x2db0], esi
jle 0x14001281a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax + rax]
mov r9, qword [rbx + 0x2db8]
mov r8, rdi
add r9, r14
mov rcx, rbx
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rbx + 0x2db0]
jl 0x1400127f0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
cmp qword [rdi + 8], rsi
je 0x140012829
mov esi, dword [rdi]
dec esi
mov rax, qword [rbx + 0x2da8]
lea rdi, [0x140143298]
test rax, rax
movsxd rsi, esi
lea rdx, [0x140045a34]
mov rcx, r15
cmovne rdi, rax
call fcn.140002940
mov rbx, rax
test rax, rax
je 0x140012875
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbx
ret
Function at 0x14001e0a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x14001e257
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x14001e136
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001da70
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001d080
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x14001e127
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140013440
mov dword [rbx + 0x80], 0
jmp 0x14001e243
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001bfa0
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140043230
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140043291
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140043250
mov ecx, dword [r10]
jmp 0x14004337a
cmp ecx, 0x4e0
jb 0x14004337a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400432b0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140043300
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000a920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14001b170], rbx
je 0x14000a96c
cmp rax, rbx
jne 0x14000a95f
mov ebx, 1
mov esi, ebx
jmp 0x14000a971
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a944
mov ebx, 1
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000a987
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000a9ec
mov eax, dword [0x14001b178]
test eax, eax
jne 0x14000a9e6
mov dword [0x14001b178], ebx
lea r15, [0x14000c4b8]
lea rdi, [0x14000c4a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x14000a9d8
test eax, eax
jne 0x14000a9dc
cmp qword [rdi], 0
je 0x14000a9cd
mov rax, qword [rdi]
mov rcx, qword [0x14000c480]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000a9ae
test eax, eax
je 0x14000a9ec
mov eax, 0xff
jmp 0x14000aac8
mov dword [0x14001a104], ebx
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000aa13
lea rdx, [0x14000c498]
lea rcx, [0x14000c488]
call sub.msvcrt.dll__initterm
mov dword [0x14001b178], 2
test esi, esi
jne 0x14000aa20
xor eax, eax
xchg qword [0x14001b170], rax
cmp qword [0x14001b180], 0
je 0x14000aa54
lea rcx, [0x14001b180]
call fcn.14000ac90
test eax, eax
je 0x14000aa54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001b180]
mov r9, qword [0x14000c480]
call r9
mov r8, qword [0x14001a118]
mov rdx, qword [0x14001a110]
mov ecx, dword [0x14001a108]
call fcn.140005fbc
mov dword [0x14001a100], eax
cmp dword [0x14001a120], 0
jne 0x14000aa84
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001a104], 0
jne 0x14000aa99
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001a100]
jmp 0x14000aac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.14012f000
add rsp, 0x28
jmp 0x14000a920

Function at 0x14000ab7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000abc8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000abc0
cmp dword [rcx + 0x3c], edx
jl 0x14000abc0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000abc0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000abc8
mov rax, rdx
add rsp, 0x18
ret