joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007da0
Capabilities:
Create thread
Resume thread

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rsi, rdx
mov rbx, r8
mov rbp, r9
call sym.pop_pthread_mem
mov r12, rax
test rax, rax
je 0x140008009
test rdi, rdi
je 0x140007dda
mov rax, qword [rax + 0x1d8]
mov qword [rdi], rax
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [r12 + 8], rbp
mov dword [r12 + 0x44], 1
mov rbp, qword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [r12 + 0xbc], 0
mov r14, r13
mov qword [r12 + 0x28], 0xffffffffffffffff
mov qword [r12 + 0x10], rbx
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call rbp
mov qword [r12 + 0x30], rax
test rax, rax
jne 0x140007e47
add ebx, 1
cmp ebx, 1
je 0x140007f50
mov ecx, 0x14
call r14
cmp ebx, 5
jne 0x140007e15
mov qword [r12 + 0x38], 0xffffffffffffffff
lea r14, [r12 + 0x68]
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000804f
cmp qword [r12 + 0x30], 0
mov qword [r12 + 0x68], 0xffffffffffffffff
mov dword [r12], 0xbab1f00d
mov dword [r12 + 0xc0], 0
mov dword [r12 + 0xb8], 0
je 0x140007ff2
xor edx, edx
test rsi, rsi
je 0x140007ebf
mov eax, dword [rsi]
mov edx, dword [rsi + 0x10]
mov dword [r12 + 0x44], eax
test al, 8
jne 0x140008020
mov eax, dword [rsi + 0x18]
mov dword [r12 + 0xc0], eax
lea r8, [sym.pthread_create_wrapper]
mov r9, r12
xor ecx, ecx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov r13, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007fb0
mov eax, dword [r12 + 0xc0]
mov edx, 0xfffffff1
cmp eax, 0xfffffff2
jge 0x140007f80
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov rcx, qword [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test byte [r12 + 0x44], 4
jne 0x140007f60
mov qword [r12 + 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
xor ecx, ecx
call r13
jmp 0x140007e15
mov qword [r12 + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007f2f
mov edx, 0xfffffffe
cmp eax, 0xffffffff
jl 0x140007f05
mov edx, 0xf
cmp eax, 0xe
jg 0x140007f05
cmp eax, 2
mov edx, 2
cmovle edx, eax
jmp 0x140007f05
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140007fc0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [r12 + 0x38]
call sym.pthread_mutex_destroy
mov rcx, r14
call sym.pthread_spin_destroy
cmp eax, 1
je 0x14000804f
mov qword [r12 + 0x68], 0xffffffffffffffff
mov qword [r12 + 0x30], 0
mov qword [r12 + 0x28], 0
test rdi, rdi
je 0x140007ffe
mov qword [rdi], 0
cmp qword [r12 + 0x1d0], 0
je 0x140008040
mov eax, 0xb
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov dword [rsp + 0x3c], edx
call sym.__pthread_self_lite
mov edx, dword [rsp + 0x3c]
mov eax, dword [rax + 0xc0]
mov dword [r12 + 0xc0], eax
jmp 0x140007ebf
mov rcx, r12
call sym.push_pthread_mem.part.0
mov eax, 0xb
jmp 0x14000800e
call sym.replace_spin_keys.part.0
nop
nop word cs:[rax + rax]
Function at 0x140008a90
Capabilities:
Print debug messages

Disassembly:
push r12
push rbx
sub rsp, 0x58
mov r12, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008ab0
add rsp, 0x58
pop rbx
pop r12
ret
lea rdx, [rsp + 0x48]
mov r9d, 0x400
mov r8d, eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rdx
mov ecx, 0x1100
xor edx, edx
mov dword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x140008af8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140008aa4
int3
mov rcx, qword [rsp + 0x48]
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, r12
call rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140008ae5

Function at 0x140008b20
Capabilities:
Check mutex on windows

Disassembly:
push r12
sub rsp, 0x20
xor edx, edx
xor ecx, ecx
lea r8, [0x1400112c0]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, 0xffffffff
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008bd8
mov rdx, qword [0x140011200]
lea rcx, [0x140011200]
mov rax, qword [rdx + 8]
test rax, rax
je 0x140008ba8
cmp rdx, rcx
jne 0x140008b8a
mov qword [rdx], rax
cmp rax, rcx
je 0x140008b8f
nop dword [rax]
test rax, rax
je 0x140008bba
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rdx, rax
mov rax, qword [rdx + 8]
cmp rax, rcx
jne 0x140008b78
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
test rax, rax
je 0x140008bba
mov rdx, rax
jmp 0x140008b86
lea rcx, [0x140011300]
call qword [sym.imp.KERNEL32.dll_FindAtomA]
test ax, ax
jne 0x140008bf6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
lea rcx, str.failed_to_to_lock_cleanup_mutex_n
call sym.__shmem_get_error
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop r12
ret
movzx ecx, ax
call qword [sym.imp.KERNEL32.dll_DeleteAtom]
jmp 0x140008bba
Function at 0x140001e10
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rcx
mov byte [rsp + 0xf], 0
mov dword [rsp + 8], 0x1505
mov qword [rsp], 0
mov rax, qword [rsp + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
mov al, byte [rax]
mov byte [rsp + 0xf], al
movzx eax, byte [rsp + 0xf]
cmp eax, 0x61
jl 0x140001e5b
movzx eax, byte [rsp + 0xf]
sub eax, 0x20
mov byte [rsp + 0xf], al
mov eax, dword [rsp + 8]
shl eax, 5
add eax, dword [rsp + 8]
movzx ecx, byte [rsp + 0xf]
add eax, ecx
mov dword [rsp + 8], eax
movzx eax, byte [rsp + 0xf]
cmp eax, 0
jne 0x140001e84
jmp 0x140001e95
mov rax, qword [rsp]
add rax, 1
mov qword [rsp], rax
jmp 0x140001e37
mov eax, dword [rsp + 8]
add rsp, 0x18
ret

Function at 0x140001ea0
Capabilities:
Hash data using djb2

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rcx
mov byte [rsp + 0xf], 0
mov dword [rsp + 8], 0x1505
mov rax, qword [rsp + 0x10]
mov qword [rsp], rax
mov rax, qword [rsp]
mov ax, word [rax]
mov byte [rsp + 0xf], al
movzx eax, byte [rsp + 0xf]
cmp eax, 0
jne 0x140001edd
jmp 0x140001f1e
movzx eax, byte [rsp + 0xf]
cmp eax, 0x61
jl 0x140001ef7
movzx eax, byte [rsp + 0xf]
sub eax, 0x20
mov byte [rsp + 0xf], al
mov eax, dword [rsp + 8]
shl eax, 5
add eax, dword [rsp + 8]
movzx ecx, byte [rsp + 0xf]
add eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp]
add rax, 2
mov qword [rsp], rax
jmp 0x140001ebf
mov eax, dword [rsp + 8]
add rsp, 0x18
ret
Function at 0x140002110
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
jmp 0x14000218f
mov rax, qword [rsp + 0x40]
xor ecx, ecx
mov rdx, rcx
add rdx, 0x10
sub rcx, rdx
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x50]
call fcn.140001ea0
mov eax, eax
cmp rax, qword [rsp + 0x70]
jne 0x1400021d9
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x30]
mov rax, qword [rsp + 0x68]
mov qword [rax], rcx
add rsp, 0x78
ret
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp rax, qword [rsp + 0x48]
jne 0x14000218f
mov rax, qword [0x140004008]
mov rcx, qword [rax]
mov edx, 0x66f2b2a3
call fcn.140002320
mov rcx, rax
mov rax, qword [section..data]
mov qword [rax + 0x88], rcx
cmp dword [rsp + 0x3c], 0
je 0x140002235
mov rax, qword [section..data]
mov ecx, 1
call qword [rax + pe_nt_image_headers64]
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
lea rcx, [rsp + 0x28]
xor edx, edx
mov r8d, 0x10
call fcn.140001020
mov eax, 0xae8c030f
cmp qword [rsp + 0x70], rax
jne 0x140002278
lea rcx, [rsp + 0x28]
lea rdx, [0x140002000]
call fcn.1400014a0
jmp 0x1400022f4
mov eax, 0xf6af8094
cmp qword [rsp + 0x70], rax
jne 0x14000229e
lea rcx, [rsp + 0x28]
lea rdx, [0x140002050]
call fcn.1400014a0
jmp 0x1400022ef
mov eax, 0x1946f853
cmp qword [rsp + 0x70], rax
jne 0x1400022c4
lea rcx, [rsp + 0x28]
lea rdx, [0x140002090]
call fcn.1400014a0
jmp 0x1400022ea
mov eax, 0x6d8fef79
cmp qword [rsp + 0x70], rax
jne 0x1400022e5
lea rcx, [rsp + 0x28]
lea rdx, [0x1400020d0]
call fcn.1400014a0
jmp 0x1400022ea
jmp 0x1400022ef
jmp 0x1400022f4
mov qword [rsp + 0x20], 0
mov rax, qword [section..data]
mov rax, qword [rax + 0x88]
lea r9, [rsp + 0x20]
xor ecx, ecx
xor edx, edx
lea r8, [rsp + 0x28]
call rax
jmp 0x14000218a
Function at 0x140002320
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x188
mov qword [rsp + 0x178], rdx
mov qword [rsp + 0x170], rcx
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000237e
mov qword [rsp + 0x180], 0
jmp 0x1400024f0
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x160]
movsxd rcx, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
cmp dword [rax], 0x4550
je 0x1400023c2
mov qword [rsp + 0x180], 0
jmp 0x1400024f0
mov rdx, qword [rsp + 0x158]
add rdx, 0x18
lea rcx, [rsp + 0x68]
mov r8d, 0xf0
call fcn.140001390
mov rax, qword [rsp + 0x168]
mov ecx, dword [rsp + 0xd8]
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x20]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x1c]
add rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x24]
add rax, rcx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
cmp eax, dword [rcx + 0x14]
jae 0x1400024e4
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
movzx edx, word [rdx + r8*2]
mov ecx, dword [rcx + rdx*4]
add rax, rcx
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
call fcn.140001e10
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x178]
mov ecx, dword [rsp + 0x2c]
cmp rax, rcx
jne 0x1400024cf
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x180], rax
jmp 0x1400024f0
jmp 0x1400024d4
mov eax, dword [rsp + 0x44]
add eax, 1
mov dword [rsp + 0x44], eax
jmp 0x140002445
mov qword [rsp + 0x180], 0
mov rax, qword [rsp + 0x180]
add rsp, 0x188
ret
Function at 0x140002c60
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0xb0], r8
mov word [rsp + 0xae], dx
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0x9c], 0x600
mov eax, dword [rsp + 0x9c]
mov ecx, eax
call fcn.1400010e0
mov qword [rsp + 0x90], rax
mov rax, qword [section..data]
mov rax, qword [rax + 0xc8]
mov r9w, word [rsp + 0xae]
mov r8, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x90]
lea rdx, [rsp + 0x9c]
mov dword [rsp + 0x20], 0xaa55
mov dword [rsp + 0x28], 1
call rax
mov rax, qword [section..data]
lea rcx, [0x140002c00]
xor edx, edx
xor r8d, r8d
mov r9d, r8d
mov r8, r9
mov dword [rsp + 0x20], 0
call qword [rax + 0x90]
mov qword [rsp + 0x88], rax
mov rax, qword [section..data]
mov rax, qword [rax + 0x98]
mov rcx, qword [rsp + 0x88]
lea rdx, [0x140002c0c]
mov r8d, 0x1bb
xor r9d, r9d
xor r10d, r10d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call rax
mov qword [rsp + 0x80], rax
mov rax, qword [section..data]
mov rax, qword [rax + 0xa8]
mov rcx, qword [rsp + 0x80]
lea rdx, [0x140002c46]
lea r8, [0x140002c4b]
xor r9d, r9d
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x38], 0
call rax
mov qword [rsp + 0x78], rax
mov rax, qword [section..data]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
lea rcx, [0x140002c20]
call fcn.140001400
mov r9, qword [rsp + 0x40]
mov r10d, dword [rsp + 0x4c]
mov r8d, eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
lea rdx, [0x140002c20]
mov dword [rsp + 0x20], r10d
call rax
mov dword [rsp + 0x74], 0
mov rax, qword [section..data]
mov rax, qword [rax + 0xc0]
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x74]
xor r8d, r8d
xor r9d, r9d
call rax
cmp eax, 0
jne 0x140002e52
mov rax, qword [section..data]
mov ecx, 1
call qword [rax + pe_nt_image_headers64]
mov eax, dword [rsp + 0x74]
mov ecx, eax
call fcn.1400010e0
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x64], 0
mov rax, qword [section..data]
mov rax, qword [rax + 0xb0]
mov r8d, dword [rsp + 0x74]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x78]
lea r9, [rsp + 0x64]
call rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov ecx, eax
call fcn.1400010e0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x60]
mov r8d, eax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call fcn.140001390
mov rax, qword [section..data]
mov rax, qword [rax + 0xd0]
mov r8, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x60]
mov dx, cx
mov rcx, qword [rsp + 0x58]
call rax
mov rcx, qword [rsp + 0x90]
call fcn.140001080
mov rcx, qword [rsp + 0x68]
call fcn.140001080
mov rcx, qword [rsp + 0x58]
call fcn.140001080
mov rax, qword [section..data]
mov rax, qword [rax + 0xb8]
mov rcx, qword [rsp + 0x88]
call rax
mov rax, qword [section..data]
mov rax, qword [rax + 0xb8]
mov rcx, qword [rsp + 0x80]
call rax
mov rax, qword [section..data]
mov rax, qword [rax + 0xb8]
mov rcx, qword [rsp + 0x78]
call rax
xor eax, eax
add rsp, 0xb8
ret
Function at 0x14000e978
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], reloc.msvcrt.dll_memset
mov dword [rcx + 4], reloc.msvcrt.dll_memset
mov dword [rcx + 8], reloc.msvcrt.dll_memset
mov dword [rcx + 0xc], reloc.msvcrt.dll_memset
mov dword [rcx + 0x10], reloc.msvcrt.dll_memset
mov dword [rcx + 0x5c], edx
ret
Function at 0x140042ff2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov r12d, 0x1f7d3519
rdtsc
jmp 0x140042f9f
mov r12d, 0x80803e9
mov r12d, 0x1f7d3519
rdtsc
mov ebp, r8d
lea r10, [r10 + rbp]
setb cl
jmp 0x140042fcf
mov r15, rsp
rcl cx, cl
je 0x140042f91
mov r12d, 0x80803e9
jmp 0x140042f7b
adc cx, 0xca2f
jbe 0x140043014
not edi
rdtsc
lea r9, [r12 - 0x871d]
sub rsp, 9
sub rsp, 8
jmp 0x140043030
xchg r13b, cl
sub rsp, 0x220
jmp 0x140042fbf
lea r9, [r12 - 0x871d]
sub rsp, 9
sub rsp, 8
jmp 0x140043030
not edi
rdtsc
jmp 0x140042ffe
xor r8d, 0x33a79bfd
cmc
jg 0x140043047
mov r12b, byte [rsp]
jmp 0x140043055
bswap r10
pop qword [rsp]
xchg qword [rsp], r12
lea rsp, [rsp + 1]
lea rsp, [rsp + 8]
jmp 0x14004301a
mov r12b, byte [rsp]
mov r11w, r8w
jmp 0x1400430a6
mov r11w, r8w
mov r14d, 0x74dae948
lea r10, [r14 + r14]
jmp 0x1400430b0
mov r14d, 0x74dae948
lea r10, [r14 + r14]
call fcn.140043082
rdtsc
sete dil
bsf dx, cx
jne 0x1400430d4
je 0x1400430df
call 0x1b6a02d36
mov al, 0xff
invalid
bsf r14w, r11w
jmp 0x140043120
bsf r14w, r11w
lea r13, [rcx + r14]
xchg al, r9b
lea r13, [r10 + riz - 0x99bb]
jmp 0x14004310a
not r8d
shr r10d, cl
jno 0x140043131
mov r10b, byte [rsp]
jmp 0x1400431f7
lea r13, [rcx + r14]
xchg al, r9b
lea r13, [r10 + riz - 0x99bb]
jmp 0x14004310a
mov r10b, byte [rsp]
jmp 0x14004313b
mov r9w, 0x3770
bswap rax
mov edi, ebx
xchg r11d, edx
xchg al, dil
mov rdx, 0xffffffffc77bd7db
push sp
jmp 0x1400431de
lea rsp, [rsp + 2]
neg r8d
lea r13, [rdi*4]
jmp 0x1400431c8
xchg r11d, edx
jmp 0x140043148
mov r11, 0xffffffffe0ec715f
lea r13, [rbp*8]
call fcn.1400431ac
lahf
out 0x7a, al
mov edx, 0x24648d48
add ch, bl
mov eax, 0x60019118
xchg ebx, eax
and al, 0x9a
adc al, byte [rax + 0x13a612e7]
mov ah, byte [0xf945984e]
jo 0x140043233
jp 0x14004319a
lea rsp, [rsp + 2]
jmp 0x14004319f
mov r9w, 0x3770
bswap rax
mov edi, ebx
jmp 0x1400431c3
mov edx, dword [rsp]
jmp 0x140043277
push r12w
jbe 0x1400432d6
dec r12w
lea rsp, [rsp + 2]
jmp 0x1400432ad
add r8, r14
dec edi
jmp 0x1400432f7
mov r12d, dword [rsp]
mov rdi, r8
bswap r10
jmp 0x140043302
dec r12w
lea rsp, [rsp + 2]
jmp 0x1400432ad
bswap r10
jmp 0x140043302
jae 0x1400432b8
mov r12d, dword [rsp]
mov rdi, r8
jmp 0x1400432e1
add r8, qword [rsi + riz]
push ax
jnp 0x14004333d
setae bl
mov r11, r15
inc r10b
lea rsp, [rsp + 2]
jmp fcn.140043342
mov r11, r15
inc r10b
lea rsp, [rsp + 2]
jmp fcn.140043342
setae bl
jmp 0x140043327

Function at 0x140043222
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xchg qword [rsp], rbp
mov r9d, dword [rsp]
neg al
cmc
not r11b
jmp 0x140043293
setp cl
mov r12, qword [rsp]
rdtsc
mov rcx, rdi
jmp 0x140043203
xchg byte [rsp], dil
mov byte [rsp], dl
lea rsp, [rsp + 2]
push qword [rsp]
ret 8
add rsp, 6
lea rsp, [rsp + 5]
xchg qword [rsp], rbp
mov cl, r12b
push bx
shl r9w, cl
jmp 0x140043246
bswap r10
lea rbp, [rbp + riz - 0xc55]
rdtsc
sub rsp, 0xb
xchg qword [rsp], rdi
mov r9b, 0xfa
jmp 0x14004325e
Function at 0x14001126c
Capabilities:
Terminate process

Disassembly:
jmp 0x140014110
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 0x14001130c
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015480
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015493
xor al, al
jmp 0x140015501
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 0x1400154bd
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400154d1
xor al, al
jmp 0x140015501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400154e3
xor al, al
jmp 0x140015501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400154ff
xor al, al
jmp 0x140015501
mov al, 1
add rsp, 0x38
ret
Function at 0x408b90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r14
push r13
push rdi
push rsi
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], rcx
mov ebx, edx
mov rax, qword [rsp + 0x28]
mov r13d, dword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
call fcn.00409130
mov esi, eax
test sil, sil
jne 0x408d52
test ebx, ebx
je 0x408d52
xor rdi, rdi
test r13d, r13d
jle 0x408c6f
call sub.KERNEL32.DLL_GetTickCount_1
mov r14d, eax
test r13d, r13d
jle 0x408c4e
cmp ebx, 0xffffffff
je 0x408bfb
call sub.KERNEL32.DLL_GetTickCount_1
sub eax, r14d
cmp eax, ebx
jb 0x408bfb
xor rsi, rsi
jmp 0x408d52
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jg 0x408c4e
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0
jne 0x408c40
xor eax, eax
mov ecx, 1
mov rdx, qword [rsp + 0x28]
lock cmpxchg dword [rdx], ecx
test eax, eax
jne 0x408c40
call sub.KERNEL32.DLL_GetCurrentThreadId_1
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov sil, 1
jmp 0x408d52
call fcn.004092c0
sub r13d, 1
test r13d, r13d
jg 0x408be2
nop
cmp ebx, 0xffffffff
je 0x408c6f
call sub.KERNEL32.DLL_GetTickCount_1
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jb 0x408c6a
xor rsi, rsi
jmp 0x408d52
sub eax, r14d
sub ebx, eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x408bab
mov edx, ecx
add edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408c6f
nop
call sub.KERNEL32.DLL_GetTickCount_1
mov r14d, eax
mov rcx, qword [rsp + 0x28]
call fcn.00408e00
xor rcx, rcx
mov rdx, rax
mov r8d, ebx
mov rax, qword [0x006389a0]
call qword [rax + 0x20]
test eax, eax
sete sil
cmp ebx, 0xffffffff
je 0x408cdc
call sub.KERNEL32.DLL_GetTickCount_1
mov ecx, eax
sub ecx, r14d
cmp ecx, ebx
jae 0x408cd9
sub eax, r14d
sub ebx, eax
jmp 0x408cdc
xor rbx, rbx
test sil, sil
je 0x408d10
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov eax, ecx
test eax, 1
jne 0x408d0d
mov edx, ecx
sub edx, 2
or edx, 1
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408ce1
mov dil, 1
nop
jmp 0x408d2f
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
mov edx, ecx
sub edx, 2
mov eax, ecx
mov r8, qword [rsp + 0x28]
lock cmpxchg dword [r8], edx
cmp eax, ecx
jne 0x408d10
mov dil, 1
test dil, dil
je 0x408c94
nop
test sil, sil
je 0x408d52
call sub.KERNEL32.DLL_GetCurrentThreadId_1
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 8], eax
mov dword [rcx + 4], 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r13
pop r14
ret
Function at 0x40aa70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
cmp byte [0x006380a8], 0
je 0x40ab0e
cmp word [0x006383b8], 0xd7b2
jne 0x40aaa3
cmp dword [0x006383c0], 0
jbe 0x40aaa3
lea rcx, [0x006383b0]
call qword [0x006383d8]
mov ecx, 0xfffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
mov rcx, rax
lea rdx, [0x0052876c]
mov r8d, 0x25
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile_1
mov ecx, 0xfffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
mov rbx, rax
lea rcx, [0x0040ab44]
call fcn.0040be00
mov rcx, rbx
mov rdx, rax
mov r8d, 2
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], 0
call sub.KERNEL32.DLL_WriteFile_1
jmp 0x40ab30
cmp byte [0x00527052], 0
jne 0x40ab30
xor rcx, rcx
lea rdx, [0x0052876c]
lea r8, [0x0052867c]
xor r9, r9
call sub.user32.dll_MessageBoxA
add rsp, 0x40
pop rbx
ret

Function at 0x40ae50
Capabilities:
Create thread

Disassembly:
push r13
push rdi
push rsi
push rbx
sub rsp, 0x48
mov qword [rsp + 0x38], rcx
mov ebx, edx
mov rsi, r8
mov rdi, r9
cmp qword [0x00527058], 0
je 0x40ae81
mov rcx, rsi
mov rdx, rdi
call qword [0x00527058]
mov r13, rax
jmp 0x40ae97
mov ecx, 0x10
call fcn.00406010
mov r13, rax
mov qword [r13], rsi
mov qword [r13 + 8], rdi
mov byte [0x006380a9], 1
mov rcx, qword [rsp + 0x38]
mov edx, ebx
lea r8, [0x0040ade0]
mov r9, r13
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
call sub.KERNEL32.DLL_CreateThread
mov rbx, rax
test rbx, rbx
jne 0x40aedc
mov rcx, r13
call fcn.00406040
mov rax, rbx
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r13
ret

Function at 0x40e450
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
lea rcx, [0x0063cc90]
call sub.KERNEL32.DLL_InitializeCriticalSection_1
mov word [0x0063ccb8], 0x7f
call sub.KERNEL32.DLL_GetVersion
and eax, 0xff
cmp eax, 6
setae al
mov byte [0x0063cc88], al
cmp byte [0x0063cc88], 0
je 0x40e4ef
lea rcx, [0x0040e4f4]
call sub.KERNEL32.DLL_GetModuleHandleW_1
mov rcx, rax
lea rdx, [0x0040e50e]
call sub.KERNEL32.DLL_GetProcAddress_1
mov qword [0x0063cc70], rax
lea rcx, [0x0040e4f4]
call sub.KERNEL32.DLL_GetModuleHandleW_1
mov rcx, rax
lea rdx, [0x0040e52c]
call sub.KERNEL32.DLL_GetProcAddress_1
mov qword [0x0063cc78], rax
lea rcx, [0x0040e4f4]
call sub.KERNEL32.DLL_GetModuleHandleW_1
mov rcx, rax
lea rdx, [0x0040e54a]
call sub.KERNEL32.DLL_GetProcAddress_1
mov qword [0x0063cc80], rax
add rsp, 0x28
ret