joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009db60
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
mov rcx, qword [rcx + 0x68]
mov qword [rax - 0x10], r12
mov r12, rdx
mov qword [rax - 0x18], r13
xor r13d, r13d
mov qword [rax - 0x20], r14
mov ebx, r13d
mov qword [rax - 0x28], r15
mov r14d, r9d
mov qword [rax - 0x30], rbx
mov r15, r8
mov dword [rax + 8], r13d
mov dword [rax - 0x38], r13d
test rcx, rcx
je 0x14009dbb2
mov edx, 0x1b58
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rsi + 0x98]
mov rcx, rsi
mov edi, 0x57
call qword [case.0x1400ac8a1.0]
test al, al
je 0x14009dcb2
mov qword [rsp + 0x90], rbp
mov rbp, qword [rsp + 0xa8]
test rbp, rbp
je 0x14009dcaa
cmp r13w, word [rbp]
je 0x14009dcaa
mov rcx, rsi
call fcn.14009c350
mov edi, eax
test eax, eax
je 0x14009dc0c
cmp eax, 0xb7
jne 0x14009dcaa
lea rax, [rsp + 0x48]
mov r9d, r14d
mov qword [rsp + 0x38], rax
mov r8, r15
lea rax, [rsp + 0x80]
mov rdx, r12
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], eax
call fcn.14009a7e0
mov rbx, qword [rsp + 0x48]
mov edi, eax
test eax, eax
jne 0x14009dcaa
test rbx, rbx
jne 0x14009dc59
lea edi, [rax + 0xe]
jmp 0x14009dcaa
mov rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], r13w
lea rax, [rax + 1]
jne 0x14009dc60
mov rcx, qword [rsi + 0x50]
lea r8d, [rax + rax]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r13
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test byte [rsi + 0x7c], 1
mov ebp, eax
je 0x14009dc9e
cmp r13w, word [rbx]
je 0x14009dc9e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test ebp, ebp
jne 0x14009dcaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rsi + 0x50]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
lea rax, [rcx - 1]
mov qword [rsi + 0x50], r13
mov r13, qword [rsp + 0x60]
cmp rax, 0xfffffffffffffffd
ja 0x14009dcde
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x14009dceb
mov rcx, rbx
call fcn.1402767a0
mov rcx, qword [rsi + 0x68]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x88]
test rcx, rcx
je 0x14009dd0a
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, edi
add rsp, 0x70
pop rdi
ret
Function at 0x1400a2090
Capabilities:
Delete registry key

Disassembly:
lea rax, vtable.CoreTech::internal::CRegKeyImpl.0
mov qword [rcx], rax
jmp fcn.1400a20c0

Function at 0x1400a20c0
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400a2108
cmp byte [rbx + 0x14], 0
je 0x1400a20ed
lea rdx, [0x1402f713c]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rbx + 8]
mov byte [rbx + 0x14], 0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 8], 0
mov dword [rbx + 0x10], 0
add rsp, 0x20
pop rbx
ret
xor eax, eax
mov dword [rbx + 0x10], eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400a23c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400a246b
test rdx, rdx
je 0x1400a246b
cmp byte [0x14036b968], 0
jne 0x1400a242f
lea rcx, [0x1402f7cc8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400a241f
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14036b970], rax
mov byte [0x14036b968], 1
jmp 0x1400a2436
mov rax, qword [0x14036b970]
mov byte [0x14036b968], 1
jmp 0x1400a2436
mov rax, qword [0x14036b970]
mov rcx, qword [rbx + 8]
mov rdx, rdi
test rax, rax
je 0x1400a245a
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
call qword [case.0x1400ac8a1.0]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 0x57
add rsp, 0x30
pop rdi
ret

Function at 0x1400a24c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub rsp, 0x48
mov rcx, qword [rcx + 8]
mov r10d, edx
test rcx, rcx
jne 0x1400a24d8
lea eax, [rcx + 0x57]
add rsp, 0x48
ret
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
test rax, rax
cmovne rdx, rax
xor eax, eax
mov qword [rsp + 0x38], rdx
mov edx, r10d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x48
ret

