joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020fac
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x300
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
cmp dword [0x1400b4260], 0
mov rbx, rcx
jne 0x140021041
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
xor edx, edx
mov r8d, 0x2b0
call fcn.140021ef0
lea r8, [rsp + 0x30]
lea rcx, [0x140038bd8]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea r8, [rsp + 0x30]
lea rcx, [0x140038bd8]
mov r9d, 0x2b8
xor edx, edx
mov dword [rsp + 0x20], 0x4000
mov qword [rbx + 8], rax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [0x1400b4260], 1
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140021e20
add rsp, 0x300
pop rbx
ret

Function at 0x1400210c4
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, rcx
neg r8d
mov rsi, rdx
sbb rcx, rcx
lea r8, [rax + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
neg rcx
neg ecx
xor ebx, ebx
add rcx, 0xffffffff80000001
mov qword [rax + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
add byte [rbx + 0x75c33bf8], cl
invalid
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x58]
lea r9d, [rbx + 1]
add eax, eax
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp edi, ebx
mov rbx, qword [rsp + 0x40]
sete al
add rsp, 0x30
pop rdi
ret

Function at 0x14002115c
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
neg edx
lea r8, [rax + 0x18]
sbb rcx, rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
xor ebx, ebx
neg rcx
mov qword [rax + 0x18], rbx
add rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
cmp eax, ebx
jne 0x1400211b6
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x40]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x38]
cmp edi, ebx
mov rbx, qword [rsp + 0x30]
sete al
add rsp, 0x20
pop rdi
ret
Function at 0x1400211e4
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc70
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0xc60], rax
mov rbx, rcx
xor ecx, ecx
mov esi, edx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x250]
mov r8d, 0x208
mov rcx, rax
call fcn.1400211cc
and dword [rsp + 0x40], 0
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x204
call fcn.140021ef0
xor eax, eax
or r9, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
mov rcx, r9
lea r8, [rsp + 0x250]
repne scasw ax, word [rdi]
mov eax, dword [0x14003be8c]
mov rcx, r9
mov dword [rdi - 2], eax
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
xor edx, edx
movzx eax, word [r8 + rdx]
add rdx, 2
mov word [rdi + rdx - 4], ax
test ax, ax
jne 0x140021273
and dword [rsp + 0x460], 0
xor eax, eax
mov rcx, r9
lea rdi, [rsp + 0x40]
xor edx, edx
mov r8d, 0x7fc
repne scasw ax, word [rdi]
mov rax, qword [str.___bg]
lea rcx, [rsp + 0x464]
mov qword [rdi - 2], rax
mov eax, dword [0x14003be88]
mov dword [rdi + 6], eax
call fcn.140021ef0
neg esi
sbb rcx, rcx
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
neg rcx
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x460]
lea r9, [rsp + 0x38]
mov esi, 1
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 0x400
mov dword [rsp + 0x38], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140021387
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x460]
sub rdx, rax
movzx ecx, word [rax]
movzx edi, word [rax + rdx]
sub ecx, edi
jne 0x140021350
add rax, 2
test edi, edi
jne 0x14002133d
test ecx, ecx
je 0x140021383
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rsp + 0x40]
mov r9d, esi
add eax, eax
xor r8d, r8d
mov rdx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, esi
jmp 0x140021389
xor eax, eax
mov rcx, qword [rsp + 0xc60]
xor rcx, rsp
call fcn.140021e20
lea r11, [rsp + 0xc70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140022b70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400287e8
nop
cmp dword [0x1400b4370], 1
je 0x140022b1c
mov dword [0x1400b436c], 1
mov byte [0x1400b4368], r12b
test ebx, ebx
jne 0x140022b08
mov rcx, qword [0x1400b6520]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140022af5
mov rcx, qword [0x1400b6518]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140022a94
call fcn.140024750
cmp qword [rdi], rax
jne 0x140022a94
jmp 0x140022a7a
cmp rdi, rsi
jb 0x140022af5
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140024750
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1400b6520]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1400b6518]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x140022ad3
cmp r13, rax
je 0x140022af3
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140022a7a
lea rdx, [0x140038a78]
lea rcx, [0x140038a60]
call fcn.1400228c4
lea rdx, [0x140038a88]
lea rcx, [0x140038a80]
call fcn.1400228c4
nop
test r12d, r12d
je 0x140022b2b
mov ecx, 8
call fcn.1400286e8
test r12d, r12d
jne 0x140022b56
mov dword [0x1400b4370], 1
lea ecx, [r12 + 8]
call fcn.1400286e8
mov ecx, r15d
call fcn.140022858
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400229e4

Function at 0x140022b7c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400229e4
Function at 0x140026137
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140051040]
jne 0x140021e3a
rol rcx, 0x10
test cx, 0xffff
jne 0x140021e36
repz ret
ror rcx, 0x10
jmp 0x140026090
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400b4460]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1400b4558]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140026115
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400b4460]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140026137
mov rax, qword [rsp + 0x88]
mov qword [0x1400b4558], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400b44f8], rax
mov rax, qword [0x1400b4558]
mov qword [0x1400b43d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400b44e0], rax
mov dword [0x1400b43c0], 0xc0000409
mov dword [0x1400b43c4], 1
mov rax, qword [0x140051040]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140051048]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400b4458], eax
mov ecx, 1
call fcn.14002c22c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14003c1d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400b4458], 0
jne 0x1400261be
mov ecx, 1
call fcn.14002c22c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14002d8c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140024750
xor ebx, ebx
mov rdi, rax
cmp qword [0x1400b51b8], rbx
jne 0x14002d9ca
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14002da9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002da9f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x14003dcc8]
mov rcx, rsi
mov qword [0x1400b51b8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400b51c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1400b51c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1400b51d8], rax
test rax, rax
je 0x14002d9c1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1400b51d0], rax
jmp 0x14002d9d1
mov rax, qword [0x1400b51d0]
jmp 0x14002d9d8
mov rax, qword [0x1400b51d0]
mov r11, qword [0x1400b51d8]
cmp rax, rdi
je 0x14002da40
cmp r11, rdi
je 0x14002da40
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1400b51d8]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14002da40
test rax, rax
je 0x14002da40
call rsi
test rax, rax
je 0x14002da3a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14002da3a
test byte [rsp + 0x38], 1
jne 0x14002da40
bts ebp, 0x15
jmp 0x14002da7e
mov rcx, qword [0x1400b51c0]
cmp rcx, rdi
je 0x14002da7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002da7e
call rax
mov rbx, rax
test rax, rax
je 0x14002da7e
mov rcx, qword [0x1400b51c8]
cmp rcx, rdi
je 0x14002da7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002da7e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400b51b8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14002da9f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14002daa1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000fc80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x14000fca1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000fcce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000fcd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000fd29
test ecx, ecx
jle 0x14000fd09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000fd29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000fd29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
invalid
Function at 0x14000fd50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000fd72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x14000fd81
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000fda4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000fda6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000fde2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000fe7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000fe1d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000fe5e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000fe7e
cmp rbx, rax
ja 0x14000fe30
test rbx, rbx
je 0x14000fe7e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
and byte [rbx + 0x20247c], al
jne 0x14002cf0e
cmp qword [0x14013d77d], 0
jne 0x14002cf18
jmp 0x14002cf99
mov rcx, qword [0x14013d77d]
call 0x14004b880
xor eax, eax
cmp eax, 1
je 0x14002cf67
mov edx, dword [0x14013df18]
mov rcx, qword [0x14013d77d]
call 0x1400cd240
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cf67
movzx eax, byte [0x14013d6c9]
test eax, eax
jne 0x14002cf63
mov edx, dword [rsp + 0x20]
lea rcx, [0x140118c00]
call 0x140032e90
jmp 0x14002cf99
cmp qword [0x14013d740], 0
je 0x14002cf7d
lea rcx, [0x14013d750]
call 0x14003da20
call 0x140032360
cmp eax, 1
jne 0x14002cf91
mov dword [rsp + 0x20], 0
jmp 0x14002cf99
mov dword [rsp + 0x20], 0x57
xor eax, eax
cmp eax, 1
clc
invalid
je 0x14002cfb5
cmp dword [rsp + 0x20], 0
Function at 0x1400102e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001030d
xor eax, eax
jmp 0x140010479
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010347
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140010347
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140010479
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14001046c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001038a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400103b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140010471
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010424
sub eax, 1
je 0x140010424
cmp eax, 2
jne 0x14001046c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140010471
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140010452
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14001046c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140010471
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140012700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140010d80
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14001a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140010e53
cmp byte [rcx + 0x71], 0
je 0x140010e53
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140010e4f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140010e14
sub eax, 1
je 0x140010e18
cmp eax, 2
jne 0x140010e4f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140012700
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140010e46
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140010e4f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140010dfc
xor al, al
jmp 0x140010dfc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140012700
add rsp, 0x60
pop rbx
ret

Function at 0x140012498
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400124d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400124d7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140012520
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140014580]
cmp byte [rcx + rax], 0
je 0x140012520
dec r8
sub rdx, 1
jne 0x140012506
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001338c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400133d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400133d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400133d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400133d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400133d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400133d8
xor al, al
add rsp, 0x28
ret
Function at 0x140028640
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 0x14002870c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002870c
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 0x140028725
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 0x1400286fc
cmp byte [rax], 0x5c
jne 0x1400286f6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400286f6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400286e2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400286f3
test r8b, 0x10
jne 0x1400286f6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400286f6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14002c740
test edi, edi
jne 0x140028660
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.140029c30
int3

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

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14002d574
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14002d560
ret
Function at 0x140037e30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400f5480]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140037e5d
xor eax, eax
jmp 0x140037fab
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140037e97
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140037e97
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140037fab
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140037f9e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140037eda
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140037ee9
movsx ecx, dil
jmp 0x140037f3d
lea r8, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x41]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x140037f57
sub eax, 1
je 0x140037f57
cmp eax, 2
jne 0x140037f9e
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call fcn.14009dfe4
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140037fa3
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140037f84
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.14009e8d0
cmp rsi, rax
jne 0x140037f9e
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140037fa3
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14008f0b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret