joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002680
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x890], rbx
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x870], rax
lea rax, [0x14001fe28]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x14001fe28]
test rcx, rcx
je 0x1400026cb
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov eax, dword [0x14001fe18]
xor edi, edi
test al, 1
jne 0x14000270f
or eax, 1
mov dword [0x14001fe18], eax
xor edx, edx
mov r8d, 0x412
lea rcx, [0x14001f9f0]
call sub.VCRUNTIME140.dll_memset
mov qword [0x14001fe08], rdi
mov byte [0x14001fe10], dil
lea rcx, [0x1400169a0]
call fcn.1400141ec
nop
cmp byte [0x14001fe10], 0
jne 0x1400028d0
mov byte [0x14001fe10], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x14000277b
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140002776
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000277b
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x14000277b
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140002784
mov eax, dword [0x1400179a0]
mov dword [rcx], eax
lea rax, [rsp + 0x40]
sub rax, 2
nop
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x1400027a0
movups xmm0, xmmword [str.2345Pic]
movups xmmword [rax], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400027c9
mov word [rsp + 0x40], di
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400027f0
test rax, rax
je 0x14000289a
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsp + 0x450]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002830
test rax, rax
je 0x14000289a
lea rcx, [rsp + 0x450]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140002850
mov eax, dword [0x1400179a0]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140002870
movups xmm0, xmmword [str.2345Image.hzv]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400179c8]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400179d0]
mov dword [rcx + 0x18], eax
call fcn.140005a50
lea rcx, [rsp + 0x450]
nop word [rax + rax]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x1400028b0
test rbx, rbx
je 0x1400028d0
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.140005b70
nop
mov rcx, qword [0x14001fe28]
test rcx, rcx
je 0x1400028e2
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x28], rdi
lea rax, [0x14001f9f0]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.140013960
mov rbx, qword [rsp + 0x890]
add rsp, 0x880
pop rdi
ret
Function at 0x140002dc0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x3b0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x90]
call fcn.1400032b0
nop
mov rdx, qword [rsp + 0x3c8]
lea rcx, [rsp + 0x110]
call fcn.140002c00
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r8, qword [rsp + 0x3d0]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.1400034c0
nop
lea rcx, [rsp + 0x110]
call fcn.140002210
lea rcx, [rsp + 0xb0]
call fcn.140004410
movzx eax, al
test eax, eax
je 0x14000303e
lea rax, [rsp + 0x190]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0xb0]
call fcn.1400021e0
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x3e0]
call fcn.1400021e0
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x3d8]
call fcn.1400021e0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x190]
lea r8, [0x1400179d4]
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x190]
test eax, eax
je 0x14000303e
lea rdx, str.Application
lea rcx, [rsp + 0xd0]
call fcn.140003270
nop
mov rdx, qword [rsp + 0x3c8]
lea rcx, [rsp + 0x150]
call fcn.140002c00
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x130]
call fcn.140003dd0
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.1400031e0
nop
lea rcx, [rsp + 0x130]
call fcn.140002210
nop
lea rcx, [rsp + 0x150]
call fcn.140002210
nop
lea rcx, [rsp + 0xd0]
call fcn.140002210
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0xf0]
call fcn.140003270
nop
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x170]
call fcn.140003dd0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
call fcn.1400031e0
nop
lea rcx, [rsp + 0x170]
call fcn.140002210
nop
lea rcx, [rsp + 0xf0]
call fcn.140002210
lea rcx, [rsp + 0x90]
call fcn.140004560
movzx eax, al
test eax, eax
je 0x14000303e
mov edx, 0x10
lea rcx, [rsp + 0x90]
call fcn.140003af0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x3c0]
call fcn.140003240
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xb0]
call fcn.140002210
nop
lea rcx, [rsp + 0x90]
call fcn.140002210
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.140002210
nop
mov rcx, qword [rsp + 0x3d0]
call fcn.140002210
nop
mov rcx, qword [rsp + 0x3d8]
call fcn.140002210
nop
mov rcx, qword [rsp + 0x3e0]
call fcn.140002210
mov rax, qword [rsp + 0x3c0]
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.140013960
add rsp, 0x3b0
pop rdi
ret
Function at 0x140006870
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.140013984
mov qword [rbx], rax
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x118
mov byte [rax], 0
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1400068d7
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013960
add rsp, 0x150
pop rbx
ret
Function at 0x1400095f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov qword [rdx + 0x10], rsi
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000962f
mov rax, qword [rdx]
mov word [rax], si
call fcn.140009700
movzx edi, al
mov byte [rsp + 0x20], al
jmp 0x14000964f
test dil, dil
jne 0x1400096c9
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140009665
mov rax, qword [rbx]
mov word [rax], si
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x207
lea rdx, [rsp + 0x30]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400096a0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400032d0
movzx edi, dil
mov eax, 1
cmp qword [rbx + 0x10], 0
cmovne edi, eax
movzx eax, dil
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013960
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, rcx
jmp 0x1400095f0

Function at 0x1400099a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rdx
mov qword [rsp + 0x28], rdx
xor esi, esi
mov qword [rdx + 0x10], rsi
mov rax, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000962f
mov rax, qword [rdx]
mov word [rax], si
call fcn.140009700
movzx edi, al
mov byte [rsp + 0x20], al
jmp 0x14000964f
test dil, dil
jne 0x1400096c9
mov qword [rbx + 0x10], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140009665
mov rax, qword [rbx]
mov word [rax], si
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x207
lea rdx, [rsp + 0x30]
lea rcx, str.APPDATA
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400096a0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400032d0
movzx edi, dil
mov eax, 1
cmp qword [rbx + 0x10], 0
cmovne edi, eax
movzx eax, dil
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013960
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rdx, rcx
jmp 0x1400095f0
Function at 0x140009b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140009bc5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140009c76
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400189e0]
movdqu xmmword [rsp + 0x38], xmm1
xor esi, esi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140009ca0
test al, al
je 0x140009c1e
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140009c63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009c5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400139c0
movdqa xmm0, xmmword [0x1400189e0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140013960
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14000c5e0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov rbx, rdx
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.14000d110
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], ax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1400102c0
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x40], rax
mov byte [rbp - 0x38], r14b
mov rcx, qword [rbp - 0x50]
test rcx, rcx
jne 0x14000c668
xor dil, dil
jmp 0x14000c686
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14000c67f
xor dil, dil
jmp 0x14000c686
mov byte [rbp - 0x48], 1
mov dil, 1
mov byte [rbp - 0x38], dil
mov byte [rbp - 0x60], 0
lea r9, [rbp - 0x60]
mov r8, rsi
mov rdx, rbx
call fcn.14000c770
test al, al
jne 0x14000c6ba
cmp byte [rbp - 0x60], al
je 0x14000c6ba
cmp qword [rbx + 0x18], 8
jb 0x14000c6b0
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
test dil, dil
je 0x14000c6d2
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000c6ce
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp - 0x48], 0
mov qword [rbp - 0x40], r14
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000c6e9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x50], r14
mov word [rbp - 0x48], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000c732
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c72d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c72d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400139c0
movdqa xmm0, xmmword [0x1400189e0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140013960
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000e770
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x14000e7f0
cmp dword [rsp + 0x24], 6
jb 0x14000e7f0
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140013960
add rsp, 0x150
pop rbx
ret
Function at 0x1400102c0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x140010304
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi], r14
mov word [rsi + 8], r14w
mov qword [rsp + 0x48], r14
mov ecx, 0x58
call fcn.140013984
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rax], r14
mov qword [rax + 8], r14
mov dword [rax + 0x10], 0x18
lea rbp, [rax + 0x28]
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r14w
mov r8d, 0xc
lea rdx, str.Advapi32.dll
lea rcx, [rsp + 0x20]
call fcn.1400032d0
nop
call fcn.14000f390
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.14000f460
mov qword [rbx + 0x50], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400103cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400103c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400103c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400139c0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r14w
mov rdx, rbp
lea rcx, [rsp + 0x48]
call fcn.1400110a0
mov rbx, qword [rsp + 0x48]
mov qword [rbx], rax
cmp qword [rbx], 0
lea rcx, [rbx + 0x10]
jne 0x140010401
mov rcx, r14
cmp qword [rdi + 0x10], 0
je 0x140010414
cmp qword [rdi + 0x18], 8
jb 0x140010417
mov rdi, qword [rdi]
jmp 0x140010417
mov rdi, r14
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi], rax
test rax, rax
je 0x14001043b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14001043b
mov byte [rsi + 9], 1
cmp qword [rsi], 0
setne sil
mov rdi, qword [rbx]
test rdi, rdi
je 0x140010462
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140010475
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbx + 8], r14
mov edx, 0x58
mov rcx, rbx
call fcn.1400139c0
mov qword [rsp + 0x48], r14
movzx eax, sil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013960
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400111ea
Capabilities:
Terminate process

Disassembly:
jmp 0x140012dd0
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]
nop
add rsp, 0x28
ret

Function at 0x140011267
Capabilities:
Write file on windows

Disassembly:
jmp 0x140011850
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
lea rcx, [0x1400220f2]
call fcn.140011375
nop
mov r8d, 0x200
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.1400112bc
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0x10000000
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x228], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x244]
mov r8d, 0x200
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rcx, qword [rbp + 0x228]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac40]
call fcn.140011311
mov eax, edi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.1400111a9
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014120
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014140
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014153
xor al, al
jmp 0x1400141c1
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 0x14001417d
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014191
xor al, al
jmp 0x1400141c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400141a3
xor al, al
jmp 0x1400141c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400141bf
xor al, al
jmp 0x1400141c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140012000
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001139d
movzx eax, al
test eax, eax
jne 0x140012020
mov ecx, 7
call fcn.14001131b
nop
mov byte [rsp + 0x20], 0
call fcn.14001132f
mov byte [rsp + 0x21], al
cmp dword [0x14001d868], 1
jne 0x140012044
mov ecx, 7
call fcn.14001131b
nop
jmp 0x14001209c
cmp dword [0x14001d868], 0
jne 0x140012097
mov dword [0x14001d868], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.140011195
test eax, eax
je 0x140012078
mov eax, 0xff
jmp 0x1400121a1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011325
mov dword [0x14001d868], 2
jmp 0x14001209c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011307
call fcn.140011294
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400120f9
mov rcx, qword [rsp + 0x30]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x1400120f9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112cb
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001212d
mov rcx, qword [rsp + 0x38]
call fcn.140011154
movzx eax, al
test eax, eax
je 0x14001212d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001135c
nop
call fcn.140012250
mov dword [rsp + 0x28], eax
call fcn.140011271
movzx eax, al
test eax, eax
jne 0x14001214c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001215b
call fcn.140011366
nop
xor edx, edx
mov cl, 1
call fcn.140011145
mov eax, dword [rsp + 0x28]
jmp 0x1400121a1
add rsp, 0x68
ret
Function at 0x140025070
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14002513c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002513c
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 0x140025155
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 0x14002512c
cmp byte [rax], 0x5c
jne 0x140025126
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140025126
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140025112
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140025123
test r8b, 0x10
jne 0x140025126
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140025126
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140028cf0
test edi, edi
jne 0x140025090
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140026660
int3

Function at 0x140029760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140029794
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140029780
ret