Function at 0x1400a2d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x1400a2d90
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx + 8]
test rbx, rbx
jne 0x1400a2dc8
lea eax, [rbx + 0x57]
jmp 0x1400a2ebf
lea rcx, [rsp + 0x48]
call fcn.1400a2040
nop
mov r9d, dword [rdi + 0x10]
or r9d, 0x2001f
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1400a27b0
mov ebx, eax
test eax, eax
jne 0x1400a2eb3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400a2e91
nop word [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400a2d90
mov ebx, eax
test eax, eax
jne 0x1400a2eb3
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400a2e40
lea rcx, [rsp + 0x48]
call fcn.1400a20c0
mov rax, qword [rdi]
mov rdx, rsi
mov rcx, rdi
mov rax, qword [rax + 0xd0]
call qword [case.0x1400ac8a1.0]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.1400a2090
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140269300
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a30e0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebp, r8d
mov rsi, rdx
mov r12, rcx
mov edx, ebp
mov rcx, rsi
mov r8, r9
mov r14, r9
call qword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov r15d, dword [rsp + 0x2d0]
test r15d, r15d
je 0x1400a321c
test eax, eax
jne 0x1400a321c
mov qword [rsp + 0x278], rbx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x268], r13
xor r13d, r13d
mov edi, r13d
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.14026c200
mov qword [rsp + 0x38], r13
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], r13
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400a31ed
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], r13
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a31f4
mov rdx, qword [rsp + 0x48]
mov r9, r14
mov r8d, ebp
mov dword [rsp + 0x20], r15d
mov rcx, r12
call fcn.1400a30e0
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400a31f4
cmp eax, 0x103
je 0x1400a3202
inc edi
test ebx, ebx
je 0x1400a3153
mov eax, ebx
jmp 0x1400a3204
xor eax, eax
mov rdi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x278]
mov r13, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140269300
add rsp, 0x280
pop r15
pop r14
pop r12
pop rsi
pop rbp
ret

Function at 0x1400a32c0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
test r9, r9
je 0x1400a32f0
mov eax, dword [rsp + 0x60]
cmp eax, 1
jb 0x1400a32f0
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
mov eax, 0x57
add rsp, 0x38
ret
Function at 0x1400a3590
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r12
push r14
sub rsp, 0x20
mov r14, r8
mov r12, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400a36c5
test r8, r8
je 0x1400a36c5
cmp r9d, 1
jb 0x1400a36c5
cmp qword [rcx + 0x10], 0
je 0x1400a36c5
cmp qword [rcx + 0x18], 0
je 0x1400a36c5
test r9d, r9d
jle 0x1400a36b6
mov qword [rsp + 0x40], rbp
sub r12, r8
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r15
mov r15d, r9d
nop dword [rax + rax]
mov rdi, qword [rbx + 0x10]
xor ebp, ebp
mov rsi, qword [rbx + 0x18]
mov r8, rdi
mov edx, dword [rbx + 8]
mov r9, rsi
test edx, edx
jle 0x1400a364a
mov rcx, qword [rbx]
call fcn.1400a38a0
mov byte [rdi], al
lea rdi, [rdi + 1]
mov rcx, qword [rbx]
call fcn.1400a38a0
mov byte [rsi], al
lea rsi, [rsi + 1]
mov edx, dword [rbx + 8]
inc ebp
cmp ebp, edx
jl 0x1400a3617
mov rdi, qword [rbx + 0x10]
mov rsi, qword [rbx + 0x18]
mov r8, rdi
mov r9, rsi
movsxd r10, dword [rbx + 0xc]
dec edx
movzx eax, byte [r12 + r14]
lea rcx, [r10 + r8]
test edx, edx
jle 0x1400a3686
sub r10, rcx
lea r8, [r10 + r9]
nop dword [rax]
nop dword [rax + rax]
sub al, byte [r8 + rcx]
dec edx
xor al, byte [rcx]
lea rcx, [rcx - 1]
test edx, edx
jg 0x1400a3670
mov r9, rsi
mov r8, rdi
sub al, byte [r9]
xor al, byte [rbx + 0x21]
xor al, byte [r8]
mov byte [r14], al
inc r14
xor byte [rbx + 0x21], al
sub r15, 1
jne 0x1400a3600
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop r14
pop r12
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop r14
pop r12
pop rbx
ret
Function at 0x1400a7fd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400a7ff6
xor eax, eax
cmp ax, word [rcx]
je 0x1400a7ff6
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a7ff6
test al, 0x10
je 0x1400a7ff6
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1400a8780
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
test rcx, rcx
je 0x1400a888e
xor eax, eax
cmp ax, word [rcx]
je 0x1400a888e
cmp word [rcx], 0x2e
jne 0x1400a87d3
cmp word [rcx + 2], ax
je 0x1400a888e
cmp word [rcx], 0x2e
jne 0x1400a87d3
cmp word [rcx + 2], 0x2e
jne 0x1400a87d3
cmp word [rcx + 4], ax
je 0x1400a888e
call fcn.1400a7fd0
test al, al
je 0x1400a888e
mov r8, rbx
lea rdx, str._s.
lea rcx, [rsp + 0x20]
call fcn.14003abd0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov dl, 1
call fcn.1400a79a0
test al, al
jne 0x1400a8815
xor bl, bl
jmp 0x1400a883a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400a8878
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a8873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a88a3
call fcn.140269844
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140269300
add rsp, 0x50
pop rbx
ret
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140269300
add rsp, 0x50
pop rbx
ret
call fcn.140277ff8
int3
Function at 0x1400a8f80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400256d0
mov rcx, rax
test rax, rax
je 0x1400a9129
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400ac8a1.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
xor ebp, ebp
mov edi, ebp
nop
lea edx, [rdi + 1]
test edx, edx
js 0x1400a911e
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400a8feb
lea rcx, [rsp + 0x48]
call fcn.140084f10
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 8], 1
jle 0x1400a9003
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140084dc0
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov ecx, dword [rbx - 0xc]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
je 0x1400a9093
test rbx, rbx
jne 0x1400a901e
mov eax, ebp
jmp 0x1400a9032
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.1402782ec
test eax, eax
js 0x1400a911e
cmp eax, dword [rbx - 0xc]
jg 0x1400a911e
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], bp
cmp edi, dword [rbx - 0x10]
ja 0x1400a8fc0
lea rcx, [rbx - 0x18]
call fcn.14009a400
add rax, 0x18
mov qword [rsi], rax
mov rdi, 0xffffffffffffffff
lock xadd dword [rbx - 8], edi
sub edi, 1
jg 0x1400a9083
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
call fcn.1400256d0
nop
mov rcx, rax
test rax, rax
je 0x1400a9113
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400ac8a1.0]
add rax, 0x18
mov qword [rsi], rax
lea rdx, [0x1402f713c]
mov rdi, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1400a90d9
movzx edx, dx
mov rcx, rsi
call fcn.140096b50
jmp 0x1400a90f6
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400a90e0
mov r8d, eax
mov rcx, rsi
call fcn.140096e40
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400a9083
mov rcx, qword [rdx]
mov rax, qword [rcx]
jmp 0x1400a9079
mov ecx, 0x80004005
call fcn.1400264e0
int3
mov ecx, 0x80070057
call fcn.1400264e0
nop
mov ecx, 0x80004005
call fcn.1400264e0
int3
Function at 0x1400a9c80
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rsi, rdx
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1402bd7a8]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x1400a9ccd
lea eax, [r15 + 0x57]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rsp + 0x60]
mov qword [rsp + 0x68], rdi
mov rcx, 0xffffffffffffffff
test rdi, rdi
je 0x1400a9dca
mov rbx, rcx
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400a9cf0
test ebx, ebx
je 0x1400a9dca
mov r9, qword [rsi]
mov r14d, dword [r9 - 0x10]
mov rbp, rdi
sub rbp, r9
sar rbp, 1
test ebx, ebx
js 0x1400a9e5a
mov ecx, 1
sub ecx, dword [r9 - 8]
mov eax, dword [r9 - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400a9d3a
mov edx, ebx
mov rcx, rsi
call fcn.140084f10
mov r9, qword [rsi]
movsxd r8, ebx
add r8, r8
cmp rbp, r14
ja 0x1400a9d76
lea rdx, [r9 + rbp*2]
test r8, r8
je 0x1400a9dae
test rdx, rdx
jne 0x1400a9d60
call fcn.14027932c
mov dword [rax], reloc.WS2_32.dll_shutdown
jmp 0x1400a9da9
movsxd rax, dword [r9 - 0xc]
add rax, rax
cmp rax, r8
jb 0x1400a9d9e
mov rcx, r9
call fcn.14026bb50
jmp 0x1400a9dae
movsxd rax, dword [r9 - 0xc]
add rax, rax
test r8, r8
je 0x1400a9dae
mov rcx, r9
cmp rax, r8
jb 0x1400a9d94
mov rdx, rdi
call fcn.14026bb50
jmp 0x1400a9dae
mov r8, rax
xor edx, edx
call fcn.14026c200
call fcn.14027932c
mov dword [rax], 0x22
call fcn.140277fd8
mov rax, qword [rsi]
cmp ebx, dword [rax - 0xc]
jg 0x1400a9e5a
mov dword [rax - 0x10], ebx
movsxd rcx, ebx
mov rax, qword [rsi]
mov word [rax + rcx*2], r15w
jmp 0x1400a9e2e
mov r8, qword [rsi]
lea rdx, [r8 - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400a9e2e
mov eax, dword [rdx + 0x10]
shr eax, 0x1f
test al, al
je 0x1400a9df8
cmp dword [r8 - 0xc], 0
jl 0x1400a9e4f
mov dword [r8 - 0x10], r15d
mov rax, qword [rsi]
mov word [rax], r15w
jmp 0x1400a9e2e
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400a9e12
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x1400ac8a1.0]
add rax, 0x18
mov qword [rsi], rax
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400a9e3c
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.1400264e0
nop
mov ecx, 0x80070057
call fcn.1400264e0
int3
Function at 0x1400ab6e0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rdi, r9
mov rsi, r8
mov ebx, edx
call fcn.1400256d0
mov rcx, rax
test rax, rax
je 0x1400ab7a7
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400ac8a1.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
test ebx, ebx
je 0x1400ab774
sub ebx, 1
je 0x1400ab73e
cmp ebx, 1
je 0x1400ab735
lea rdx, str._s__d_:__UNKNOWN_:___s_:__s_n
jmp 0x1400ab745
lea rdx, str._s__d_:__ERROR_:___s_:__s_n
jmp 0x1400ab745
lea rdx, str._s__d_:__INFO_:___s_:__s_n
mov rbx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x70]
mov r8, rsi
lea rcx, [rsp + 0x30]
call fcn.14009f1d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rax, qword [rsp + 0x30]
lea rdx, [rax - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ab797
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400ac8a1.0]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400264e0
int3
Function at 0x1400b1700
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x1400b18b8
nop dword [rax + rax]
cmp ecx, 0x7c
je 0x1400b18b8
cmp ecx, 0x29
jne 0x1400b174d
cmp dword [rbx + 0x1c], 0
jne 0x1400b18b8
test dword [rbx + 0x80], 0x10000000
je 0x1400b18d1
jmp 0x1400b188d
cmp ecx, 0x2e
jne 0x1400b1760
lea rcx, [rbx + 0x40]
call fcn.1400b0eb0
jmp 0x1400b189a
cmp ecx, 0x5c
jne 0x1400b17c8
mov rcx, rbx
call fcn.1400b4f00
test byte [rbx + 0x80], 0x80
je 0x1400b17bb
movzx eax, word [rbx + 0x78]
cmp ax, 0x62
jne 0x1400b1796
lea rcx, [rbx + 0x40]
call fcn.1400b16f0
mov rcx, rbx
call fcn.1400b4f00
jmp 0x1400b18aa
cmp ax, 0x42
jne 0x1400b17bb
lea rcx, [rbx + 0x40]
call fcn.1400b16f0
lea rcx, [rbx + 0x40]
call fcn.1400b4e90
mov rcx, rbx
call fcn.1400b4f00
jmp 0x1400b18aa
mov rcx, rbx
call fcn.1400b1a10
jmp 0x1400b18a2
cmp ecx, 0x5b
jne 0x1400b17f3
mov rcx, rbx
call fcn.1400b4f00
mov rcx, rbx
call fcn.1400b20c0
mov edx, 0x5d
mov rcx, rbx
lea r8d, [rdx - 0x59]
call fcn.1400b3ec0
jmp 0x1400b18a2
cmp ecx, 0x28
jne 0x1400b1827
mov rcx, rbx
call fcn.1400b4f00
mov rcx, rbx
call fcn.1400b58d0
mov edx, 0x29
mov rcx, rbx
movzx edi, al
lea r8d, [rdx - 0x24]
call fcn.1400b3ec0
test dil, dil
je 0x1400b18aa
jmp 0x1400b18a2
cmp ecx, 0x5e
jne 0x1400b183f
lea rcx, [rbx + 0x40]
call fcn.1400b0bd0
mov rcx, rbx
call fcn.1400b4f00
jmp 0x1400b18aa
cmp ecx, 0x24
jne 0x1400b1857
lea rcx, [rbx + 0x40]
call fcn.1400b0fb0
mov rcx, rbx
call fcn.1400b4f00
jmp 0x1400b18aa
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400b18c3
cmp ecx, 0x3f
je 0x1400b18c3
cmp ecx, 0x7b
je 0x1400b18c3
cmp ecx, 0x7d
jne 0x1400b187c
test dword [rbx + 0x80], 0x10000000
je 0x1400b18df
jmp 0x1400b188d
cmp ecx, 0x5d
jne 0x1400b188d
test dword [rbx + 0x80], 0x10000000
je 0x1400b18ed
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400b0be0
mov rcx, rbx
call fcn.1400b4f00
mov rcx, rbx
call fcn.1400b4f70
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1400b1720
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.1400b3eb0
int3
mov edx, 5
mov rcx, rbx
call fcn.1400b3eb0
int3
mov edx, 6
mov rcx, rbx
call fcn.1400b3eb0
int3
mov edx, 4
mov rcx, rbx
call fcn.1400b3eb0
int3
Function at 0x1400b7760
Capabilities:
Get file version info

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x20
cmp byte [rcx + 0x20], 0
mov rdi, rdx
mov rbp, rcx
jne 0x1400b783b
cmp qword [rdx + 0x18], 8
mov rcx, rdx
mov dword [rsp + 0x50], 0
jb 0x1400b778e
mov rcx, qword [rdx]
lea rdx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
je 0x1400b783b
mov r9, qword [rbp + 0x10]
mov ecx, r14d
mov r8, qword [rbp + 8]
mov rdx, r9
sub rdx, r8
mov qword [rsp + 0x58], rsi
cmp r14, rdx
jae 0x1400b77c8
lea rax, [r8 + r14]
mov qword [rbp + 0x10], rax
jmp 0x1400b7809
jbe 0x1400b7809
mov rax, qword [rbp + 0x18]
sub rax, r8
cmp rcx, rax
jbe 0x1400b77e9
mov rdx, rcx
lea r8, [rsp + 0x40]
lea rcx, [rbp + 8]
call fcn.140096834
jmp 0x1400b7809
sub rcx, rdx
mov qword [rsp + 0x48], rbx
lea rbx, [rcx + r9]
mov rcx, r9
mov rdx, rbx
call fcn.140080994
mov qword [rbp + 0x10], rbx
mov rbx, qword [rsp + 0x48]
cmp qword [rdi + 0x18], 8
jb 0x1400b7813
mov rdi, qword [rdi]
mov r9, qword [rbp + 8]
mov r8d, r14d
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoW
mov rsi, qword [rsp + 0x58]
cmp eax, 1
sete al
mov byte [rbp + 0x20], al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
xor al, al
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400be270
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400be3e0
test rbx, rbx
je 0x1400be3e0
mov rcx, rdx
call fcn.1400be400
cmp rbp, rax
jb 0x1400be3e0
xor edx, edx
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r9d, edx
cmp rsi, 2
jbe 0x1400be349
lea r8, [rdi + 2]
nop dword [rax]
movzx eax, byte [r8 - 2]
add rdx, 4
shr rax, 2
add r9, 3
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx ecx, byte [r8 - 2]
movzx eax, byte [r8 - 1]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 1], al
movzx ecx, byte [r8 - 1]
movzx eax, byte [r8]
and ecx, 0xf
shr rax, 6
shl rcx, 2
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 2], al
movzx eax, byte [r8]
add r8, 3
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [rbx + 3], al
mov rax, r8
sub rax, rdi
add rbx, 4
cmp rax, rsi
jb 0x1400be2d0
add rdi, r9
sub rsi, r9
test sil, 2
je 0x1400be3a4
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx ecx, byte [rdi]
movzx eax, byte [rdi + 1]
and ecx, 3
shr rax, 4
shl rcx, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [rbx + 1], al
movzx eax, byte [rdi + 1]
and eax, 0xf
movzx eax, byte [r10 + rax*4]
mov byte [rbx + 2], al
mov byte [rbx + 3], 0x3d
add rbx, 4
add rdx, 4
mov byte [rbx], 0
lea rax, [rdx + 1]
jmp 0x1400be3e2
test sil, 1
je 0x1400be3d7
movzx eax, byte [rdi]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [rbx], al
movzx eax, byte [rdi]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [rbx + 1], al
mov word [rbx + 2], 0x3d3d
add rbx, 4
add rdx, 4
mov byte [rbx], 0
lea rax, [rdx + 1]
jmp 0x1400be3e2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret