joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000324c
Capabilities:
Parse pe header

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

Function at 0x140001d40
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.140002290
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.140002290
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140013008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000241c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000241c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000241c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000241c
sub rcx, qword [0x140013008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140002408
add rax, 0x28
dec edx
je 0x14000241c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140002400
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140002400
jmp 0x14000241e
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140013008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140002455
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140002455
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140002455
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140013008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400024fc
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400024fc
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x1400024fe
xor eax, eax
ret
Function at 0xbe1bf0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xbe1bfd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xbe1c0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xbe1bf5
lea eax, [rcx + 1]
jmp 0xbe1c1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xbe1c2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xbe1c14
sub eax, 3
jb 0xbe1c4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xbe1c9d
sar eax, 1
movsxd rbp, eax
jb 0xbe1c84
jmp 0xbe1c5c
add ebx, ebx
jne 0xbe1c5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbe1c84
inc ecx
add ebx, ebx
jne 0xbe1c6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbe1c84
call r11
adc ecx, ecx
add ebx, ebx
jne 0xbe1c7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xbe1c6c
add ecx, 2
jmp 0xbe1c89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00be1bb2
jmp 0xbe1bfd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x385000
mov dl, 0x53
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xbe1ce9
cmp rsi, rcx
jae 0xbe1cf1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xbe1cd0
cmp al, 0x8f
ja 0xbe1cd0
cmp byte [rsi - 2], 0xf
je 0xbe1cd6
sub al, 0xe8
cmp al, 1
ja 0xbe1cba
cmp rsi, rcx
jae 0xbe1cf1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xbe1cc0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xbe1cf1
lodsb al, byte [rsi]
jmp 0xbe1cd0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7c6000]
mov eax, dword [rdi]
or eax, eax
je 0xbe1d4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7ef9bc]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xbe1cfe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xbe1d48
mov qword [rbx], rax
add rbx, 8
jmp 0xbe1d1e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xbe1d88
cmp al, 0xef
ja 0xbe1d7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xbe1d5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0xbe1d69
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xbe1ddc
sub rsp, 0xffffffffffffff80
jmp 0x76f0c0
Function at 0x2fc4d07b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d1890
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d11b2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f3108]
test eax, eax
je 0x2fc4d124a
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f3110]
mov qword [rbp - 8], rax
jmp 0x2fc4d122e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d1222
cmp qword [rbp - 0x10], 0
je 0x2fc4d1222
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d11e8
lea rax, [0x2fc4f30e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d124b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d1350
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d1378
mov eax, 0
jmp 0x2fc4d13c6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d13a1
mov eax, 0
jmp 0x2fc4d13c6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d13c1
mov eax, 0
jmp 0x2fc4d13c6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d13cc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d144a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d1441
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d1441
mov rax, qword [rbp - 8]
jmp 0x2fc4d145f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d1414
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14011f1ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140358760
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14011f276
Capabilities:
Parse pe header

Disassembly:
jmp 0x140359ab0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140359ad0
xor al, al
jmp 0x140359b51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140359ae3
xor al, al
jmp 0x140359b51
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140359b0d
xor al, al
jmp 0x140359b51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140359b21
xor al, al
jmp 0x140359b51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140359b33
xor al, al
jmp 0x140359b51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140359b4f
xor al, al
jmp 0x140359b51
mov al, 1
add rsp, 0x38
ret
Function at 0xb298f0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb298fd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb2990d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb298f5
lea eax, [rcx + 1]
jmp 0xb2991b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xb2992e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb29914
sub eax, 3
jb 0xb2994e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb2999d
sar eax, 1
movsxd rbp, eax
jb 0xb29984
jmp 0xb2995c
add ebx, ebx
jne 0xb2995a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb29984
inc ecx
add ebx, ebx
jne 0xb2996a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb29984
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb2997d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb2996c
add ecx, 2
jmp 0xb29989
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00b298b2
jmp 0xb298fd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x224a00
mov dl, 0x35
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb299e9
cmp rsi, rcx
jae 0xb299f1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb299d0
cmp al, 0x8f
ja 0xb299d0
cmp byte [rsi - 2], 0xf
je 0xb299d6
sub al, 0xe8
cmp al, 1
ja 0xb299ba
cmp rsi, rcx
jae 0xb299f1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb299c0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb299f1
lodsb al, byte [rsi]
jmp 0xb299d0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x722000]
mov eax, dword [rdi]
or eax, eax
je 0xb29a4e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x729000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb299fe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb29a48
mov qword [rbx], rax
add rbx, 8
jmp 0xb29a1e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xb29a92
cmp al, 0xef
ja 0xb29a7a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xb29a5a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xb29a69
mov eax, dword [rdi]
add rdi, 4
jmp 0xb29a69
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb29ae6
sub rsp, 0xffffffffffffff80
jmp 0x468420
Function at 0x140001000
Capabilities:
Get common file path

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, 0x30
mov ebp, dword [rsp + 0x70]
lea r14d, [rcx + 0x7ab]
mov edi, edx
lea r12d, [rcx - 0x40a8]
xor edi, 0x30a
mov esi, r8d
mov edx, 0x4bd7
mov rbx, r9
lea r15d, [rbp - 0x4e6c]
xor esi, edx
xor ebp, 0x73fa
lea eax, [rdi + 0x9b0]
cmp r14d, eax
jge 0x140001154
mov eax, r15d
xor eax, edx
cmp edi, eax
jg 0x1400010d4
lea eax, [rbp + 0x12f2]
cmp r12d, eax
jge 0x1400010a1
mov eax, dword [r9 + 0x6c]
xor edi, 0x7573
xor eax, 0x3eef55ca
sub dword [0x140608054], eax
mov eax, dword [r9 + 0xcc]
add eax, dword [0x1406080e4]
xor eax, 0x140511
sub dword [r9 + 0x44], eax
jmp 0x1400010d4
mov eax, dword [0x1406080b0]
xor eax, dword [0x140608034]
add eax, 0x4d0d
cmp esi, eax
jbe 0x1400010d4
mov ecx, dword [r9 + 0x138]
mov edx, dword [r9 + 0x80]
or ecx, edi
sub edx, dword [0x1406080dc]
add ecx, esi
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [rsi + 0x3b8c]
cmp r15d, eax
je 0x140001154
lea eax, [rdi - 0xbdb]
cmp esi, eax
jge 0x140001102
cmp dword [rbx + 0x80], 0x1001d
jb 0x140001154
mov eax, 0x1c2344
sub eax, dword [rbx + 0x6c]
add dword [rbx + 0x44], eax
jmp 0x140001154
mov rax, qword [section..data]
mov rcx, rbx
mov r8d, dword [rbx + 0x118]
imul r14d, ebp
mov edx, dword [rax + 0x68]
sub r8d, dword [rax + 0x80]
xor edx, 0x3db0
mov eax, dword [rbx + 0x138]
sub r8d, dword [rbx + 0x3c]
or eax, ebp
add r14d, r15d
imul edx, r15d
or ebp, r15d
mov dword [rsp + 0x28], r14d
and eax, r12d
mov r9d, ebp
mov dword [rsp + 0x20], eax
call fcn.14000117c
mov r14d, eax
mov rbx, qword [rsp + 0x50]
lea eax, [r14 - 0x47b]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x14000bb44
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14000bb21
call fcn.14000a814
mov dword [rax], 0x16
call fcn.14000a6f4
or eax, 0xffffffff
jmp 0x14000bb3e
sub dword [rcx + 0x10], 1
jns 0x14000bb30
add rsp, 0x28
jmp 0x14000e720
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14000bb00
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14000e5c0
call fcn.14000a814
mov dword [rax], 0x16
call fcn.14000a6f4
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14000e5a8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14000e5a8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14000e5f2
lock or dword [rax + 0x14], 0x10
jmp 0x14000e5a8
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14000e60f
mov rcx, qword [rbp + 0x10]
call fcn.14000e728
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000b944
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14000ffbc
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14000e666
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14000e5a8
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14000e6d2
mov rcx, qword [rbp + 0x10]
call fcn.14000b944
cmp eax, 0xffffffff
je 0x14000e6b9
mov rcx, qword [rbp + 0x10]
call fcn.14000b944
cmp eax, 0xfffffffe
je 0x14000e6b9
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14000b944
movsxd rdi, eax
lea rsi, [0x140dd9710]
mov rcx, rbx
sar rdi, 6
call fcn.14000b944
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14000e6c0
lea rax, [0x140dd8b50]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14000e6d2
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14000e708
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14000e704
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14000e704
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14000e5ab
jmp 0x14000e578
Function at 0x1400128b4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov ebp, dword [rsp + 0x70]
lea r15d, [r8 - 0x4b98]
mov esi, dword [rsp + 0x78]
lea edi, [rdx - 0x11ce]
mov rbx, r9
lea edx, [r15 + 0x43d8]
mov r9d, r8d
mov qword [rax - 0x28], rbx
add r8d, 0xea
mov ecx, r15d
mov r14d, ebp
xor r8d, 0x71a
xor ecx, 0x4bc9
xor r14d, 0x7d18
xor ebp, 0xd9c
xor esi, 0x7f46
call fcn.140012a68
xor r8d, r8d
lea r10d, [rax - 0xabd]
lea rax, [0x140608010]
mov qword [0x1406080f0], rax
mov rax, qword [section..data]
and dword [rax + 0x134], 0
mov eax, dword [rbx + 0x10c]
mov rdx, qword [rbx + 0xb0]
sub eax, 0xe1256
or dword [rbx + 0xcc], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
xor dword [rdx + r8], ecx
add r8, 4
mov eax, dword [rbx + 0xb8]
add dword [rbx + 0x4c], eax
mov eax, dword [0x140608078]
add eax, 0x5cb23
xor dword [0x140608100], eax
cmp r8, 0x4a4a58
jl 0x14001293c
lea eax, [r10 + 0x10d6]
cmp ebp, eax
je 0x140012a49
mov eax, esi
xor eax, 0xbe
cmp edi, eax
je 0x1400129dc
mov rax, qword [rbx + 0xb0]
mov rdx, qword [rbx + 0x120]
mov rcx, qword [rbx + 0xe0]
mov qword [rbx + 0x60], rax
mov rax, qword [section..data]
call qword [rax + 0x60]
mov dword [rbx + 0xdc], eax
jmp 0x140012a49
mov edx, dword [0x140608080]
mov r8d, dword [rbx + 0xc0]
mov r9d, dword [rbx + 0xfc]
mov ecx, dword [0x140608010]
jmp 0x140012a3d
mov eax, r15d
xor eax, esi
and eax, 0x43d8
cmp r14d, eax
je 0x140012a3a
mov eax, edi
imul eax, r14d
or eax, r10d
or edi, eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xd0]
mov eax, edi
sub eax, dword [rbx + 0x68]
and ecx, ebp
or ecx, 0x40a8
add esi, ecx
add dword [rbx + 0xf0], eax
mov ecx, dword [0x140608010]
add edx, 3
mov eax, r8d
or eax, ecx
sub eax, r9d
cmp edx, eax
ja 0x1400129f8
mov rbx, qword [rsp + 0x50]
lea eax, [rbp - 0xc8c]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140012a68
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
lea esi, [rcx - 0x9e5]
add r8d, 0xfffffcd2
lea edi, [rcx - 0x31]
add ecx, 0xffffb437
lea eax, [r9 + 0x6cb]
lea ebp, [r9 - 0xbaa]
cmp ecx, eax
jg 0x140012c59
mov r8, qword [rsp + 0x70]
cmp dword [r8 + 0x134], 0x4a55
jae 0x140012acd
mov eax, dword [0x1406080e4]
add eax, 0x25b2498
xor dword [0x140608054], eax
jmp 0x140012ad7
mov eax, dword [0x140608078]
xor dword [r8 + 0x68], eax
lea rax, [0x140638ea0]
xor r9d, r9d
mov qword [r8 + 0x78], rax
mov r10d, 0x8949b
mov rcx, qword [section..data]
mov eax, dword [r8 + 0x24]
sub eax, r10d
add dword [rcx + 0x24], eax
mov eax, 1
sub eax, dword [0x140608018]
mov rcx, qword [section..data]
add dword [rcx + 0xf0], eax
mov rcx, qword [section..data]
mov rax, qword [r8 + 0x78]
mov edx, dword [r9 + rax]
mov eax, 0xe1256
sub eax, dword [r8 + 0x10c]
add r9, 4
add dword [0x140608018], eax
mov eax, dword [0x14060809c]
sub dword [0x1406080e4], eax
mov eax, dword [r8 + 0xa4]
sub eax, dword [rcx + 0xd4]
xor eax, dword [rcx + 0xc0]
xor eax, 0xffebf65e
mov dword [rcx + 0xc0], eax
movsxd rcx, dword [r8 + 0x48]
mov eax, dword [r8 + 0x68]
sub eax, dword [0x140608034]
xor eax, 0xfff1a042
or dword [r8 + 0x34], eax
movzx eax, dl
movzx edx, byte [r8 + 0x44]
imul edx, eax
mov rax, qword [0x1406080a8]
mov byte [rcx + rax], dl
mov eax, r10d
sub eax, dword [r8 + 0x24]
add dword [r8 + 0xc0], eax
inc dword [r8 + 0x48]
mov eax, dword [r8 + 0x134]
sub dword [r8 + 0x10c], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0x134]
mov eax, dword [rax + 0x24]
add eax, 0xfff76b65
add ecx, eax
or dword [r8 + 0xcc], ecx
mov eax, dword [0x14060811c]
mov ecx, dword [r8 + 0xa4]
dec eax
add ecx, eax
mov rax, qword [section..data]
mov dword [0x14060811c], ecx
mov ecx, dword [r8]
sub ecx, dword [rax + 0xa4]
sub ecx, 0x1438b5
add dword [r8 + 0xf8], ecx
mov rax, qword [section..data]
mov ecx, dword [0x1406080e4]
sub ecx, dword [rax + 0xa4]
xor ecx, dword [r8 + 0xf0]
mov eax, dword [r8 + 0xd4]
xor ecx, 0x1409a2
mov dword [r8 + 0xf0], ecx
xor eax, dword [0x1406080dc]
mov rcx, qword [section..data]
sub eax, 0x1409a3
xor dword [rcx + 0x138], eax
cmp r9, 0x9a3b0
jl 0x140012aeb
jmp 0x140012cfc
mov rbx, qword [rsp + 0x70]
mov eax, dword [0x140608078]
xor eax, 0x494e
cmp dword [rbx + 0x108], eax
je 0x140012cfc
mov eax, esi
sub eax, r8d
movsxd rcx, eax
or rcx, 0x4d34
call qword [sym.imp.KERNEL32.dll_HeapLock]
mov rax, qword [section..data]
mov r9d, dword [0x14060807c]
mov ecx, dword [0x140608064]
imul r11d, dword [rbx + 0x12c], 0x486a
mov r10d, dword [rax + 0x70]
mov r8d, dword [rbx + 0xd8]
or r10d, 0x41e4
imul r10d, dword [rax + 0x6c]
mov eax, dword [rbx + 0x88]
mov edx, dword [rbx + 0x138]
xor r8, rax
imul r9d, esi
xor r8, rcx
mov dword [rsp + 0x30], r11d
and ecx, 0x3fee
mov dword [rsp + 0x28], r10d
mov eax, ebp
or rdx, rax
mov dword [rsp + 0x20], r9d
mov r9d, 0x48b8
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rsp + 0x50]
xor edi, 0x3cb
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800018a8
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov qword [0x18000fc10], rcx
test edx, edx
je 0x1800018e7
cmp edx, 1
jne 0x1800018f2
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x180001824]
and dword [rsp + 0x20], 0
xor edx, edx
mov r9, qword [0x18000fc10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1800018f2
mov ecx, 1
xchg byte [0x18000fc08], cl
mov eax, 1
add rsp, 0x38
ret