joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022e34
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001a7b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001a7b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140022f84
cmp rax, 0xffffffffffffffff
je 0x140022f84
xor edi, edi
test rbp, rbp
jle 0x140022f2f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140015b20
mov rbx, rax
test rax, rax
jne 0x140022ebc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140022f25
mov edx, 0x8000
mov ecx, r14d
call fcn.1400138b4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140018254
cmp eax, 0xffffffff
je 0x140022f05
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140022ecc
mov edx, r15d
mov ecx, r14d
call fcn.1400138b4
jmp 0x140022f25
cmp byte [rsi + 0x38], dil
je 0x140022f1c
cmp dword [rsi + 0x34], 5
jne 0x140022f1c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140022f25
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140016888
jmp 0x140022f98
jns 0x140022f98
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001a7b4
cmp rax, 0xffffffffffffffff
jne 0x140022f50
cmp byte [rsi + 0x30], dil
je 0x140022f98
mov edi, dword [rsi + 0x2c]
jmp 0x140022f98
mov ecx, r14d
call fcn.14001d974
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140022f98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140022f98
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140022f91
mov eax, dword [rsi + 0x2c]
jmp 0x140022f96
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001a7b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140023470
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14000cabc
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000cb0a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000cb05
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cb29
mov rcx, r8
call fcn.140030a60
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400373e4
int3

Function at 0x14000cb30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x14000cb82
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000cbd4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000cbcf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cbf3
mov rcx, r8
call fcn.140030a60
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400373e4
int3
Function at 0x14000eb60
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140074048]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rdi, qword [rsp + 0xe0]
xor ebx, ebx
cmp qword [rcx + 0x18], 8
jb 0x14000ebaa
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000ebde
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.1400022e0
jmp 0x14000ed4d
mov ebp, 1
mov ecx, 0x208
call fcn.140030d20
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bx
mov rbx, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x14000ec2d
mov rax, qword [r14]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000ec3a
mov r8, qword [rdi]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x14000ec49
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14000ec57
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14000ecd8
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000ec7f
mov r8, qword [rdi]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000eca4
add rax, 2
test ecx, ecx
jne 0x14000ec90
test edx, edx
je 0x14000ecd8
mov rcx, rsi
call fcn.140030a60
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.140030d20
mov rsi, rax
jmp 0x14000ec20
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x14000ece0
mov rax, qword [rsp + 0x60]
cmp rbx, rax
ja 0x14000ed23
lea rdi, [rsp + 0x48]
cmp rax, 8
cmovae rdi, qword [rsp + 0x48]
mov qword [rsp + 0x58], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140032ec0
xor r14d, r14d
mov word [rbx + rdi], r14w
jmp 0x14000ed33
mov r9, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002930
mov rcx, rsi
call fcn.140030a60
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140030a40
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000f7e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
sub rcx, 0xffffffffffffff80
call fcn.14002d560
test eax, eax
setne dl
mov byte [rbx + 0x108], dl
test eax, eax
je 0x14000f82a
cmp qword [rbx + 0xc8], 0x10000
jae 0x14000f82a
lea rcx, [rbx + 0x80]
call fcn.14002d960
mov eax, dword [rbx + 0x2e4]
cmp byte [rbx + 0x108], bpl
je 0x14000f935
cmp eax, 1
je 0x14000f912
mov dword [rbx + 0x2e4], 1
call fcn.14000de90
test al, al
je 0x14000f98e
lea rcx, [rbx + 0x10]
call fcn.140028f90
test al, al
je 0x14000f98e
lea rcx, [rbx + 0x10]
call fcn.140029180
mov rcx, rbx
call fcn.140011070
add rbx, 0x4e0
cmp byte [rbx + 8], bpl
jne 0x14000f979
cmp qword [rbx + 0x18], rbp
je 0x14000f979
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.140030a94
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x140013550]
xor edx, edx
xor ecx, ecx
call fcn.14003b9d8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000f9a1
cmp dword [rsp + 0x38], 0
je 0x14000f996
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003003c
test eax, eax
jne 0x14000f996
jmp 0x14000f979
mov eax, dword [0x140077308]
inc eax
mov dword [0x140077308], eax
cmp eax, 5
jle 0x14000f979
mov dword [0x140077308], ebp
mov rcx, rbx
call fcn.14000f520
jmp 0x14000f979
test eax, eax
je 0x14000f979
mov dword [rbx + 0x2e4], ebp
mov rcx, rbx
call fcn.140011070
mov byte [rbx + 0x4e8], bpl
mov edi, 0x1388
cmp byte [rbx + 0x4e9], bpl
je 0x14000f979
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14000f979
cmp byte [rbx + 0x4e9], bpl
jne 0x14000f960
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.14003b54c
nop
mov ecx, 1
call fcn.14002ffa0
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14002ffa0
int3
Function at 0x14000fc50
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140074048]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ebp, ebp
mov dword [rsp + 0x24], ebp
lea rdx, [0x140077810]
lea rcx, [0x140077450]
call fcn.14000cc70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
xor r8d, r8d
lea rdx, [0x140061f80]
lea rcx, [rsp + 0x40]
call fcn.1400022e0
mov dword [rsp + 0x24], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140032b00
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000fd87
cmp eax, 0x104
je 0x14000fd87
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14000fd87
mov ecx, esi
call fcn.140030d20
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.140032b00
mov dword [rsp + 0x28], ebp
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14000fd7f
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.StringFileInfo000004b0ProductVersion
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000fd7f
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140001c30
nop
mov rcx, rdi
call fcn.140030a60
lea rdx, [rsp + 0x40]
lea rcx, [0x140077770]
call fcn.140001d20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000fdd7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fdd2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fe00
call fcn.140030a60
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140030a40
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400373e4
int3
Function at 0x140011070
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400778a0]
call fcn.1400302d8
test eax, eax
jne 0x14001111f
cmp dword [0x1400778ec], 0x7fffffff
je 0x14001110a
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xc0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400778a0]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.1400302e0
mov ecx, 6
mov dword [0x1400778ec], 0x7ffffffe
call fcn.14002ffa0
int3
mov ecx, 5
call fcn.14002ffa0
int3
Function at 0x140012740
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x140077300]
lea r14, [0x1400778a0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.1400302d8
test eax, eax
jne 0x140012898
cmp dword [0x1400778ec], 0x7fffffff
je 0x140012883
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140001e20
mov rdx, rax
mov rcx, rdi
call fcn.14000ca70
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x14001283b
mov rcx, rbx
call fcn.140005c60
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140012848
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.1400302e0
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [0x1400778ec], 0x7ffffffe
mov ecx, 6
call fcn.14002ffa0
int3
mov ecx, 5
call fcn.14002ffa0
int3
Function at 0x1400135a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140074048]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rsi, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x1400136cc
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test rbx, rbx
je 0x1400136cc
test eax, eax
je 0x1400136cc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x1400136cc
mov rcx, qword [rsi]
mov dword [rbp - 0x28], 0x750c62eb
mov dword [rbp - 0x24], 0xdb933768
mov dword [rbp - 0x20], 0xeea29dae
mov dword [rbp - 0x1c], 0x333c5210
mov dword [rbp - 0x18], 0xe2e106ef
mov dword [rbp - 0x14], 0x6c32329
mov dword [rbp - 0x10], 0x78edb607
mov dword [rbp - 0xc], 0x5705c9af
cmp rcx, qword [rsi + 8]
je 0x140013672
mov qword [rsi + 8], rcx
mov rax, qword [rsi + 0x10]
sub rax, rcx
cmp rdi, rax
jbe 0x140013689
mov rdx, rdi
mov rcx, rsi
call fcn.140013710
xor ebx, ebx
test rdi, rdi
je 0x1400136c8
mov rdx, qword [rsi + 8]
mov rax, rbx
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x28]
xor cl, byte [rbx + r14]
mov byte [rbp - 0x30], cl
cmp rdx, qword [rsi + 0x10]
je 0x1400136b4
mov byte [rdx], cl
inc qword [rsi + 8]
jmp 0x1400136c0
lea r8, [rbp - 0x30]
mov rcx, rsi
call fcn.140013800
inc rbx
cmp rbx, rdi
jb 0x140013690
mov al, 1
jmp 0x1400136ce
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140030a40
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140013990
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.140030a94
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140013ec0]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call fcn.14003b9d8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013aad
call fcn.140013ae0
test al, al
je 0x140013a5a
mov rax, qword [0x140077300]
test rax, rax
je 0x140013a27
cmp dword [rax + 0x2e4], 1
jne 0x140013a20
lea rcx, [rax + 0x10]
call fcn.140024ea0
test eax, eax
jle 0x140013a19
lea ecx, [rax + rax*4]
lea ecx, [rcx*8 + 0xfa]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x140077300]
mov byte [rax + 0x448], 1
cmp dword [rsp + 0x38], 0
je 0x140013a97
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rsp + 0x38], eax
je 0x140013ac0
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
xor edx, edx
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140030060
test eax, eax
jne 0x140013aa2
jmp 0x140013a7a
cmp dword [rsp + 0x38], 0
je 0x140013a97
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.14003003c
test eax, eax
jne 0x140013a97
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [rsp + 0x38], 0
jne 0x140013acb
xor eax, eax
add rsp, 0x58
ret
mov ecx, 1
call fcn.14002ffa0
int3
mov ecx, 2
call fcn.14002ffa0
int3
mov ecx, 6
mov dword [rsp + 0x38], 0
call fcn.14002ffa0
int3
mov ecx, 5
call fcn.14002ffa0
int3
call fcn.14003ab2c
int3
Function at 0x140014ee0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140074048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x140014fd2
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140012dd0
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.140012dd0
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.140030a94
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140012dd0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.140012dd0
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, [0x140019df0]
xor edx, edx
xor ecx, ecx
call fcn.14003b9d8
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140015015
lea rcx, [rsp + 0x60]
call fcn.140015040
cmp dword [rsp + 0x38], 0
je 0x140015028
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003003c
test eax, eax
jne 0x140015028
jmp 0x140014ff4
cmp qword [rdx + 0x18], 8
jb 0x140014fdc
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140014fe6
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.140030a40
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14002ffa0
nop
mov ecx, 1
call fcn.14002ffa0
int3

Function at 0x140015100
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140074048]
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 0x140015170
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400022e0
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140068430]
mov rcx, rbx
call fcn.140002db0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140030a40
add rsp, 0x260
pop rbx
ret
Function at 0x1400186b0
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 0x1400186f4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400186e0
ret
Function at 0x14001d550
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 0x14001d633
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14001d633
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 0x14001d651
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 0x14001d623
cmp word [rax], 0x5c
jne 0x14001d61c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14001d61c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14001d607
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14001d619
test r8b, 0x10
jne 0x14001d61c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14001d61c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400197c0
test edi, edi
jne 0x14001d580
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.1400197b0
int3
Function at 0x140028600
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 [0x140074048]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140001e20
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x140077300]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001e20
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.140030a94
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.1400131e0
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x1400133a0]
xor edx, edx
xor ecx, ecx
call fcn.14003b9d8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002878b
cmp dword [rsp + 0x48], ebp
je 0x140028780
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14003003c
test eax, eax
jne 0x140028780
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140028748
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140028743
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002879a
mov rcx, r8
call fcn.140030a60
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.140030a40
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.14002ffa0
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.14002ffa0
nop
call fcn.1400373e4
int3