joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013770
Capabilities:
Create thread

Disassembly:
sub rsp, 0x58
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 1
call fcn.140030ae4
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140013ca0]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call fcn.14003ba28
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001388d
call fcn.1400138c0
test al, al
je 0x14001383a
mov rax, qword [0x140075300]
test rax, rax
je 0x140013807
cmp dword [rax + 0x2d4], 1
jne 0x140013800
lea rcx, [rax + 0x10]
call fcn.140024a20
test eax, eax
jle 0x1400137f9
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x140075300]
mov byte [rax + 0x438], 1
cmp dword [rsp + 0x38], 0
je 0x140013877
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x1400138a0
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400300b0
test eax, eax
jne 0x140013882
jmp 0x14001385a
cmp dword [rsp + 0x38], 0
je 0x140013877
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14003008c
test eax, eax
jne 0x140013877
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x38], 0
jne 0x1400138ab
xor eax, eax
add rsp, 0x58
ret
mov ecx, 1
call fcn.14002fff0
int3
mov ecx, 2
call fcn.14002fff0
int3
mov ecx, 6
mov dword [rsp + 0x38], 0
call fcn.14002fff0
int3
mov ecx, 5
call fcn.14002fff0
int3
call fcn.14003ab7c
int3
Function at 0x140014960
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140014a52
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140012bb0
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140012bb0
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.140030ae4
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140012bb0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140012bb0
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140019290]
xor edx, edx
xor ecx, ecx
call fcn.14003ba28
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140014a95
lea rcx, [rsp + 0x60]
call fcn.140014ac0
cmp dword [rsp + 0x38], 0
je 0x140014aa8
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003008c
test eax, eax
jne 0x140014aa8
jmp 0x140014a74
cmp qword [rdx + 0x18], 8
jb 0x140014a5c
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140014a66
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140030a90
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14002fff0
nop
mov ecx, 1
call fcn.14002fff0
int3

Function at 0x140014b80
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014bf0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002320
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x1400668a0]
mov rcx, rbx
call fcn.140002df0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140030a90
add rsp, 0x260
pop rbx
ret
Function at 0x140017d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140017da4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140017d90
ret
Function at 0x14001c9f0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14001cad3
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001cad3
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14001caf1
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14001cac3
cmp word [rax], 0x5c
jne 0x14001cabc
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14001cabc
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001caa7
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14001cab9
test r8b, 0x10
jne 0x14001cabc
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14001cabc
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.140018c60
test edi, edi
jne 0x14001ca20
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140018c50
int3
Function at 0x140027ef0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140001e60
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x140075300]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001e60
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.140030ae4
mov rbx, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x78], bpl
mov byte [rax + 0x20], sil
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140012fc0
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140013180]
xor edx, edx
xor ecx, ecx
call fcn.14003ba28
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002807b
cmp dword [rsp + 0x48], ebp
je 0x140028070
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14003008c
test eax, eax
jne 0x140028070
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140028038
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140028033
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002808a
mov rcx, r8
call fcn.140030ab0
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [r14], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140030a90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.14002fff0
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.14002fff0
nop
call fcn.140037434
int3
Function at 0x140028820
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
lea ecx, [rsi + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x14002886a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xa0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x140075220]
mov qword [rbx + 0xe0], rax
lea rcx, [rbx + 0x60]
call fcn.14002dce0
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140028909
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xe0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140028909
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x140028909
lea r8, [0x140075450]
cmp qword [0x140075468], 8
cmovae r8, qword [0x140075450]
lea rdx, [0x140075690]
cmp qword [0x1400756a8], 8
cmovae rdx, qword [0x140075690]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x1400289c8
cmp qword [rbx + 0xe0], rsi
jne 0x1400289c6
lea rdx, [0x140075630]
lea rcx, [rbp - 9]
call fcn.140012bb0
lea rdx, [0x140075450]
lea rcx, [rbp + 0x17]
call fcn.140012bb0
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.140030ae4
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140012bb0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.140012bb0
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140019290]
xor edx, edx
xor ecx, ecx
call fcn.14003ba28
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400289ed
lea rcx, [rbp - 9]
call fcn.140014ac0
cmp dword [rbp - 0x11], 0
je 0x1400289fb
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.14003008c
test eax, eax
jne 0x1400289fb
jmp 0x1400289c8
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140030a90
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.14002fff0
nop
mov ecx, 1
call fcn.14002fff0
int3
Function at 0x14002e1b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140072048]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x140075238]
mov rbx, rax
test rax, rax
jne 0x14002e33d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140029630
nop
lea r8, [0x140075670]
cmp qword [0x140075688], 8
cmovae r8, qword [0x140075670]
mov r9, qword [0x140075680]
mov rcx, rax
call fcn.140007480
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140075450]
cmp qword [0x140075468], 8
cmovae r8, qword [0x140075450]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14002e2e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e2e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e386
call fcn.140030ab0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002e339
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e334
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e380
call fcn.140030ab0
xor al, al
jmp 0x14002e35f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140030a90
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.140037434
nop
call fcn.140037434
nop
int3
Function at 0x1400317d0
Capabilities:
Parse pe header

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

Function at 0x14003b59c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003b42f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b42f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b42f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b42f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b42f
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b42f
cmp dword [rcx + 0xf8], 0
je 0x14003b42f
mov ecx, ebx
call fcn.14003b4d0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003b2c0
cmp dword [rbp + 0x20], 0
je 0x14003b47c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003b484
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003b3c8
Function at 0x1400525b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400525d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400525d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011140
Capabilities:
Write file on windows

Disassembly:
jmp 0x140023c40
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140046190]
call fcn.140011bcc
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140023c97
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140023da3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x140023d3c
cmp qword [rbp + 0x28], 0
jle 0x140023d3c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x140023cdc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140011b0e
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140023d92
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140023d92
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x140011212
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x140016280
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x14004606c]
call fcn.140011bcc
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1400162bc
mov rcx, qword [rbp + 0x100]
call fcn.140011253
jmp 0x1400162d7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1400162d7
mov rcx, qword [rbp + 0x100]
call fcn.1400115e1
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14001159b
Capabilities:
Create process on windows

Disassembly:
jmp 0x14001ea70
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x2d8
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x6e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x2f8]
mov rax, qword [0x14003b018]
xor rax, rbp
mov qword [rbp + 0x260], rax
lea rcx, [0x14004619a]
call fcn.140011bcc
mov qword [rbp + 8], 0
lea rdx, str._n___Stealing_Token_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011168
lea rdx, [rbp + 8]
mov ecx, dword [rbp + 0x290]
call fcn.14001196f
cmp qword [rbp + 8], 0
jne 0x14001eaf7
jmp 0x14001ec81
lea rcx, [rbp + 0x244]
call fcn.140011690
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x2a0]
call fcn.140011528
mov rcx, qword [rbp + 0x2a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rbp + 0x258]
mov r9, rcx
mov r8, rax
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rbp + 0x28]
call fcn.140011b95
nop
lea rcx, [rbp + 0x28]
call fcn.1400113cf
mov qword [rbp + 0x68], rax
lea rdx, str.___Stole_user_Token__from_sessionsId:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011168
mov edx, dword [rbp + 0x290]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, str._HANDLE_is_0x
mov rcx, rax
call fcn.140011168
mov rdx, qword [rbp + 8]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
lea rdx, [0x140034150]
mov rcx, rax
call fcn.140011168
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x164], 1
mov r8d, 0x68
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.1400118d9
mov dword [rbp + 0xe0], 0x68
mov eax, 1
mov word [rbp + 0x120], ax
mov rcx, qword [rbp + 8]
call fcn.140011b72
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14001ec6d
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x28]
call fcn.140011a32
lea rcx, [rbp - 0x60]
lea rdx, [0x1400328b0]
call fcn.1400119c9
mov rcx, qword [rbp + 0x260]
xor rcx, rbp
call fcn.1400115c3
lea rsp, [rbp + 0x278]
pop rdi
pop rbp
ret
Function at 0x1400115e1
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400170e0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x14004606c]
call fcn.140011bcc
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x140017124
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400171b5
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x14001717a
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140017184
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140017119
mov qword [rbp + 0x88], 0xe3
jmp 0x1400171d3
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x14001727c
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x140017238
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x140017242
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400171c2
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x1400172dc
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400172e6
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret

Function at 0x1400116c2
Capabilities:
Terminate process

Disassembly:
jmp 0x140027ef0
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