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

Disassembly:
add qword [rsp], 0xffffffffbf62be7c
push qword [rsp + 0x10]
popfq
lea rsp, [rsp + 0x28]
call fcn.140a9f397
mov word [rdx + 0x2621a278], fs
invalid

Function at 0x140a9f397
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r9
jmp 0x140b07f02
push r8
ret
push rsi
movzx rsi, r8w
movzx si, r14b
movsxd rsi, r14d
push rax
movsx rax, r10w
cdqe
push rbp
push r14
push r12
lahf
push r11
pushfq
push rbx
cmc
movzx si, cl
movsxd rsi, eax
push rdx
cdq
push r15
cqo
push r8
not r8b
ror ah, 0x64
push rcx
xchg al, r8b
cwde
push r13
xchg dl, r11b
rol ah, cl
cwde
push r10
cbw
push rdi
movabs rbx, 0
btc di, 0xb
push rbx
mov rdi, qword [rsp + 0x90]
mov dx, bp
not al
btc r8d, 0x10
ror edi, 1
setle r10b
xchg r10w, r8w
inc edi
neg edi
rdtsc
mov sil, WSAGetLastError
inc edi
lahf
rol edi, 2
or eax, 0x5af44f19
bsr rdx, rdi
add rdi, rbx
xchg rdx, rdx
rdtsc
movabs rax, 0x100000000
bts r10, rcx
movsx r8w, r9b
add rdi, rax
sar r11w, 0x1a
bt r10w, 0x7b
mov r11, rsp
xor sil, 0x9c
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
mov r10, rdi
movabs rsi, 0
xor edx, r13d
sub r10, rsi
cmovnp r8w, bx
lea r8, [0x140b07fe2]
sub rdi, 4
mov edx, dword [rdi]
xor edx, r10d
cmc
xor edx, 0x409a4f27
stc
clc
cmc
rol edx, 3
clc
cmp cl, 0xe3
xor edx, 0x4bb82b1b
stc
cmp r12b, r8b
not edx
jmp 0x140b0fa20
push r10
sbb r10b, bl
cmp r15, r9
sub r10b, 0xbc
xor dword [rsp], edx
pop r10
movsxd rdx, edx
cmp dx, 0x5c7b
add r8, rdx
jmp 0x140ad9d75
Function at 0x14001ea10
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001ea1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001ea2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001ea15
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001ea45
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001ea32
sub eax, 3
jb 0x14001ea5f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001ea96
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001ea86
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001ea84
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001ea73
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001e9d2
jmp 0x14001ea1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xb000
mov dl, 4
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001eae2
cmp rsi, rcx
jae 0x14001eaea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001eac9
cmp al, 0x8f
ja 0x14001eac9
cmp byte [rsi - 2], 0xf
je 0x14001eacf
sub al, 0xe8
cmp al, 1
ja 0x14001eab3
cmp rsi, rcx
jae 0x14001eaea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001eab9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001eaea
lodsb al, byte [rsi]
jmp 0x14001eac9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1c000]
mov eax, dword [rdi]
or eax, eax
je 0x14001eb53
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1e700]
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 0x14001eaf7
jns 0x14001eb2c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14001eb36
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress_1]
or rax, rax
je 0x14001eb4d
mov qword [rbx], rax
add rbx, 8
jmp 0x14001eb17
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 0x14001eb8d
cmp al, 0xef
ja 0x14001eb7f
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14001eb5f
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14001eb6e
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 + 0x217]
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 0x14001ebe1
sub rsp, 0xffffffffffffff80
jmp 0x140001320
Function at 0x140010379
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
lea rcx, [0x14001a040]
call fcn.1400103b0
mov ecx, eax
add rsp, 0x28
jmp fcn.140017c38

Function at 0x140010394
Capabilities:
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rdx
call fcn.1400103b0
mov ecx, eax
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140017c30

Function at 0x1400103b0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x140015b02
dec eax
ret
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x140015b79
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x140015bc0
cmp dword [rsp + 0x2c], 0
je 0x140015ba1
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140015bb0
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x14017b0c8]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14017b0c8], rsi
jne 0x140015b54
mov byte [0x14017b0c0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140015ba6
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140015bc0
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x140015ba6
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x140015ba6
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x140010e19
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
call fcn.1400131f6
test rax, rax
je 0x140010e51
mov edx, 4
mov rcx, rax
call fcn.14000ae10
jmp 0x140010e8a
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx], xmm0
lea rbx, [rsp + 0x70]
mov rcx, rbx
call fcn.140010337
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
and qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.1400103fd
Function at 0x1400131f6
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
mov r12d, 0x20
xor esi, esi
mov r13d, 0xffffffff
test r12, r12
je 0x140013287
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call sub.bcrypt.dll_BCryptGenRandom
cmp eax, 0xc0000000
jb 0x140013216
mov ebx, eax
mov rcx, r14
mov edx, r15d
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140013216
xor ebx, 0x80000000
je 0x140013285
mov al, byte [0x14017b058]
mov ecx, 4
mov edx, 4
call fcn.14000ad80
test rax, rax
je 0x14001329a
mov rsi, rax
mov dword [rax], ebx
jmp 0x140013287
xor esi, esi
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x140015abf
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.1400103b0
mov ecx, eax
add rsp, 0x28
jmp fcn.140017c38

Function at 0x140015b02
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je 0x140015b02
dec eax
ret
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x140015b79
lea r8, [rsp + 0x2c]
and dword [r8], 0
lea rbx, [rsi + 0x10]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x140015bc0
cmp dword [rsp + 0x2c], 0
je 0x140015ba1
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140015bb0
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x14017b0c8]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x14017b0c8], rsi
jne 0x140015b54
mov byte [0x14017b0c0], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140015ba6
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140015bc0
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x140015ba6
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x140015ba6
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2
Function at 0x14001639f
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x488
mov rdi, rcx
lea rsi, [rsp + 0x88]
mov rcx, rsi
call fcn.140015fae
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400164ea
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rax], 2
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov r8d, 0x200
mov r12d, 2
xor r15d, r15d
mov r14d, 0xffffffff
xor r13d, r13d
cmp r8, 0x201
jae 0x14001642e
lea rbp, [rsp + 0x88]
mov edi, 0x200
mov rbx, r8
jmp 0x140016463
sub r8, r13
lea rcx, [rsp + 0x40]
mov rdx, r8
call fcn.140014640
mov r12, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
cmp r15, r14
mov r13d, 0xffffffff
cmovb r13, r15
mov qword [rsp + 0x50], r13
mov rbp, r12
mov rdi, r13
mov rbx, r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
mov r8d, ebx
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov esi, eax
test eax, eax
jne 0x140016489
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x1400164fe
mov r8d, esi
cmp rbx, r8
jne 0x1400164b1
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x1400165d6
add rbx, rbx
cmp rbx, r14
cmovae rbx, r14
mov r8, rbx
jmp 0x140016413
jb 0x140016413
cmp rdi, r8
jb 0x1400165d6
lea rsi, [rsp + 0x68]
mov rcx, rsi
mov rdx, rbp
call fcn.140013f36
mov bl, byte [rsi + 0x18]
mov rcx, r12
mov rdx, r15
call fcn.140014700
cmp bl, 2
jne 0x140016539
mov rbx, qword [rsp + 0x68]
jmp 0x14001651e
lea rcx, [rsp + 0x88]
call fcn.140016176
mov byte [rsp + 0x58], 2
jmp 0x14001656d
call fcn.1400146ea
mov rbx, rax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x80], 2
mov rcx, r12
mov rdx, r15
call fcn.140014700
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov byte [rsp + 0x58], 2
mov rcx, rbx
call fcn.140013ad7
mov bl, 2
jmp 0x14001655b
movups xmm0, xmmword [rsp + 0x68]
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov bl, byte [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
mov rdx, rsi
call fcn.140014700
cmp bl, 2
jne 0x140016585
mov byte [rdi + 0x18], 2
add rsp, 0x488
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x88]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14001622f
cmp byte [rsi + 0x18], 2
jne 0x1400165bd
mov rax, qword [rsp + 0x98]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rdi], xmm0
mov byte [rdi + 0x18], 3
jmp 0x140016571
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
jmp 0x140016571
ud2
Function at 0x140018730
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400194d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400194d0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400187a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14017b174]
mov rbx, rcx
test esi, esi
jle 0x1400188d0
mov rax, qword [0x14017b178]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400187eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140018875
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400187d0
mov rcx, rbx
call fcn.1400191f0
mov rdi, rax
test rax, rax
je 0x1400188f2
mov rax, qword [0x14017b178]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140019330
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14017b178]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400188d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001886e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140018880
add dword [0x14017b174], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14017b178]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001886e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140018730
nop dword [rax]
xor esi, esi
jmp 0x1400187f8
mov rax, qword [0x14017b178]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140018730
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140018730
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140018e60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14017b1e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14017b1c0]
test rbx, rbx
je 0x140018ebc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140018eb3
test rsi, rsi
je 0x140018eb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140018e98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400191f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1401783f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140019210
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140019218
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140019210
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001926d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140019264
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140019210
add rax, 0x28
cmp rax, r9
jne 0x140019250
xor eax, eax
ret

