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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1801e1ae9
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [rsi + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [rsi + 0x18]
call fcn.1801cec80
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rdi
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1801e1ab0
movabs rbp, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
mov rdx, qword [rdx]
movzx r9d, byte [rcx + 0x10]
xor r9, rbp
imul r9, rdi
movzx eax, byte [rcx + 0x11]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x12]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x13]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x14]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x15]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x16]
xor r9, rax
imul r9, rdi
movzx eax, byte [rcx + 0x17]
xor r9, rax
imul r9, rdi
mov r11, qword [rsi + 0x30]
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1801e1a1c
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1801e1a97
mov rax, qword [r11 + 8]
mov r9, qword [rcx + 0x10]
cmp r9, qword [rax + 0x10]
jne 0x1801e1a59
mov r10, qword [rax]
cmp r10, rcx
je 0x1801e1a53
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1801e1a97
mov r8, rax
cmp r10, rax
je 0x1801e1a73
mov rax, qword [rax + 8]
mov r8, rax
cmp r9, qword [rax + 0x10]
je 0x1801e1ac3
cmp r10, rax
jne 0x1801e1a61
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1801e19a0
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1801e1a97
lea rcx, [0x1800744b8]
call fcn.1801e7520
int3
Function at 0x1801e1cd0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov r8d, select
lea rdx, [rsp + 0x50]
lea rcx, [0x180075ef8]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, 0xc
jne 0x1801e1e70
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], sendto
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1801e1d40
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180099770
lea rcx, [rsp + 0x30]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
cmp rsi, 0x10
cmovae rcx, rdi
lea rdx, [rsp + 0x30]
cmovae rdx, rdi
mov r8, qword [rsp + 0x40]
add rdx, r8
cmp rcx, rdx
je 0x1801e1daf
movabs r9, 0x7e0000007e03ff
movzx eax, byte [rcx]
sub al, 0x30
cmp al, 0x36
ja 0x1801e1e3c
bt r9, rax
jae 0x1801e1e3c
inc rcx
cmp rcx, rdx
jne 0x1801e1d90
xor eax, eax
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x30]
cmp rsi, 0x10
cmovae rdx, rdi
test r8, r8
je 0x1801e1dda
lea rcx, [rsp + 0x20]
call fcn.18020b760
mov eax, dword [rsp + 0x28]
mov byte [rbx], 0
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm0
mov byte [rbx + 0x28], 0
movsd xmm0, qword [rsp + 0x20]
movsd qword [rbx + 0x29], xmm0
mov dword [rbx + 0x31], eax
mov byte [rbx + 0x28], 1
cmp rsi, 0x10
jb 0x1801e1e8b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801e1e31
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801e1eb3
mov rcx, rdi
call fcn.1801e60f0
nop
jmp 0x1801e1e8b
cmp rsi, 0x10
jb 0x1801e1e70
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801e1e67
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801e1ead
mov rcx, rdi
call fcn.1801e60f0
nop
mov byte [rbx], 0
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
movups xmmword [rbx + 0x18], xmm0
mov byte [rbx + 0x28], 0
xor eax, eax
mov qword [rbx + 0x29], rax
mov dword [rbx + 0x31], eax
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18010f960
nop
call fcn.18010f960
int3
Function at 0x1801e46a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x80]
lea rcx, [0x180075fe0]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1801e481c
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], sendto
mov byte [rsp + 0x28], 0
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1801e4712
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x28]
call fcn.180099770
nop
lea rsi, [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x40]
cmp rbp, 0x10
cmovae rsi, rdi
cmp qword [rsp + 0x38], 9
jb 0x1801e47e8
mov rbx, rsi
cmp byte [rbx], 0x43
jne 0x1801e4773
mov r8d, 9
lea rdx, [0x180075dd8]
mov rcx, rbx
call fcn.18020bfb0
test eax, eax
je 0x1801e477d
cmp rbx, rsi
je 0x1801e47e8
dec rbx
jmp 0x1801e4755
sub rbx, rsi
jne 0x1801e47e8
lea rcx, [rsp + 0x48]
call fcn.1801e1cd0
cmp byte [rsp + 0x70], bl
je 0x1801e47dd
mov byte [rsp + 0x70], bl
lea rcx, [rsp + 0x48]
call fcn.1801ce200
nop
cmp rbp, 0x10
jb 0x1801e47d9
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801e47d0
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801e484d
mov rcx, rdi
call fcn.1801e60f0
nop
mov al, 1
jmp 0x1801e481e
lea rcx, [rsp + 0x48]
call fcn.1801ce200
nop
cmp rbp, 0x10
jb 0x1801e481c
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1801e4813
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801e4847
mov rcx, rdi
call fcn.1801e60f0
nop
xor al, al
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18010f960
nop
call fcn.18010f960
int3
Function at 0x180218e70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r15, r8
mov rbp, rdx
mov r12, rcx
mov qword [rsp + 0x20], rcx
xorps xmm0, xmm0
lea r14, [r8 + 1]
movdqu xmmword [rsp + 0x28], xmm0
xor esi, esi
mov qword [rsp + 0x38], rsi
xor ebx, ebx
test r14, r14
je 0x180218f33
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x1802190ad
cmp r14, 0x1000
jb 0x180218f03
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1802190b3
call fcn.1801e60b0
test rax, rax
je 0x1802190b9
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x180218f0e
mov rcx, r14
call fcn.1801e60b0
mov rbx, rax
mov rdi, rbx
mov qword [rsp + 0x28], rbx
lea rsi, [rbx + r14]
mov qword [rsp + 0x38], rsi
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.18020be10
mov qword [rsp + 0x30], rsi
jmp 0x180218f38
mov rdi, qword [rsp + 0x28]
test rbp, rbp
je 0x180219017
test rbx, rbx
je 0x180219017
xor r8d, r8d
test r15, r15
je 0x180219012
cmp r15, 0x40
jb 0x180218fec
lea rcx, [r15 - 1]
add rcx, rbx
lea rax, [rbp - 1]
add rax, r15
cmp rbx, rax
ja 0x180218f78
cmp rcx, rbp
jae 0x180218fec
mov rax, r15
and eax, 0x3f
mov r9, r15
sub r9, rax
movdqa xmm2, xmmword [0x18007a910]
lea rax, [rbx + 0x10]
mov rcx, rbp
sub rcx, rbx
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax - 0x10]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x10], xmm0
movdqu xmm1, xmmword [rcx + rax]
pxor xmm1, xmm2
movdqu xmmword [rax], xmm1
movdqu xmm0, xmmword [rcx + rax + 0x10]
pxor xmm0, xmm2
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm1, xmmword [rcx + rax + 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax + 0x20], xmm1
add r8, 0x40
lea rax, [rax + 0x40]
cmp r8, r9
jb 0x180218fa0
cmp r8, r15
jae 0x180219012
lea rcx, [rbx + r8]
sub rbp, rbx
mov rdx, r15
sub rdx, r8
nop dword [rax]
movzx eax, byte [rcx + rbp]
xor al, 0x67
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x180219000
mov byte [r15 + rbx], 0
mov qword [r12 + 0x18], 0
mov qword [r12 + 0x20], sendto
mov byte [r12 + 8], 0
lea rax, [0x1800567d8]
mov qword [r12], rax
movsxd r8, r15d
mov rdx, rdi
mov rcx, r12
call fcn.1800f15a0
nop
test rdi, rdi
je 0x18021907e
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180219072
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1802190a7
mov rdx, rsi
mov rcx, rdi
call fcn.1801e60f0
nop
mov rax, r12
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801e67e0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.18010f960
nop
call fcn.180099420
int3
call fcn.180099270
int3
call fcn.18010f960
int3
Function at 0x1802190c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x1802191aa
test rdx, rdx
je 0x1802191aa
xor ecx, ecx
test r8, r8
je 0x1802191a5
cmp r8, 0x40
jb 0x180219181
lea rdx, [r8 - 1]
lea rax, [r8 - 1]
add rdx, r10
add rax, r9
cmp r10, rax
ja 0x180219109
cmp rdx, r9
jae 0x180219181
mov r11, r8
mov qword [rsp], rbx
and r11, 0xffffffffffffffc0
movdqa xmm2, xmmword [0x18007a910]
lea rax, [r10 + 0x10]
mov rdx, r9
sub rdx, r10
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm0, xmm2
pxor xmm1, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rdx + rax - 0x30]
movdqu xmmword [rax - 0x40], xmm1
pxor xmm0, xmm2
movdqu xmm1, xmmword [rdx + rax - 0x20]
movdqu xmmword [rax - 0x30], xmm0
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r11
jb 0x180219130
mov rbx, qword [rsp]
cmp rcx, r8
jae 0x1802191a5
sub r9, r10
lea rax, [rcx + r10]
mov rdx, r8
sub rdx, rcx
nop
movzx ecx, byte [rax + r9]
lea rax, [rax + 1]
xor cl, 0x67
mov byte [rax - 1], cl
sub rdx, 1
jne 0x180219190
mov byte [r10 + r8], 0
add rsp, 8
ret
Function at 0x141142000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x14114200a
jmp 0x14114400f
jmp fcn.140ae3058
Function at 0x3927d13e3
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
lea rax, [rbp - 8]
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
call rax
test eax, eax
sete al
test al, al
je 0x3927d1436
mov eax, 0xffffffff
jmp 0x3927d1561
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0x800c
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
call rax
test eax, eax
sete al
test al, al
je 0x3927d1473
mov eax, 0xffffffff
jmp 0x3927d1561
mov rax, qword [rbp + 0x28]
mov ecx, eax
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp + 0x20]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptHashData]
call rax
test eax, eax
sete al
test al, al
je 0x3927d14a9
mov eax, 0xffffffff
jmp 0x3927d1561
mov rcx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8, rcx
mov edx, 0x6610
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
call rax
test eax, eax
sete al
test al, al
je 0x3927d14e4
mov eax, 0xffffffff
jmp 0x3927d1561
mov rax, qword [rbp - 0x18]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
call rax
test eax, eax
sete al
test al, al
je 0x3927d1527
mov eax, 0xffffffff
jmp 0x3927d1561
mov rax, qword [rbp - 8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call rax
mov rax, qword [rbp - 0x18]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret
Function at 0x3927d1567
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov dword [rbp + 0xdc], 0
mov edx, 0
mov ecx, 2
call sym.CreateToolhelp32Snapshot
mov qword [rbp + 0xd0], rax
cmp qword [rbp + 0xd0], 0xffffffffffffffff
jne 0x3927d15b2
mov eax, 0
jmp 0x3927d1653
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sym.Process32First
test eax, eax
sete al
test al, al
je 0x3927d161e
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x3927d1653
lea rax, [rbp - 0x60]
lea rdx, [rax + 0x2c]
mov rax, qword [rbp + 0xf0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_lstrcmpiA]
call rax
test eax, eax
sete al
test al, al
je 0x3927d161e
mov eax, dword [rbp - 0x58]
mov dword [rbp + 0xdc], eax
jmp 0x3927d163a
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd0]
mov rcx, rax
call sym.Process32Next
test eax, eax
setne al
test al, al
jne 0x3927d15ef
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, dword [rbp + 0xdc]
add rsp, 0x160
pop rbp
ret

Function at 0x3927d165c
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov edx, dword [rbp + 0x20]
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], 0x20
mov r9d, 0x1000
mov r8, rdx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp - 8], rax
mov r8d, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call rax
mov rdx, qword [rbp - 8]
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9, rdx
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x3927d174b
mov rax, qword [rbp - 0x10]
mov edx, 0x1f4
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp - 0x10]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
jmp 0x3927d1750
mov eax, 0xffffffff
add rsp, 0x50
pop rbp
ret

Function at 0x3927d1ca0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x3927d1d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3927ef084]
mov rbx, rcx
test esi, esi
jle 0x3927d1e40
mov rax, qword [0x3927ef088]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x3927d1d5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x3927d1de5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x3927d1d40
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x3927d1e62
mov rax, qword [0x3927ef088]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3927ef088]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x3927d1e47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x3927d1dde
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x3927d1df0
add dword [0x3927ef084], 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 [0x3927ef088]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x3927d1dde
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x3927d1d68
mov rax, qword [0x3927ef088]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x3927d21e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3927ef0c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3927ef0a0]
test rbx, rbx
je 0x3927d223c
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 0x3927d2233
test rsi, rsi
je 0x3927d2233
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3927d2218
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 0x3927d2450
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x3927d2468
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x3927d2470
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x3927d2480
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x3927d24cd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x3927d24c4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x3927d24cf
add rax, 0x28
cmp rax, r9
jne 0x3927d24b0
xor eax, eax
ret

Function at 0x3927d24d0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x3927d2560
mov rdx, qword [0x3927ec870]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x3927d254e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x3927d254e
cmp word [rax + 0x18], 0x20b
jne 0x3927d254e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x3927d2560
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x3927d2539
add rbx, 0x28
cmp rbx, rdi
je 0x3927d2560
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x3927d2530
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x3927ec870]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3927d2590
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3927d2598
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3927d2590
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3927d25ed
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 0x3927d25e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3927d2590
add rax, 0x28
cmp rax, r9
jne 0x3927d25d0
xor eax, eax
ret

Function at 0x3927d25f0
Capabilities:
Parse pe header

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

Function at 0x3927d2630
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x3927ec870]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x3927d2650
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x3927d2658
ret
cmp word [rdx + 0x18], 0x20b
jne 0x3927d2650
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x3927d26a0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x3927d2697
test rcx, rcx
je 0x3927d2650
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x3927d2688
xor eax, eax
ret
Function at 0x3927d26b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3927ec870]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3927d26cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3927d26d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x3927ec870]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3927d2710
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3927d2718
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3927d2710
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x3927d2710
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x3927d2764
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x3927d2770
add rdx, 0x28
cmp r9, rdx
jne 0x3927d2750
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x3927ec870]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x3927d27a2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x3927d27b0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3927d27a2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x3927d27a2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x3927d27a2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x3927d2805
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x3927d2818
add rdx, 0x28
cmp rdx, r10
jne 0x3927d27f0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x3927d2827
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x3927d2837
mov edx, dword [rax + 0xc]
test edx, edx
je 0x3927d280e
test ecx, ecx
jg 0x3927d2820
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret