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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002112
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002112
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002112
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002112
cmp dword [rcx + 0x84], 0xe
jbe 0x140002112
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002114
xor al, al
add rsp, 0x28
ret
Function at 0x2fc7efd80
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 0x2fc7f0782
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc812108]
test eax, eax
je 0x2fc7f081a
lea rax, [0x2fc8120e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc812110]
mov qword [rbp - 8], rax
jmp 0x2fc7f07fe
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 0x2fc7f07f2
cmp qword [rbp - 0x10], 0
je 0x2fc7f07f2
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 0x2fc7f07b8
lea rax, [0x2fc8120e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc7f081b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc7f0920
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 0x2fc7f0948
mov eax, 0
jmp 0x2fc7f0996
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 0x2fc7f0971
mov eax, 0
jmp 0x2fc7f0996
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 0x2fc7f0991
mov eax, 0
jmp 0x2fc7f0996
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc7f099c
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 0x2fc7f0a1a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc7f0a11
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 0x2fc7f0a11
mov rax, qword [rbp - 8]
jmp 0x2fc7f0a2f
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 0x2fc7f09e4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x6bb81630
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x6bb8164f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x6bb83650
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6bb9ec20]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__hibqmcabjpvprnmtgyjsyoruxobdacnfpymdjegrnrejrjnsoufhbxxyoj
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x6bb83690
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6bb9ec20]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__bgftluxekmdvpkwtwdzwkyzpalwclgazaiicbkxisytepqridkdtjqeqqskypuqeixgfhi
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x6bb8c550
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x6bba4990]
mov rcx, qword [rax]
test rcx, rcx
je 0x6bb8c570
add rsp, 0x38
pop rbx
pop rsi
jmp 0x6bb8cb50
lea rcx, [0x6bbac2c0]
call fcn.6bb93140
lea rcx, [0x6bba0880]
mov rbx, rax
mov rsi, qword [rbx + 0x18]
lea rax, [0x6bbac310]
mov qword [rbx], rax
lea rax, str.ReraiseDefect
mov qword [rbx + 0x10], rax
call fcn.6bb8b380
test rsi, rsi
mov qword [rbx + 0x18], rax
je 0x6bb8c5d3
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
sub rax, 8
cmp rax, 7
mov qword [rsi - 0x10], rax
ja 0x6bb8c5d3
mov rcx, qword [0x6bba49b0]
add rcx, 0x18
call fcn.6bb88770
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.pmq
mov rcx, rbx
lea r8, str.jywaglve
lea rdx, str.ReraiseDefect
call fcn.6bb8beb0
nop
nop word [rax + rax]
Function at 0x6bb8c600
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x6bbac300], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x6bb8c6f6
mov rax, qword [0x6bba49a0]
lea rcx, [rbp - 0x110]
mov rdx, qword [rax]
mov qword [rax], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rdx
mov rdx, rbp
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x6bb8c710
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x6bb8c6c8
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x6bb8c699
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
mov rcx, qword [0x6bba4a00]
call fcn.6bb92f60
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x6bbac300]
mov rax, qword [0x6bba49a0]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
jne 0x6bb8c789
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x6bb8c7a0
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x6bba49a0]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rbp - 0x108], 0
mov qword [rax], rdx
mov rdx, qword [0x6bba4990]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x6bb8c74b
add qword [rbx - 0x10], 8
mov rax, qword [rdx]
test rax, rax
je 0x6bb8c771
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x6bb8c771
mov rcx, qword [0x6bba49b0]
add rcx, 0x18
call fcn.6bb88770
mov rax, qword [0x6bba4990]
cmp qword [rbp - 0x108], 0
mov qword [rax], rbx
je 0x6bb8c6f6
call fcn.6bb8c550
jmp 0x6bb8c6f6
mov ecx, 2
call qword [fcn.6bb9ec20]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x6bb8c705
Function at 0x6bb8d9b0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edx, 0xfb1
xor ebx, ebx
mov r12, rcx
mov rcx, qword [0x6bba4a00]
call fcn.6bb84ad0
movdqa xmm0, xmmword [0x6bba1120]
lea rbp, [rax + 0x10]
mov rsi, rax
movups xmmword [rax], xmm0
nop dword [rax]
nop word cs:[rax + rax]
mov r9, r12
mov r8d, 0xfa0
mov edx, 1
mov rcx, rbp
call sub.msvcrt.dll_fread
cmp rax, 0xfa0
mov rdi, rax
je 0x6bb8da60
mov rcx, r12
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x6bb8daa4
mov rcx, rsi
mov rdx, rdi
call fcn.6bb85180
test rax, rax
mov rsi, rax
je 0x6bb8da90
mov rdx, qword [rax]
mov rcx, rbx
call fcn.6bb849c0
mov rdx, rsi
mov rbx, rax
mov rcx, rax
call fcn.6bb91240
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.6bb849c0
mov r8, qword [rsi]
mov rdx, rbp
mov rbx, rax
mov rax, qword [rax]
add r8, 1
lea rcx, [rbx + rax + 0x10]
call sub.msvcrt.dll_memcpy
mov rax, qword [rsi]
add qword [rbx], rax
jmp 0x6bb8d9f0
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bb849c0
mov rcx, r12
call fcn.6bb8d750
nop
nop dword [rax]

Function at 0x6bb8dab0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edi, 7
cmp rdx, 7
mov rsi, rcx
mov rcx, qword [0x6bba4a00]
mov rbx, rdx
cmovge rdi, rdx
lea rdx, [rdi + 0x11]
call fcn.6bb84ad0
movq xmm1, rdi
mov r9, rsi
mov r8, rbx
movq xmm0, rbx
mov edx, 1
mov rbp, rax
punpcklqdq xmm0, xmm1
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call sub.msvcrt.dll_fread
mov rcx, rsi
cmp rbx, rax
mov rdi, rax
je 0x6bb8db60
call sub.msvcrt.dll_ferror
mov rcx, rsi
test eax, eax
jne 0x6bb8dbc4
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x6bb8db75
cmp rbx, rdi
jle 0x6bb8db9e
mov rdx, rdi
mov rcx, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bb85180
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ebx, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test ebx, ebx
js 0x6bb8db9e
mov rcx, rsi
call fcn.6bb8d9b0
test rax, rax
mov rbx, rax
je 0x6bb8dbb0
mov rdx, qword [rax]
mov rcx, rbp
call fcn.6bb849c0
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call fcn.6bb91240
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor edx, edx
mov rcx, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bb849c0
call fcn.6bb8d750
nop
nop word [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [fcn.6bb9ec20]
cmp rax, rbx
je 0x6bb8dc20
mov rcx, rbx
call fcn.6bb9e610
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
call fcn.6bb9e860
mov rcx, rbx
call fcn.6bb9e610
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.6bb9e860
test rsi, rsi
jg 0x6bb8dc30
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.6bb8d9b0
mov rdx, rsi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x6bb8dab0
Function at 0x6bb8dbd0
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov edi, 7
cmp rdx, 7
mov rsi, rcx
mov rcx, qword [0x6bba4a00]
mov rbx, rdx
cmovge rdi, rdx
lea rdx, [rdi + 0x11]
call fcn.6bb84ad0
movq xmm1, rdi
mov r9, rsi
mov r8, rbx
movq xmm0, rbx
mov edx, 1
mov rbp, rax
punpcklqdq xmm0, xmm1
lea rcx, [rax + 0x10]
movups xmmword [rax], xmm0
call sub.msvcrt.dll_fread
mov rcx, rsi
cmp rbx, rax
mov rdi, rax
je 0x6bb8db60
call sub.msvcrt.dll_ferror
mov rcx, rsi
test eax, eax
jne 0x6bb8dbc4
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov r12d, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test r12d, r12d
jns 0x6bb8db75
cmp rbx, rdi
jle 0x6bb8db9e
mov rdx, rdi
mov rcx, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bb85180
call sub.msvcrt.dll_fgetc
mov rdx, rsi
mov ebx, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test ebx, ebx
js 0x6bb8db9e
mov rcx, rsi
call fcn.6bb8d9b0
test rax, rax
mov rbx, rax
je 0x6bb8dbb0
mov rdx, qword [rax]
mov rcx, rbp
call fcn.6bb849c0
mov rdx, rbx
mov rcx, rax
mov rbp, rax
call fcn.6bb91240
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor edx, edx
mov rcx, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6bb849c0
call fcn.6bb8d750
nop
nop word [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [fcn.6bb9ec20]
cmp rax, rbx
je 0x6bb8dc20
mov rcx, rbx
call fcn.6bb9e610
xor edx, edx
mov r8d, 2
mov rcx, rbx
mov rdi, rax
call fcn.6bb9e860
mov rcx, rbx
call fcn.6bb9e610
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
mov rsi, rax
call fcn.6bb9e860
test rsi, rsi
jg 0x6bb8dc30
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.6bb8d9b0
mov rdx, rsi
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x6bb8dab0

Function at 0x6bb922b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
xor edx, edx
test r11, r11
je 0x6bb9231b
cmp r11, 0xffffffffffffffff
mov r8, qword [rcx]
mov r9, qword [rcx + 8]
je 0x6bb92320
mov rax, 0xffffffffffffffff
xor edx, edx
div r11
not rdx
nop word cs:[rax + rax]
lea rax, [r8 + r9]
xor r9, r8
ror r8, 9
mov r10, r9
xor r8, r9
ror r9, 0x1c
shl r10, 0xe
xor r8, r10
cmp rdx, rax
jb 0x6bb922e0
movq xmm0, r8
movq xmm1, r9
add r11, 1
punpcklqdq xmm0, xmm1
xor edx, edx
movups xmmword [rcx], xmm0
div r11
mov rax, rdx
ret
lea rdx, [r8 + r9]
xor r9, r8
ror r8, 9
mov rax, r9
xor r8, r9
ror r9, 0x1c
shl rax, 0xe
mov qword [rcx + 8], r9
xor r8, rax
mov rax, rdx
mov qword [rcx], r8
ret

Function at 0x6bb93270
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [fcn.6bb9ec20]
mov rsi, qword [rcx]
mov ecx, 1
call rbx
mov rcx, rax
mov rdx, rsi
call fcn.6bb93170
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x6bba1224]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush
Function at 0x6bb932d0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [fcn.6bb9ec20]
mov rdi, qword [rcx]
mov rsi, rcx
mov ecx, 1
call rbx
mov rdx, rdi
mov rcx, rax
call fcn.6bb93170
mov rsi, qword [rsi + 8]
mov ecx, 1
call rbx
mov rcx, rax
mov rdx, rsi
call fcn.6bb93170
mov ecx, 1
call rbx
mov r8d, 1
mov edx, 1
lea rcx, [0x6bba1224]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rbx
mov rcx, rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sub.msvcrt.dll_fflush
Function at 0x6bb944a0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x6bb94740
jbe 0x6bb94500
cmp cx, 0x25
je 0x6bb94930
jbe 0x6bb94640
cmp cx, 0x44
je 0x6bb94920
ja 0x6bb94610
cmp cx, 0x41
je 0x6bb94910
jbe 0x6bb94550
cmp cx, 0x42
je 0x6bb94900
cmp cx, 0x43
jne 0x6bb948f0
lea rcx, [0x6bba1940]
jmp fcn.6bb84790
cmp cx, 0xa
je 0x6bb948e0
ja 0x6bb945d0
cmp cx, 4
je 0x6bb948d0
jbe 0x6bb94590
cmp cx, 7
je 0x6bb948c0
jbe 0x6bb94570
cmp cx, 8
je 0x6bb948b0
cmp cx, 9
jne 0x6bb948f0
lea rcx, [0x6bba1cc0]
jmp fcn.6bb84790
cmp cx, 0x26
je 0x6bb948a0
cmp cx, 0x40
jne 0x6bb948f0
lea rcx, [0x6bba19a0]
jmp fcn.6bb84790
cmp cx, 5
je 0x6bb94890
cmp cx, 6
jne 0x6bb948f0
lea rcx, [0x6bba1d20]
jmp fcn.6bb84790
cmp cx, 1
je 0x6bb94880
test cx, cx
je 0x6bb94870
cmp cx, 2
je 0x6bb94860
cmp cx, 3
jne 0x6bb948f0
lea rcx, [0x6bba1d80]
jmp fcn.6bb84790
cmp cx, 0x10
je 0x6bb94850
jbe 0x6bb94710
cmp cx, 0x13
je 0x6bb94840
jbe 0x6bb946f0
cmp cx, 0x14
je 0x6bb94830
cmp cx, 0x15
jne 0x6bb948f0
lea rcx, [0x6bba1b60]
jmp fcn.6bb84790
cmp cx, 0x47
je 0x6bb94820
jbe 0x6bb94680
cmp cx, 0x48
je 0x6bb94810
cmp cx, 0xfff
jne 0x6bb948f0
lea rcx, [0x6bba1840]
jmp fcn.6bb84790
cmp cx, 0x1b
je 0x6bb94800
jbe 0x6bb946c0
cmp cx, 0x1e
je 0x6bb947f0
jbe 0x6bb946a0
cmp cx, 0x1f
je 0x6bb947e0
cmp cx, 0x24
jne 0x6bb948f0
lea rcx, [0x6bba1a00]
jmp fcn.6bb84790
cmp cx, 0x45
je 0x6bb947d0
cmp cx, 0x46
jne 0x6bb948f0
lea rcx, [0x6bba18a0]
jmp fcn.6bb84790
cmp cx, 0x1c
je 0x6bb947c0
cmp cx, 0x1d
jne 0x6bb948f0
lea rcx, [0x6bba1a60]
jmp fcn.6bb84790
cmp cx, 0x18
je 0x6bb947b0
jb 0x6bb947a0
cmp cx, 0x19
je 0x6bb94790
cmp cx, 0x1a
jne 0x6bb948f0
lea rcx, [0x6bba1ac0]
jmp fcn.6bb84790
cmp cx, 0x11
je 0x6bb94780
cmp cx, 0x12
jne 0x6bb948f0
lea rcx, [0x6bba1bc0]
jmp fcn.6bb84790
cmp cx, 0xc
je 0x6bb94770
jb 0x6bb94760
cmp cx, 0xd
je 0x6bb94750
cmp cx, 0xe
jne 0x6bb948f0
lea rcx, [0x6bba1c20]
jmp fcn.6bb84790
lea rcx, [0x6bba1b40]
jmp fcn.6bb84790
lea rcx, [0x6bba1c40]
jmp fcn.6bb84790
lea rcx, [0x6bba1c80]
jmp fcn.6bb84790
lea rcx, [0x6bba1c60]
jmp fcn.6bb84790
lea rcx, [0x6bba1be0]
jmp fcn.6bb84790
lea rcx, [0x6bba1ae0]
jmp fcn.6bb84790
lea rcx, [0x6bba1b20]
jmp fcn.6bb84790
lea rcx, [0x6bba1b00]
jmp fcn.6bb84790
lea rcx, [0x6bba1a80]
jmp fcn.6bb84790
lea rcx, [0x6bba18c0]
jmp fcn.6bb84790
lea rcx, [0x6bba1a20]
jmp fcn.6bb84790
lea rcx, [0x6bba1a40]
jmp fcn.6bb84790
lea rcx, [0x6bba1aa0]
jmp fcn.6bb84790
lea rcx, [0x6bba1860]
jmp fcn.6bb84790
lea rcx, [0x6bba1880]
jmp fcn.6bb84790
lea rcx, [0x6bba1b80]
jmp fcn.6bb84790
lea rcx, [0x6bba1ba0]
jmp fcn.6bb84790
lea rcx, [0x6bba1c00]
jmp fcn.6bb84790
lea rcx, [0x6bba1da0]
jmp fcn.6bb84790
lea rcx, [0x6bba1de0]
jmp fcn.6bb84790
lea rcx, [0x6bba1dc0]
jmp fcn.6bb84790
lea rcx, [0x6bba1d40]
jmp fcn.6bb84790
lea rcx, [0x6bba19c0]
jmp fcn.6bb84790
lea rcx, [0x6bba1ce0]
jmp fcn.6bb84790
lea rcx, [0x6bba1d00]
jmp fcn.6bb84790
lea rcx, [0x6bba1d60]
jmp fcn.6bb84790
lea rcx, [0x6bba1ca0]
jmp fcn.6bb84790
lea rcx, [0x6bba1ec0]
jmp fcn.6bb84790
lea rcx, [0x6bba1960]
jmp fcn.6bb84790
lea rcx, [0x6bba1980]
jmp fcn.6bb84790
lea rcx, [0x6bba1900]
jmp fcn.6bb84790
lea rcx, [0x6bba19e0]
jmp fcn.6bb84790
Function at 0x6bb94b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.6bb84790
test rax, rax
je 0x6bb94b67
mov r9, qword [rax]
test r9, r9
jle 0x6bb94b67
mov r8, rax
add r9, rbx
sub r8, rbx
nop dword [rax]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x6bb94b30
add rsp, 0x20
pop rbx
ret
Function at 0x6bb9d500
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6bbabd04]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6bb9d688
mov rax, qword [0x6bbabd08]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6bb9d54c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6bb9d5d5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6bb9d530
mov rcx, rbx
call fcn.6bb9e1a0
test rax, rax
mov r12, rax
je 0x6bb9d6bd
mov rax, qword [0x6bbabd08]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6bb9e2d0
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6bbabd08]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6bb9d6a0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6bb9d5ce
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6bb9d630
add dword [0x6bbabd04], 1
cmp edi, 8
jae 0x6bb9d603
test dil, 4
jne 0x6bb9d674
test edi, edi
je 0x6bb9d5f8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6bb9d68f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6bb9d5f8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6bb9d61c
jmp 0x6bb9d5f8
add rsi, qword [0x6bbabd08]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6bb9d5ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.hqpfuwsyjfkfssovwtzbwfvtbkrzgubok_0x_x
mov edx, eax
call fcn.6bb9ed80
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6bb9d5f8
xor esi, esi
jmp 0x6bb9d557
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6bb9d5f8
mov rax, qword [0x6bbabd08]
lea rcx, str.__axrhkcfrhkzpftaatwk_for__d_nepuobpsypagbvvf__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6bb9ed80
lea rcx, str.kvzugcplqndlydxmvvzjcysbpcvoxqp
mov rdx, rbx
call fcn.6bb9ed80
nop
nop dword [rax]

Function at 0x6bb9de10
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6bbabfe0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6bbabfc0]
test rbx, rbx
je 0x6bb9de64
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6bb9de5b
test rsi, rsi
je 0x6bb9de5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6bb9de40
lea rcx, [0x6bbabfe0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6bb9e1a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6bba4900]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6bb9e20d
mov rcx, r8
call fcn.6bb9e080
test eax, eax
je 0x6bb9e20d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6bb9e20d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6bb9e204
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6bb9e20f
add rax, 0x28
cmp rax, r9
jne 0x6bb9e1f0
xor eax, eax
add rsp, 0x28
ret

Function at 0x6bb9ed80
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x6bb813a0]
jmp 0x6bb81380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.6bb9ec20
mov r8d, 0x1b
mov edx, 1
lea rcx, str.ewefzankuaklpwhbzdtttjltog_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.6bb9ec20
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x6bb81390
Function at 0x180001050
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001081
xor eax, eax
lea r8, section..text
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180001090
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.Python311.dll
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800010b3
lea rcx, str.Python311.dll
jmp 0x18000111d
lea rcx, str.Python310.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800010ce
lea rcx, str.Python310.dll
jmp 0x18000111d
lea rcx, str.Python39.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1800010e9
lea rcx, str.Python39.dll
jmp 0x18000111d
lea rcx, str.Python38.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180001104
lea rcx, str.Python38.dll
jmp 0x18000111d
lea rcx, str.Python37.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x180001126
lea rcx, str.Python37.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
lea rdx, str.Py_SetProgramName
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyEval_InitThreads
mov rcx, rbx
mov qword [0x180004650], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyGILState_Ensure
mov rcx, rbx
mov qword [0x180004640], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyGILState_Release
mov rcx, rbx
mov qword [0x180004638], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleStringFlags
mov rcx, rbx
mov qword [0x180004658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180004648], rax
add rsp, 0x20
pop rbx
ret