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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call fcn.1400c9670
nop
test rax, rax
je 0x14000a123
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a123
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a123
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a123
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a123
cmp dword [rcx + 0xf8], 0
je 0x14000a123
mov al, 1
jmp 0x14000a125
xor al, al
add rsp, 0x28
ret

Function at 0x1400151e8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140015014

Function at 0x1400512b8
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x1400a1588
add byte [rax], al
add rsp, 0x38
push rcx
mov rcx, qword [rsp + 8]
lea rcx, [rcx + 0x5f]
xchg qword [rsp + 8], rcx
mov qword [rsp + 8], rcx
mov rcx, qword [rsp]
lea rsp, [rsp + 8]
ret
pushfq
push rbx
mov rbx, qword [rsp + 8]
lea rbx, [rbx + 0x43]
xchg qword [rsp + 8], rbx
mov qword [rsp + 8], rbx
mov rbx, qword [rsp]
lea rsp, [rsp + 8]
xchg rsi, rax
lea rsp, [rsp - 8]
mov qword [rsp], rsi
mov rsi, rax
mov rax, qword [rsp]
xchg rdx, rax
lea rsp, [rsp - 8]
mov qword [rsp], rax
mov rax, rdx
mov rdx, qword [rsp]
rdtsc
mov rax, rax
and rax, 1
push rbp
mov rbp, rsp
leave
xchg rdi, rdx
xchg qword [rsp], rdi
xchg rdi, rdx
lea rsp, [rsp + 8]
xchg rdi, rax
xchg qword [rsp], rdi
xchg rdi, rax
lea rsp, [rsp + 8]
je 0x1400ca4a8
jne 0x1400a96a0
jmp 0x1400ca4a6
call fcn.140055f90
wait
pop rax
jl 0x1400a15db
push rdx
jp 0x1400a1613
mov bl, 0x44
lea rdi, [0x1400e5738]
call fcn.14009a410
movsb byte [rdi], byte [rsi]
invalid
xchg ecx, eax
pop rcx
pushfq
lea rdi, [rdi]
push 0x6c40a05a
push rcx
mov rcx, qword [rsp + 8]
xor eax, ecx
mov rcx, qword [rsp]
lea rsp, [rsp + 0x10]
popfq
push rcx
mov rcx, qword [rsp + 8]
lea rcx, [rcx + 0x66]
xchg qword [rsp + 8], rcx
mov qword [rsp + 8], rcx
mov rcx, qword [rsp]
lea rsp, [rsp + 8]
and al, 8
jmp 0x14008b088
popfq
push rdx
mov rdx, qword [rsp + 8]
lea rdx, [rdx + 0x74]
xchg qword [rsp + 8], rdx
mov qword [rsp + 8], rdx
mov rdx, qword [rsp]
lea rsp, [rsp + 8]
je 0x140085260
jne 0x140085260
jmp 0x14008525e
add byte [rax], al
add rsp, 0x38
push rbx
mov rbx, qword [rsp + 8]
lea rbx, [rbx + 0xf]
xchg qword [rsp + 8], rbx
mov qword [rsp + 8], rbx
mov rbx, qword [rsp]
lea rsp, [rsp + 8]
ret
add byte [rax], al
popfq
push rdi
mov rdi, qword [rsp + 3]
pop rdi
je 0x1400badf8
jne 0x1400badf8
jmp 0x1400badf6
Function at 0x1400d1758
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r11d, dword [rcx]
mov rsi, r8
mov ebx, dword [rcx + 4]
mov rdi, rdx
movsxd rbp, r9d
mov r10, rcx
test r9d, r9d
jle 0x1400d17bf
sub rdi, r8
inc r11b
movzx r11d, r11b
mov r8b, byte [r11 + r10 + 8]
add bl, r8b
movzx ebx, bl
mov cl, byte [rbx + r10 + 8]
mov byte [r11 + r10 + 8], cl
add cl, r8b
mov byte [rbx + r10 + 8], r8b
movzx eax, cl
mov cl, byte [rax + r10 + 8]
xor cl, byte [rdi + rsi]
mov byte [rsi], cl
inc rsi
sub rbp, 1
jne 0x1400d1785
mov rbp, qword [rsp + 0x10]
mov eax, r9d
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r10 + 4], ebx
mov rbx, qword [rsp + 8]
mov dword [r10], r11d
ret

Function at 0x1400d9a98
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0x14004e3f0
in al, dx
pop qword [rdx + 0x506e56c0]
je 0x140090883
lea rdi, [0x1400e26b0]
call fcn.1400aa368
and ebx, edi
add al, 0x5f
dec dword [rdi]
test dword [rsi - 0x1600007b], ebx
xchg edi, eax
test edi, edi
invalid
jmp 0x140090840
Function at 0x140002790
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400027ed
lea rbx, [0x1400365c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400027d4
cmp r10, 2
jb 0x1400027d4
cmp byte [r9], r8b
jne 0x1400027d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400027b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000282f
lea rbx, [0x1400365c0]
cmp r8b, 0x23
jne 0x140002813
cmp byte [r9], r8b
jne 0x140002813
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002800
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400029f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002a1f
mov r8d, 0x5d3
lea rdx, str.C:Usersmason.DESKTOP_GFH794LOneDriveDesktopAll_FilesDESKTOPEtherial_ProjectsSource_CodesSpooferSpooferimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140002a2b
mov qword [rdi], 0
lea rdx, [0x1400362f0]
mov rcx, rbx
call fcn.140002840
mov rbx, rax
test rax, rax
jne 0x140002a4d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002b24
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b24
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002b24
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002b24
cmp rsi, 0xffffffffffffffff
je 0x140002b24
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140002ac1
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140002b24
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140002b11
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140002b06
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002b2d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002b1f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140002b2f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400043d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x140004406
mov r8d, 0x55e
lea rdx, str.C:Usersmason.DESKTOP_GFH794LOneDriveDesktopAll_FilesDESKTOPEtherial_ProjectsSource_CodesSpooferSpooferimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1400365c0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400433a0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1ad0], edx
jne 0x140004480
mov dword [rax + 0x1ad4], edx
cmp dword [rax + 0x1b10], edx
jne 0x14000448f
mov byte [rax + 0x1b14], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140006c60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
cmp byte [rcx], 0
mov rbx, rcx
jne 0x140006c7b
cmp byte [rcx + 0x3018], 0
je 0x140006c95
mov r8d, 0xf17
lea rdx, str.C:Usersmason.DESKTOP_GFH794LOneDriveDesktopAll_FilesDESKTOPEtherial_ProjectsSource_CodesSpooferSpooferimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x140033d99]
mov dword [rsp + 0x2c], eax
lea r11, [0x1400365c0]
mov qword [rsp + 0x38], rax
mov r10d, 0xffffffff
mov qword [rsp + 0x60], rax
mov edx, r10d
lea rax, str.Window
mov r9b, 0x57
mov qword [rsp + 0x20], rax
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140006ce3
cmp byte [r8], r9b
jne 0x140006ce3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140006cd0
mov ecx, dword [rbx + 0x3034]
lea rax, [0x140013ed0]
mov edi, dword [rbx + 0x3030]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x140013f80]
mov qword [rsp + 0x40], rax
lea rax, [0x140014020]
mov qword [rsp + 0x48], rax
lea rax, [0x1400140f0]
mov qword [rsp + 0x50], rax
lea rax, [0x1400142a0]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140006e03
inc edi
test ecx, ecx
je 0x140006d67
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140006d6c
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140006e03
mov rax, qword [0x1400433a0]
mov qword [rsp + 0x80], rsi
test rax, rax
je 0x140006d93
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*8]
shl rcx, 3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdx, qword [rbx + 0x3038]
mov rsi, rax
test rdx, rdx
je 0x140006dee
movsxd rcx, dword [rbx + 0x3030]
lea r8, [rcx + rcx*8]
mov rcx, rax
shl r8, 3
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbx + 0x3038]
test rcx, rcx
je 0x140006de8
mov rax, qword [0x1400433a0]
test rax, rax
je 0x140006de8
dec dword [rax + 0x3bc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3038], rsi
mov rsi, qword [rsp + 0x80]
mov dword [rbx + 0x3034], edi
movsxd rax, dword [rbx + 0x3030]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x3038]
movups xmmword [rax + rcx*8], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rcx*8 + 0x20], xmm0
movsd xmm0, qword [rsp + 0x60]
movups xmmword [rax + rcx*8 + 0x30], xmm1
movsd qword [rax + rcx*8 + 0x40], xmm0
inc dword [rbx + 0x3030]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14000e9c0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1400433a0]
mov edi, edx
cmp byte [rbx + 0x1fa5], 0
jne 0x14000ea11
cmp byte [rbx + 0x1fa6], 0
jne 0x14000ea11
mov r9d, dword [rbx + 0x2fe4]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002710
test dil, 1
je 0x14000eb36
jmp 0x14000ea99
movss xmm1, dword [rbx + 0x1610]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14003cd68]
xor eax, eax
mulss xmm1, dword [0x14003cd54]
addss xmm0, dword [rbx + 0x130]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x134]
mov qword [rbx + 0x1b40], rax
mov dword [rbx + 0x1b2c], 1
movss dword [rbx + 0x1b38], xmm0
movss dword [rbx + 0x1b3c], xmm1
movss xmm0, dword [rbx + 0x166c]
mulss xmm0, dword [0x14003ccec]
or dword [rbx + 0x1b28], 0x41
movss dword [rbx + 0x1b88], xmm0
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000eaf0
lea r11, [0x1400365c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000ead3
cmp byte [r8], r9b
jne 0x14000ead3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000eac0
not ecx
call fcn.1400084d0
test rax, rax
je 0x14000eb36
cmp byte [rax + 0x7e], 0
je 0x14000eb36
mov byte [rax + 0x85], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0x9c], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2fe4]
mov edx, 0x10
mov r9d, dword [rbx + 0x2fe4]
call fcn.140002710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ac10
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140013d80
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400433a0]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x301c], r15d
test rcx, rcx
je 0x140013ec2
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x3020]
mov dword [rdi + 0x301c], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x140013dde
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140015210
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x140013df4
mov edx, 8
mov rcx, rbx
call fcn.140015210
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x3030]
test eax, eax
jle 0x140013e61
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x140013e35
mov r8d, 0x554
lea rdx, str.C:Usersmason.DESKTOP_GFH794LOneDriveDesktopAll_FilesDESKTOPEtherial_ProjectsSource_CodesSpooferSpooferimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x3038]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x38]
mov eax, dword [rdi + 0x3030]
inc esi
add r14, 0x48
cmp esi, eax
jl 0x140013e35
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x1400362f4]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3028]
cmove ecx, r15d
lea rdi, [0x140043398]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.140002840
mov rbx, rax
test rax, rax
je 0x140013eb8
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x140031df0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140018d1d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140018d2d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140018d15
lea eax, [rcx + 1]
jmp 0x140018d3b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140018d4e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140018d34
sub eax, 3
jb 0x140018d6e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140018dbd
sar eax, 1
movsxd rbp, eax
jb 0x140018da4
jmp 0x140018d7c
add ebx, ebx
jne 0x140018d7a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140018da4
inc ecx
add ebx, ebx
jne 0x140018d8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140018da4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140018d9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140018d8c
add ecx, 2
jmp 0x140018da9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140018cd2
jmp 0x140018d1d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xba00
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140018e09
cmp rsi, rcx
jae 0x140018e11
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140018df0
cmp al, 0x8f
ja 0x140018df0
cmp byte [rsi - 2], 0xf
je 0x140018df6
sub al, 0xe8
cmp al, 1
ja 0x140018dda
cmp rsi, rcx
jae 0x140018e11
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140018de0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140018e11
lodsb al, byte [rsi]
jmp 0x140018df0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x15000]
mov eax, dword [rdi]
or eax, eax
je 0x140018e6e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x191dc]
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 0x140018e1e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140018e68
mov qword [rbx], rax
add rbx, 8
jmp 0x140018e3e
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 0x140018ea8
cmp al, 0xef
ja 0x140018e9a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140018e7a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140018e89
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140018efc
sub rsp, 0xffffffffffffff80
jmp 0x14000b7c8
Function at 0x2fc529d70
Capabilities:
Write file on windows

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

Function at 0x2fc52a772
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc54d108]
test eax, eax
je 0x2fc52a80a
lea rax, [0x2fc54d0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc54d110]
mov qword [rbp - 8], rax
jmp 0x2fc52a7ee
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 0x2fc52a7e2
cmp qword [rbp - 0x10], 0
je 0x2fc52a7e2
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 0x2fc52a7a8
lea rax, [0x2fc54d0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc52a80b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc52a910
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 0x2fc52a938
mov eax, 0
jmp 0x2fc52a986
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 0x2fc52a961
mov eax, 0
jmp 0x2fc52a986
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 0x2fc52a981
mov eax, 0
jmp 0x2fc52a986
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc52a98c
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 0x2fc52aa0a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc52aa01
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 0x2fc52aa01
mov rax, qword [rbp - 8]
jmp 0x2fc52aa1f
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 0x2fc52a9d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc562590
Capabilities:
Write file on windows

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

Function at 0x2fc562f92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc585108]
test eax, eax
je 0x2fc56302a
lea rax, [0x2fc5850e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc585110]
mov qword [rbp - 8], rax
jmp 0x2fc56300e
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 0x2fc563002
cmp qword [rbp - 0x10], 0
je 0x2fc563002
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 0x2fc562fc8
lea rax, [0x2fc5850e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc56302b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc563130
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 0x2fc563158
mov eax, 0
jmp 0x2fc5631a6
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 0x2fc563181
mov eax, 0
jmp 0x2fc5631a6
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 0x2fc5631a1
mov eax, 0
jmp 0x2fc5631a6
mov eax, 1
add rsp, 0x20
pop rbp
ret