Function at 0x140019270
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401783f0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001928f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140019298
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001928f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140019330
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1401783f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001934f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140019358
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x4151e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41536b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431040
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x415245
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x415254
add rsp, 0x48
pop rbp
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x415273
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x415283
cmp rbx, 0x1000
jae 0x41524b
jmp 0x4152ed
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415295
xor edx, edx
jmp 0x4152e4
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00431040
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415279
jmp 0x415268
call fcn.004601a0
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00435440
lea rax, [0x004d4ae5]
mov ebx, 0x18
nop dword [rax]
call fcn.00435cc0
mov rax, qword [rsp + 0x38]
call fcn.00435a00
lea rax, [0x004d4f6d]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00435cc0
mov rax, qword [rsp + 0x30]
call fcn.00435a00
call fcn.00435680
call fcn.004354a0
lea rax, [0x004d703b]
mov ebx, 0x21
call fcn.00433aa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cae0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004151e0
Function at 0x4153a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4155c6
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004310c0
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x415413
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x415422
add rsp, 0x50
pop rbp
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x415445
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
jmp 0x415455
cmp rbx, 0x1000
jae 0x415419
nop
jmp 0x4154d8
add rsp, 0x50
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
cmp rbx, 0x1000
jae 0x41546d
xor esi, esi
jmp 0x4154ca
mov rax, qword [sym.imp.kernel32.dll_VirtualAlloc]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.004310c0
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41544b
jmp 0x415436
call fcn.004601a0
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x415560
nop dword [rax + rax]
call fcn.00435440
lea rax, [0x004d4f86]
mov ebx, 0x19
call fcn.00435cc0
mov rax, qword [rsp + 0x68]
nop dword [rax + rax]
call fcn.00435a00
lea rax, [0x004d4f6d]
mov ebx, 0x19
call fcn.00435cc0
mov eax, dword [rsp + 0x34]
call fcn.00435a00
nop
call fcn.00435680
call fcn.004354a0
lea rax, [0x004d1a47]
mov ebx, 0xd
call fcn.00433aa0
nop dword [rax + rax]
cmp eax, 0x5af
je 0x415500
call fcn.00435440
lea rax, [0x004d4f86]
mov ebx, 0x19
call fcn.00435cc0
mov rax, qword [rsp + 0x38]
call fcn.00435a00
lea rax, [0x004d4f6d]
mov ebx, 0x19
call fcn.00435cc0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.00435a00
call fcn.00435680
call fcn.004354a0
lea rax, [0x004d6894]
mov ebx, 0x1f
nop dword [rax + rax]
call fcn.00433aa0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045cae0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004153a0
Function at 0x41d340
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
cmp byte [0x00637e92], 0
jne 0x41d427
sub rbx, qword [rax + 0x18]
mov rdx, qword [rax + 0x50]
test byte [rdx], al
mov esi, dword [rax + 0x64]
imul rbx, rsi
mov rsi, rbx
shr rbx, 0x20
shr rsi, 0x23
and ebx, 7
mov rdi, rcx
mov rcx, rbx
mov r8d, 1
shl r8d, cl
add rdx, rsi
nop
nop
nop
nop
lock or byte [rdx], r8b
mov rcx, qword [rax + 0x18]
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rdx, 0x2a
nop
nop
nop
cmp rdx, 0x40
jae 0x41d41a
lea rbx, [0x0060a278]
mov rdx, qword [rbx + rdx*8]
test byte [rdx], al
mov rbx, rcx
shr rbx, 0x10
and ebx, 0x3f
shr rcx, 0xd
and ecx, 7
mov esi, 1
shl esi, cl
shr rax, 0x16
and eax, 0xfffff
mov rax, qword [rdx + rax*8]
test byte [rax], al
movzx edx, byte [rax + rbx + 0x11440]
lea rax, [rax + rbx]
lea rax, [rax + 0x11440]
test sil, dl
jne 0x41d400
lock or byte [rax], sil
mov rax, qword [r14 + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
add qword [rax + 0x1250], rdi
add rsp, 0x10
pop rbp
ret
mov rax, rdx
mov ecx, 0x40
call fcn.0045ed80
lea rax, [0x004d8c9e]
mov ebx, 0x2c
call fcn.00433aa0
nop
int3

Function at 0x41f700
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x41f806
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], dil
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x18], 0
jmp 0x41f743
mov rax, qword [rsp + 0x60]
mov rcx, rdx
mov rbx, qword [rsp + 0x68]
movzx edi, byte [rsp + 0x17]
cmp qword [rsp + 0x18], rbx
jae 0x41f7fb
test byte [rax], al
lea rcx, [rax + 0x100b8]
mov ebx, edi
mov rax, rcx
nop dword [rax]
call fcn.004204e0
test rax, rax
je 0x41f7fb
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x30], xmm15
movups xmmword [rsp + 0x40], xmm15
lea rcx, [0x0041f840]
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x20]
mov qword [rsp], rbx
nop dword [rax]
call fcn.0045c9a0
xorps xmm15, xmm15
mov r14, qword [0x006380a8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x70]
nop dword [rax]
test rdx, rdx
jne 0x41f7e9
xor eax, eax
jmp 0x41f7f3
mov rax, qword [rdx]
call rax
mov rdx, qword [rsp + 0x70]
test al, al
je 0x41f731
mov rax, qword [rsp + 0x18]
add rsp, 0x50
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov byte [rsp + 0x20], dil
call fcn.0045cae0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
jmp fcn.0041f700