joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001a7ea
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001a7e0
cmp r11, r10
ja 0x14001a875
cmp r10, rdx
ja 0x14001a887
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001a7e2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001a7c0
jmp 0x14001a857
ja 0x14001a7ea
mov r11, r10
cmp rax, r8
jne 0x14001a792
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001a85b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001a830
mov r8, r10
sub ecx, r9d
jns 0x14001a84e
jmp 0x14001a85d
cmp r10, rdx
je 0x14001a869
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001a85d
xor al, 1
cmp r8, rdx
jne 0x14001a810
jmp 0x14001a85d
xor eax, eax
jmp 0x14001a85d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14002bfc0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002c4c0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002c4b0
int3

Function at 0x14001be64
Capabilities:
Parse pe header

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

Function at 0x1400206a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140020494
Function at 0x140023710
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140023740
xor eax, eax
jmp 0x140023803
mov rbp, rbx
cmp word [rax], si
je 0x140023765
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002374c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023748
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140023660
movsxd r14, eax
test eax, eax
jne 0x1400237a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023739
mov rcx, r14
call fcn.1400245c4
mov rdi, rax
test rax, rax
jne 0x1400237bc
xor ecx, ecx
call fcn.140021cf0
jmp 0x140023798
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140023660
test eax, eax
jne 0x1400237ed
mov rcx, rdi
call fcn.140021cf0
jmp 0x1400237f7
xor ecx, ecx
call fcn.140021cf0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140026ccc
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140022764
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026d56
cmp byte [rbp - 0x21], r15b
je 0x140026d51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026d8c
call fcn.140024de4
test eax, eax
jne 0x140026d78
cmp byte [rbp - 0x21], r15b
je 0x140026d70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026d8c
cmp byte [rbp - 0x21], r15b
je 0x140026d89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140021d40
test eax, eax
jne 0x140026e2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140022764
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140026dcb
cmp byte [rbp - 0x21], r15b
je 0x140026e00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140026e00
call fcn.140024de4
test eax, eax
jne 0x140026dec
cmp byte [rbp - 0x21], r15b
je 0x140026de5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140026e00
cmp byte [rbp - 0x21], r15b
je 0x140026dfd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140021d40
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026e2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026e2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026e3d
mov rcx, rdi
call fcn.140021cf0
cmp byte [rbp + 0x3f], r15b
je 0x140026e4c
mov rcx, qword [rbp + 0x27]
call fcn.140021cf0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140029d50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029d78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029d78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400112cb
Capabilities:
Terminate process

Disassembly:
jmp 0x140014b50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001137f
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015ea0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015ec0
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015ed3
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140015efd
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015f11
xor al, al
jmp 0x140015f41
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015f23
xor al, al
jmp 0x140015f41
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140015f3f
xor al, al
jmp 0x140015f41
mov al, 1
add rsp, 0x38
ret
Function at 0x140064080
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x18
cmp dword [0x140228780], 0
jne 0x140064254
mov rax, qword gs:[0x60]
xor edx, edx
mov rcx, qword [rax + 0x18]
mov r9, qword [rcx + 0x10]
mov rax, qword [r9 + 0x30]
test rax, rax
je 0x14006425e
mov r8, rax
movsxd rax, dword [rax + 0x3c]
mov ecx, dword [rax + r8 + 0x88]
test ecx, ecx
je 0x1400640ee
lea rdx, [r8 + rcx]
mov ecx, dword [r8 + rcx + 0xc]
mov eax, dword [rcx + r8]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x1400640ee
mov eax, dword [rcx + r8 + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x1400640fa
mov r9, qword [r9]
mov rax, qword [r9 + 0x30]
test rax, rax
jne 0x1400640b1
test rdx, rdx
je 0x14006425e
mov qword [rsp + 0x20], rbx
mov ebx, dword [rdx + 0x18]
mov qword [rsp + 0x28], rbp
mov ebp, dword [rdx + 0x24]
mov qword [rsp + 0x30], rsi
add rbp, r8
mov esi, dword [rdx + 0x1c]
mov qword [rsp + 0x10], rdi
add rsi, r8
mov edi, dword [rdx + 0x20]
mov qword [rsp + 8], r14
add rdi, r8
mov qword [rsp], r15
lea r14, [0x140228780]
xor r10d, r10d
mov r15d, 0x775a
nop word [rax + rax]
lea eax, [rbx - 1]
mov edx, dword [rdi + rax*4]
add rdx, r8
cmp word [rdx], r15w
jne 0x1400641b5
xor r11d, r11d
mov r9d, 0x53f578da
mov rax, rdx
nop dword [rax + rax]
movzx eax, word [rax]
mov ecx, r9d
ror ecx, 8
inc r11d
add ecx, eax
mov eax, r11d
add rax, rdx
xor r9d, ecx
cmp byte [rax], 0
jne 0x140064170
lea rdx, [r10*8]
inc r10d
mov dword [rdx + r14 + 4], r9d
lea eax, [rbx - 1]
movzx eax, word [rbp + rax*2]
mov eax, dword [rsi + rax*4]
mov dword [rdx + r14 + 8], eax
cmp r10d, 0x1f4
je 0x1400641ba
add ebx, 0xffffffff
jne 0x140064150
mov r15, qword [rsp]
lea eax, [r10 - 1]
mov rsi, qword [rsp + 0x30]
xor r9d, r9d
mov rbp, qword [rsp + 0x28]
mov dword [0x140228780], r10d
test eax, eax
je 0x140064245
nop word [rax + rax]
mov ecx, r10d
xor eax, eax
sub ecx, r9d
cmp ecx, 1
je 0x140064239
nop dword [rax]
mov edx, eax
lea r11d, [rax + 1]
mov ebx, dword [r14 + r11*8 + 8]
mov edi, dword [r14 + rdx*8 + 8]
cmp edi, ebx
jbe 0x140064229
mov ecx, dword [r14 + rdx*8 + 4]
mov eax, dword [r14 + r11*8 + 4]
mov dword [r14 + rdx*8 + 4], eax
mov dword [r14 + r11*8 + 4], ecx
mov dword [r14 + rdx*8 + 8], ebx
mov dword [r14 + r11*8 + 8], edi
mov r10d, dword [0x140228780]
mov ecx, r10d
mov eax, r11d
sub ecx, r9d
dec ecx
cmp r11d, ecx
jb 0x1400641f0
inc r9d
lea eax, [r10 - 1]
cmp r9d, eax
jb 0x1400641e0
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rsp + 8]
mov eax, 1
add rsp, 0x18
ret
xor eax, eax
add rsp, 0x18
ret
Function at 0x140065490
Capabilities:
Check for outputdebugstring error
Check for peb beingdebugged flag
Patch process command line
Print debug messages

Disassembly:
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword gs:[0x60]
cmp byte [rax + 2], 0
jne 0x1400655bd
test byte [rax + 0xbc], 0x70
jne 0x1400655bd
mov ecx, 0x457
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x140225e54]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x457
jne 0x1400655bd
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x80], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x140225e18]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14006551d
xor edi, edi
jmp 0x140065530
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, 0x30
lea r8, [rsp + 0x30]
mov rbx, rax
xor edx, edx
lea rax, [rsp + 0x68]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call rdi
mov rdx, qword [rsp + 0x38]
lea rax, [rsp + 0x70]
add rdx, 0x50
mov qword [rsp + 0x60], 0xffffffffffffffff
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test byte [rsp + 0x60], 4
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
jne 0x1400655bd
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006eec0
add rsp, 0x88
ret
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006eec0
add rsp, 0x88
ret

Function at 0x140067ae0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1f94070b
call fcn.140064270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140068320
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc051fcd4
call fcn.140064270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14006a320
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xf8a337f5
call fcn.140064270
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret
Function at 0x14006fd70
Capabilities:
Parse pe header

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

Function at 0x1809f8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1809f81df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1809f8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809f806f
add dl, dl
jne 0x1809f8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809f80f6
xor eax, eax
add dl, dl
jne 0x1809f80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809f81ad
add dl, dl
jne 0x1809f80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809f80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809f80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809f80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1809f80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1809f807e
mov eax, 1
add dl, dl
jne 0x1809f8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809f8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809f80fb
sub eax, ebx
mov ebx, 1
jne 0x1809f814c
mov ecx, 1
add dl, dl
jne 0x1809f812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1809f813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809f8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809f807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1809f8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1809f8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809f815d
cmp eax, 0x7d00
jae 0x1809f819b
cmp eax, 0x500
jb 0x1809f8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809f807e
cmp eax, 0x7f
ja 0x1809f819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1809f807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1809f81d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1809f807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x64781e80
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 0x64781e9f
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 0x64781ec0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.64799d50]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
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 0x64781f00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.64799d50]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
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
test ecx, ecx
setne al
ret
Function at 0x6478e420
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.6478e3a0
test rax, rax
je 0x6478e487
mov r9, qword [rax]
test r9, r9
jle 0x6478e487
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 0x6478e450
add rsp, 0x20
pop rbx
ret
Function at 0x6478e490
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x6478e730
jbe 0x6478e4f0
cmp cx, 0x25
je 0x6478e920
jbe 0x6478e630
cmp cx, 0x44
je 0x6478e910
ja 0x6478e600
cmp cx, 0x41
je 0x6478e900
jbe 0x6478e540
cmp cx, 0x42
je 0x6478e8f0
cmp cx, 0x43
jne 0x6478e8e0
lea rcx, [0x6479c1a0]
jmp fcn.6478e3a0
cmp cx, 0xa
je 0x6478e8d0
ja 0x6478e5c0
cmp cx, 4
je 0x6478e8c0
jbe 0x6478e580
cmp cx, 7
je 0x6478e8b0
jbe 0x6478e560
cmp cx, 8
je 0x6478e8a0
cmp cx, 9
jne 0x6478e8e0
lea rcx, [0x6479c520]
jmp fcn.6478e3a0
cmp cx, 0x26
je 0x6478e890
cmp cx, 0x40
jne 0x6478e8e0
lea rcx, [0x6479c200]
jmp fcn.6478e3a0
cmp cx, 5
je 0x6478e880
cmp cx, 6
jne 0x6478e8e0
lea rcx, [0x6479c580]
jmp fcn.6478e3a0
cmp cx, 1
je 0x6478e870
test cx, cx
je 0x6478e860
cmp cx, 2
je 0x6478e850
cmp cx, 3
jne 0x6478e8e0
lea rcx, [0x6479c5e0]
jmp fcn.6478e3a0
cmp cx, 0x10
je 0x6478e840
jbe 0x6478e700
cmp cx, 0x13
je 0x6478e830
jbe 0x6478e6e0
cmp cx, 0x14
je 0x6478e820
cmp cx, 0x15
jne 0x6478e8e0
lea rcx, [0x6479c3c0]
jmp fcn.6478e3a0
cmp cx, 0x47
je 0x6478e810
jbe 0x6478e670
cmp cx, 0x48
je 0x6478e800
cmp cx, 0xfff
jne 0x6478e8e0
lea rcx, [0x6479c0a0]
jmp fcn.6478e3a0
cmp cx, 0x1b
je 0x6478e7f0
jbe 0x6478e6b0
cmp cx, 0x1e
je 0x6478e7e0
jbe 0x6478e690
cmp cx, 0x1f
je 0x6478e7d0
cmp cx, 0x24
jne 0x6478e8e0
lea rcx, [0x6479c260]
jmp fcn.6478e3a0
cmp cx, 0x45
je 0x6478e7c0
cmp cx, 0x46
jne 0x6478e8e0
lea rcx, [0x6479c100]
jmp fcn.6478e3a0
cmp cx, 0x1c
je 0x6478e7b0
cmp cx, 0x1d
jne 0x6478e8e0
lea rcx, [0x6479c2c0]
jmp fcn.6478e3a0
cmp cx, 0x18
je 0x6478e7a0
jb 0x6478e790
cmp cx, 0x19
je 0x6478e780
cmp cx, 0x1a
jne 0x6478e8e0
lea rcx, [0x6479c320]
jmp fcn.6478e3a0
cmp cx, 0x11
je 0x6478e770
cmp cx, 0x12
jne 0x6478e8e0
lea rcx, [0x6479c420]
jmp fcn.6478e3a0
cmp cx, 0xc
je 0x6478e760
jb 0x6478e750
cmp cx, 0xd
je 0x6478e740
cmp cx, 0xe
jne 0x6478e8e0
lea rcx, [0x6479c480]
jmp fcn.6478e3a0
lea rcx, [0x6479c3a0]
jmp fcn.6478e3a0
lea rcx, [0x6479c4a0]
jmp fcn.6478e3a0
lea rcx, [0x6479c4e0]
jmp fcn.6478e3a0
lea rcx, [0x6479c4c0]
jmp fcn.6478e3a0
lea rcx, [0x6479c440]
jmp fcn.6478e3a0
lea rcx, [0x6479c340]
jmp fcn.6478e3a0
lea rcx, [0x6479c380]
jmp fcn.6478e3a0
lea rcx, [0x6479c360]
jmp fcn.6478e3a0
lea rcx, [0x6479c2e0]
jmp fcn.6478e3a0
lea rcx, [0x6479c120]
jmp fcn.6478e3a0
lea rcx, [0x6479c280]
jmp fcn.6478e3a0
lea rcx, [0x6479c2a0]
jmp fcn.6478e3a0
lea rcx, [0x6479c300]
jmp fcn.6478e3a0
lea rcx, [0x6479c0c0]
jmp fcn.6478e3a0
lea rcx, [0x6479c0e0]
jmp fcn.6478e3a0
lea rcx, [0x6479c3e0]
jmp fcn.6478e3a0
lea rcx, [0x6479c400]
jmp fcn.6478e3a0
lea rcx, [0x6479c460]
jmp fcn.6478e3a0
lea rcx, [0x6479c600]
jmp fcn.6478e3a0
lea rcx, [0x6479c640]
jmp fcn.6478e3a0
lea rcx, [0x6479c620]
jmp fcn.6478e3a0
lea rcx, [0x6479c5a0]
jmp fcn.6478e3a0
lea rcx, [0x6479c220]
jmp fcn.6478e3a0
lea rcx, [0x6479c540]
jmp fcn.6478e3a0
lea rcx, [0x6479c560]
jmp fcn.6478e3a0
lea rcx, [0x6479c5c0]
jmp fcn.6478e3a0
lea rcx, [0x6479c500]
jmp fcn.6478e3a0
lea rcx, [0x6479c700]
jmp fcn.6478e3a0
lea rcx, [0x6479c1c0]
jmp fcn.6478e3a0
lea rcx, [0x6479c1e0]
jmp fcn.6478e3a0
lea rcx, [0x6479c160]
jmp fcn.6478e3a0
lea rcx, [0x6479c240]
jmp fcn.6478e3a0
Function at 0x6478f580
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rsi, [0x6479e940]
mov edx, 0x604d982a
mov rbx, rcx
lea rcx, [0x6479e880]
call fcn.6478e420
mov edx, 0x1643f74a
mov rcx, rax
call fcn.6478f260
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rbp, qword [rax + 0x20]
lea rdi, [rax + 0x20]
nop word [rax + rax]
movzx eax, word [rbx]
mov rdx, rbx
test ax, ax
je 0x6478f600
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x6478f680
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x6478f5e0
mov rdx, qword [rbp + 0x50]
movzx eax, word [rdx]
test ax, ax
je 0x6478f632
mov rcx, rdx
nop
lea r8d, [rax - 0x41]
cmp r8w, 0x19
ja 0x6478f6a0
add eax, 0x20
add rcx, 2
mov word [rcx - 2], ax
movzx eax, word [rcx]
test ax, ax
jne 0x6478f610
mov rcx, rbx
call fcn.647828f0
mov edx, 0x712c99aa
mov rcx, rsi
mov r12, rax
call fcn.6478e420
mov edx, 0x7e5bbcca
mov rcx, rax
call fcn.6478f260
test r12, r12
je 0x6478f6c0
mov rbp, qword [rbp]
cmp rdi, rbp
jne 0x6478f5d0
mov edx, 1
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.6478f4b0
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x6478f5e0
jmp 0x6478f600
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x6478f610
jmp 0x6478f632
mov rax, qword [rbp + 0x20]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x647900b0
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x6479e940]
mov rbx, rcx
mov ebp, edx
mov edx, 0x604d982a
lea rcx, [0x6479e880]
call fcn.6478e420
mov edx, 0x1643f74a
mov rcx, rax
call fcn.6478f260
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
lea rdi, [rax + 0x20]
nop dword [rax + rax]
movzx eax, word [rbx]
mov rdx, rbx
test ax, ax
je 0x64790130
nop dword [rax + rax]
lea ecx, [rax - 0x41]
cmp cx, 0x19
ja 0x647901b0
add eax, 0x20
add rdx, 2
mov word [rdx - 2], ax
movzx eax, word [rdx]
test ax, ax
jne 0x64790110
mov rdx, qword [r12 + 0x50]
movzx eax, word [rdx]
test ax, ax
je 0x64790162
mov rcx, rdx
lea r8d, [rax - 0x41]
cmp r8w, 0x19
ja 0x647901d0
add eax, 0x20
add rcx, 2
mov word [rcx - 2], ax
movzx eax, word [rcx]
test ax, ax
jne 0x64790140
mov rcx, rbx
call fcn.647828f0
mov edx, 0x712c99aa
mov rcx, rsi
mov r13, rax
call fcn.6478e420
mov edx, 0x7e5bbcca
mov rcx, rax
call fcn.6478f260
test r13, r13
je 0x647901f0
mov r12, qword [r12]
cmp rdi, r12
jne 0x64790100
mov edx, ebp
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.6478f4b0
add rdx, 2
movzx eax, word [rdx]
test ax, ax
jne 0x64790110
jmp 0x64790130
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x64790140
jmp 0x64790162
mov rax, qword [r12 + 0x20]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret