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

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x1401399f0]
call fcn.140004270
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x140152f08]
mov edx, 0x10
call fcn.140004390
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004480
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x1400e1add
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x63
mov rcx, rsi
call fcn.1400967c0
inc edi
cmp ebp, edi
jg 0x1400e1ac7
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400962a0

Function at 0x1400e1dc0
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov qword [rbp + 0x18], rdx
mov rbx, rcx
mov esi, r8d
mov edi, r9d
mov r14, qword [rbp + 0x30]
mov rcx, rdx
mov edx, 1
xor r8d, r8d
call fcn.1400a9ec0
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r14
mov r14d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r14d
mov rcx, rbx
mov qword [rbp - 0x88], rcx
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x90], rdx
mov r8d, esi
mov dword [rbp - 0x7c], r8d
mov r9d, edi
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x70]
call fcn.140005f30
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8d, dword [rbp - 0x7c]
mov r9d, dword [rbp - 0x80]
call sub.ADVAPI32.dll_RegSetValueExA
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.140005f80
mov rax, qword gs:[0x58]
mov ecx, dword [0x1401d5cdc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400e1eb6
mov qword [rbp - 0x78], rsi
call sub.KERNEL32.dll_GetLastError
mov rsi, qword [rbp - 0x78]
mov dword [rsi + 0x80], eax
cmp dword [0x1401cf9a8], 0
je 0x1400e1ece
jmp 0x1400e1ec8
lea rax, [0x1400b0fb0]
call rax
mov rsi, rax
mov qword [rbp - 0x78], rsi
jmp 0x1400e1e9c
call fcn.140005050
nop
cmp qword [rbp + 0x18], 0
je 0x1400e1eea
mov rdx, qword [rbp - 0x40]
test rdx, 0xffffffffffff0000
je 0x1400e1eea
mov rcx, rdx
call fcn.1400b7b50
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e2680
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov r14d, r9d
lea rcx, [0x140152f08]
mov edx, 0xc
call fcn.140004390
xor ecx, ecx
mov edx, ecx
lea r8, [0x14011bd10]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x1401212b0]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x1400e26b7
mov rcx, rax
call fcn.140072bf0
mov r15, rax
lea rcx, [0x140152f08]
mov edx, 0xe
call fcn.140004390
xor ecx, ecx
mov edx, ecx
lea r8, [0x140131ff8]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140131f68]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xe
jl 0x1400e2708
mov rcx, rax
call fcn.140072bf0
mov r13, rax
mov rcx, r15
call fcn.1400e1f90
test rax, rax
je 0x1400e2763
mov rcx, rax
mov rdx, r13
call fcn.1400e20c0
mov r15, rax
jmp 0x1400e2766
xor r15d, r15d
test r15, r15
je 0x1400e27bd
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov rcx, rbx
mov qword [rbp - 0x70], rcx
mov rdx, rsi
mov qword [rbp - 0x78], rdx
mov r8d, edi
mov dword [rbp - 0x64], r8d
mov r9d, r14d
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.140005f30
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov r8d, dword [rbp - 0x64]
mov r9d, dword [rbp - 0x68]
call r15
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140005f80
mov rax, rbx
jmp 0x1400e27bf
xor eax, eax
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400e27e0
Capabilities:
Encode data using xor

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov edi, edx
mov rbx, r8
lea rcx, [0x140152f08]
mov edx, 0xc
call fcn.140004390
xor ecx, ecx
mov edx, ecx
lea r8, [0x14011a390]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140131848]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0xc
jl 0x1400e2805
mov rcx, rax
call fcn.140072bf0
mov rbp, rax
lea rcx, [0x140152f08]
mov edx, 0x10
call fcn.140004390
xor ecx, ecx
mov edx, ecx
lea r8, [0x140119d48]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140123c08]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x10
jl 0x1400e2856
mov rcx, rax
call fcn.140072bf0
mov r14, rax
mov rcx, rbp
call fcn.1400e1f90
test rax, rax
je 0x1400e28ae
mov rcx, rax
mov rdx, r14
call fcn.1400e20c0
jmp 0x1400e28b0
xor eax, eax
test rax, rax
je 0x1400e28cf
mov rcx, rsi
mov edx, edi
mov r8, rbx
mov r9, rax
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
jmp fcn.140067fd0
xor eax, eax
mov qword [rbx], rax
add rsp, 0x20
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
Function at 0x1400e57a0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x140152f08]
mov edx, 0x1d
call fcn.140004390
xor ecx, ecx
nop dword [rax]
mov edx, ecx
lea r8, [0x14011a340]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x140131990]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 0x1d
jl 0x1400e57c0
mov rcx, rax
call fcn.140072bf0
mov rsi, rax
mov rcx, rsi
call fcn.14009dc00
test eax, eax
je 0x1400e58d9
call fcn.1400e5900
mov rdx, rax
mov rcx, rbx
call fcn.1400e5990
mov rdx, rax
lea rcx, [0x14011be38]
call fcn.1400735c0
mov rdx, rax
mov rcx, rsi
call fcn.1400e10f0
call fcn.140079ab0
movabs rbx, 0x3fffffffffffffff
and rbx, rax
call fcn.1400e5ac0
mov rsi, rax
call fcn.140079ab0
movabs rcx, 0x3fffffffffffffff
and rcx, rax
sub rcx, rbx
movabs rdx, 0xd6bf94d5e57a42bd
mov rax, rdx
imul rcx
add rcx, rdx
mov r8, rcx
shr r8, 0x3f
sar rcx, 0x17
add rcx, r8
movabs rdx, 0x8888888888888889
mov rax, rdx
imul rcx
add rdx, rcx
mov rax, rdx
shr rax, 0x3f
sar rdx, 5
add rax, rdx
imul rax, rax, 0x3c
sub rcx, rax
cmp ecx, 3
jg 0x1400e58cb
test rsi, rsi
je 0x1400e584a
call fcn.1400e5a70
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.1400e5a70
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x1400e5900
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x140152e70]
mov edx, 0x1f3
call fcn.140004390
mov rbx, rax
lea rcx, [rbx + 0x10]
lea rdx, str.m_SDE_YXk_e_QXWBCDS_v
mov r8d, 0x1f3
call fcn.140080de0
lea rcx, [0x1401399f0]
call fcn.140004270
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x140152f08]
mov edx, 0x10
call fcn.140004390
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140004480
xor edi, edi
movzx edx, byte [rbx + rdi + 0x10]
xor edx, 0x36
mov rcx, rsi
call fcn.1400967c0
inc edi
cmp edi, 0x1f3
jl 0x1400e5966
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400962a0
Function at 0x1400e5ac0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r14
push rdi
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x50]
lea rcx, [0x140152f08]
mov edx, 5
call fcn.140004390
xor ecx, ecx
mov edx, ecx
lea r8, [0x14011a7a0]
movzx r8d, word [r8 + rdx*2 + 0xc]
mov r10d, ecx
and r10d, 0xf
lea r9, [0x14011d2e8]
movzx r10d, word [r9 + r10*2 + 0xc]
xor r8d, r10d
mov word [rax + rdx*2 + 0x10], r8w
inc ecx
cmp ecx, 5
jl 0x1400e5ae2
mov rcx, rax
call fcn.140072bf0
mov rbx, rax
xor esi, esi
call fcn.1400e5c00
mov rcx, rax
mov edx, 2
call fcn.1400e6270
mov rdi, rax
test rdi, rdi
je 0x1400e5bbd
lea rcx, [0x1401399f0]
call fcn.140004270
mov r14, rax
mov rcx, r14
mov edx, pe_nt_image_headers64
mov r8d, 0x7fffffff
call fcn.1400961f0
mov r8, qword [r14 + 8]
mov r8d, dword [r8 + 8]
add r8d, dword [r14 + 0x1c]
mov rcx, rdi
mov rdx, r14
call fcn.1400e6060
test eax, eax
jle 0x1400e5ba3
mov rcx, r14
call fcn.1400962a0
mov dword [rsp + 0x20], 5
mov r9d, dword [rax + 8]
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
call fcn.140074400
test eax, eax
jge 0x1400e5bba
mov rcx, rdi
mov edx, 2
call fcn.1400e6270
mov rdi, rax
test rdi, rdi
jne 0x1400e5b40
jmp 0x1400e5bbd
mov rsi, rdi
test rsi, rsi
je 0x1400e5be5
mov rcx, rsi
call fcn.1400e2380
mov rcx, rsi
mov edx, 5
call fcn.1400e25f0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret

Function at 0x1400e6460
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x30]
mov r10, qword [rbp + 0x40]
mov r11, qword [rbp + 0x50]
test rdx, rdx
je 0x1400e64ae
lea rbx, [rdx + 0x10]
cmp dword [rdx + 8], 0
cmove rbx, qword [rbp - 0x40]
mov qword [rbp - 0x40], rbx
mov rdx, qword [rbp - 0x40]
test rax, rax
je 0x1400e64c8
lea rbx, [rax + 0x10]
cmp dword [rax + 8], 0
cmove rbx, qword [rbp - 0x48]
mov qword [rbp - 0x48], rbx
mov rax, qword [rbp - 0x48]
test r10, r10
je 0x1400e64e3
lea rbx, [r10 + 0x10]
cmp dword [r10 + 8], 0
cmove rbx, qword [rbp - 0x50]
mov qword [rbp - 0x50], rbx
mov r10, qword [rbp - 0x50]
mov qword [rbp - 0x58], r11
mov qword [rsp + 0x20], rax
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], r10
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r11
mov qword [rbp - 0x8c], rdx
mov dword [rbp - 0x84], r8d
mov qword [rbp - 0x94], r9
mov qword [rbp - 0x9c], rcx
lea rcx, [rbp - 0x80]
call fcn.140005f30
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x94]
mov rcx, qword [rbp - 0x9c]
call sub.bcrypt.dll_BCryptDecrypt
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.140005f80
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140100240
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14010027c
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x140100262
mov r10d, dword [r10 + 0x14]
jmp 0x140100265
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x14010024f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x1401002a0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1401002dc
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
je 0x1401002c2
mov r10d, dword [r10 + 0x14]
jmp 0x1401002c5
xor r10d, r10d
mov r9d, ecx
rol r9d, 0xd
add r9d, ecx
mov ecx, r9d
xor ecx, r10d
inc eax
cmp r8d, eax
jg 0x1401002af
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret
Function at 0x14010d840
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jl 0x14010da2a
movsx r10, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd r10, edx
add r10, r10
lea rdx, [rax + r10]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
je 0x14010d95c
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx r8d, word [rsp + 0x18]
shr r8d, 0xf
movzx r10d, word [rsp + 0x1a]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx edx, word [rsp + 0x1c]
shr edx, 0xf
shl edx, 2
or edx, r8d
mov r8d, edx
movzx edx, word [rsp + 0x1e]
shr edx, 0xf
shl edx, 3
or edx, r8d
mov r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x14010da8d
add rax, 0x10
cmp rax, rdx
jbe 0x14010d871
mov r8d, r8d
test r8b, 7
je 0x14010da9a
movups xmm1, xmmword [rdx]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14010da9a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx edx, word [rsp + 2]
shr edx, 0xf
add edx, edx
or ecx, edx
movzx edx, word [rsp + 4]
shr edx, 0xf
shl edx, 2
or edx, ecx
mov ecx, edx
movzx edx, word [rsp + 6]
shr edx, 0xf
shl edx, 3
or edx, ecx
mov ecx, edx
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov edx, 0x20
test eax, eax
cmove ecx, edx
shr r10, 1
lea eax, [r10 + rcx]
jmp 0x14010da8d
xor eax, eax
cmp r8d, 4
jl 0x14010da77
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x14010da8d
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
jne 0x14010da53
inc eax
jmp 0x14010da8d
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
jne 0x14010da63
add eax, 2
jmp 0x14010da8d
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
jne 0x14010da73
add eax, 3
jmp 0x14010da8d
add rax, 4
test r8d, r8d
jle 0x14010da9a
movsx r9, dx
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
jne 0x14010da92
add rsp, 0x38
ret
inc rax
test r8d, r8d
jg 0x14010da80
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140116320
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, r8
mov esi, edx
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x140116352
mov rcx, qword [rbx + rdi*8 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ecx, esi
rol ecx, 0xd
add ecx, esi
mov esi, eax
xor esi, ecx
inc edi
cmp ebp, edi
jg 0x140116336
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
Function at 0x2fc4d5390
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d5d92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fa108]
test eax, eax
je 0x2fc4d5e2a
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fa110]
mov qword [rbp - 8], rax
jmp 0x2fc4d5e0e
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 0x2fc4d5e02
cmp qword [rbp - 0x10], 0
je 0x2fc4d5e02
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 0x2fc4d5dc8
lea rax, [0x2fc4fa0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d5e2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d5f30
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 0x2fc4d5f58
mov eax, 0
jmp 0x2fc4d5fa6
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 0x2fc4d5f81
mov eax, 0
jmp 0x2fc4d5fa6
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 0x2fc4d5fa1
mov eax, 0
jmp 0x2fc4d5fa6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d9a00
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4da402
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4da49a
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4da47e
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 0x2fc4da472
cmp qword [rbp - 0x10], 0
je 0x2fc4da472
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 0x2fc4da438
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4da49b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4da5a0
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 0x2fc4da5c8
mov eax, 0
jmp 0x2fc4da616
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 0x2fc4da5f1
mov eax, 0
jmp 0x2fc4da616
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 0x2fc4da611
mov eax, 0
jmp 0x2fc4da616
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4da61c
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 0x2fc4da69a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4da691
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 0x2fc4da691
mov rax, qword [rbp - 8]
jmp 0x2fc4da6af
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 0x2fc4da664
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d7d70
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 sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d8772
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fd108]
test eax, eax
je 0x2fc4d880a
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fd110]
mov qword [rbp - 8], rax
jmp 0x2fc4d87ee
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 0x2fc4d87e2
cmp qword [rbp - 0x10], 0
je 0x2fc4d87e2
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 0x2fc4d87a8
lea rax, [0x2fc4fd0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d880b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8910
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 0x2fc4d8938
mov eax, 0
jmp 0x2fc4d8986
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 0x2fc4d8961
mov eax, 0
jmp 0x2fc4d8986
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 0x2fc4d8981
mov eax, 0
jmp 0x2fc4d8986
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d898c
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 0x2fc4d8a0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d8a01
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 0x2fc4d8a01
mov rax, qword [rbp - 8]
jmp 0x2fc4d8a1f
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 0x2fc4d89d4
mov eax, 0
add rsp, 0x20
pop rbp
ret