joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14003fc80]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14003fc90]
mov dword [rax], 1
mov rax, qword [0x14003fca0]
mov dword [rax], 1
mov rax, qword [0x14003fc20]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14003fc70]
mov dword [0x140043020], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14003fd50]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14003fd30]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14003fbd0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140035d50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140035dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400430b4]
mov rbx, rcx
test esi, esi
jle 0x140035ef0
mov rax, qword [0x1400430b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140035e0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140035e95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140035df0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140035f12
mov rax, qword [0x1400430b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400430b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140035ef7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140035e8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140035ea0
add dword [0x1400430b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400430b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140035e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140035e18
mov rax, qword [0x1400430b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140036480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140043120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140043100]
test rbx, rbx
je 0x1400364dc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400364d3
test rsi, rsi
je 0x1400364d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400364b8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400366f0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140036708
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140036710
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140036720
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14003676d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140036764
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14003676f
add rax, 0x28
cmp rax, r9
jne 0x140036750
xor eax, eax
ret

Function at 0x140036770
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140036800
mov rdx, qword [0x14003fc20]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400367ee
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400367ee
cmp word [rax + 0x18], 0x20b
jne 0x1400367ee
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140036800
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400367d9
add rbx, 0x28
cmp rbx, rdi
je 0x140036800
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400367d0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140036810
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003fc20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140036830
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140036838
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140036830
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14003688d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140036884
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140036830
add rax, 0x28
cmp rax, r9
jne 0x140036870
xor eax, eax
ret

Function at 0x140036890
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003fc20]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400368af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400368b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400368af
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400368d0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14003fc20]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400368f0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400368f8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400368f0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140036940
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140036937
test rcx, rcx
je 0x1400368f0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140036928
xor eax, eax
ret

Function at 0x140036950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14003fc20]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14003696f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140036978
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140036990
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14003fc20]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400369b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400369b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400369b0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400369b0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140036a04
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140036a10
add rdx, 0x28
cmp r9, rdx
jne 0x1400369f0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140036a20
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14003fc20]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140036a42
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140036a50
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140036a42
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140036a42
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140036a42
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140036aa5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140036ab8
add rdx, 0x28
cmp rdx, r10
jne 0x140036a90
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140036ac7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140036ad7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140036aae
test ecx, ecx
jg 0x140036ac0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
cmp ecx, 3
jne 0x14000116b
mov rcx, qword [rbx + 8]
lea rdx, str.order
call fcn.140002eec
test eax, eax
jne 0x14000116b
mov rcx, qword [rbx + 0x10]
lea r8d, [rax + 1]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x10000000
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001111
mov rdx, qword [rbx + 0x10]
lea rcx, str.Error_opening_file:__s_n
call fcn.140001010
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400011b0
add rsp, 0x50
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x70], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov edx, eax
mov r8d, 0x1000
mov ebx, eax
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rdx, rax
mov r8d, ebx
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call rdi
mov rdi, qword [rsp + 0x70]
xor eax, eax
jmp 0x1400010f9
mov rdx, qword [rbx]
lea rcx, str.Usage:_uziwin_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400011b0
add rsp, 0x50
pop rbx
ret

Function at 0x140005330
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000515c
Function at 0x180002ea0
Capabilities:
Download url
Receive data

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180063088]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov edi, r9d
mov rsi, r8
mov r12, rdx
mov rbx, rcx
lea r15d, [r9 + 5]
cmp r9d, r15d
jae 0x18000308c
xor r13d, r13d
mov ebp, dword [rsp + 0x38]
mov r14, qword [rsp + 0x38]
nop
mov eax, edi
sub eax, 0x95
je 0x180003020
sub eax, 5
je 0x180003004
sub eax, 5
je 0x180002fe4
sub eax, 1
je 0x180002f46
cmp eax, 1
jne 0x18000307c
lea r8, [rbx + 0x180]
xor r9d, r9d
lea edx, [rax + 0x4c]
xor ecx, ecx
call fcn.18001f920
jmp 0x18000307c
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
xor r8d, r8d
lea rdx, [0x1800587bf]
lea rcx, [rsp + 0x48]
call fcn.1800203a0
nop
lea r8, [rbx + 0xb8]
mov edx, 0x50
lea rcx, [rsp + 0x48]
call fcn.1800116d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180002fc2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002fbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800030bd
call fcn.18002c4e4
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9d, ebp
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, r14
call qword [sym.imp.urlmon.dll_URLDownloadToCacheFileW]
jmp 0x18000307c
mov r14, r13
mov qword [rbx], rsi
mov qword [rbx + 0xa8], r12
mov ebp, 0x104
lea rdx, [rbx + 0xb0]
call fcn.180007460
jmp 0x18000307c
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x18000308c
mov ecx, dword [rsi]
nop
cmp dword [rax], ecx
je 0x180003088
add rax, 8
cmp rax, qword [rbx + 8]
jne 0x180003010
jmp 0x18000307c
mov dword [rsp + 0x30], 0xfa
mov r9d, 0x7c
lea r8, [rsp + 0x38]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18000bf80
mov eax, dword [rsp + 0x38]
cmp eax, 1
jne 0x18000305d
mov r9, rbx
xor r8d, r8d
mov edx, 0xad
xor ecx, ecx
call fcn.1800068e0
jmp 0x18000307c
cmp eax, 2
jne 0x18000307c
mov dword [rsp + 0x20], 0x11b
xor r9d, r9d
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1800054b0
inc edi
cmp edi, r15d
jae 0x18000308c
jmp 0x180002f00
mov byte [rax + 4], 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.18002c4c0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180033a84
int3
Function at 0x180011d50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
lea r15d, [rdx + 0x154]
mov r14, r9
mov rdi, r8
mov ebp, edx
mov rsi, rcx
cmp edx, r15d
jae 0x180011ddf
xor r12d, r12d
mov eax, ebp
sub eax, 0x9c
je 0x180011db3
sub eax, 8
je 0x180011e39
sub eax, 0x44
je 0x180011da7
cmp eax, 0x44
jne 0x180011e86
mov eax, 1
jmp 0x180011de3
mov rax, qword [r14]
add qword [rdi + 8], rax
jmp 0x180011e86
mov ebx, 0x87
nop dword [rax + rax]
mov eax, ebx
sub eax, 0x87
je 0x180011e24
sub eax, 1
je 0x180011dfd
cmp eax, 1
jne 0x180011e2f
cmp qword [0x1800657b8], r12
setne byte [rsp + 0x78]
mov eax, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], r12
lea r8, [0x180006b30]
mov r9, rdi
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1800657b8], rax
jmp 0x180011e2f
mov qword [0x180065788], rdi
mov qword [rdi + 0x70], rsi
inc ebx
cmp ebx, 0x8a
jb 0x180011dc0
mov rax, qword [r14]
add rax, qword [rdi + 8]
cmp qword [rdi + 0x10], rax
jae 0x180011e66
add rax, 5
lea rdx, [rsp + 0x30]
mov r8, rdi
mov qword [rsp + 0x30], rax
mov ecx, 0x106
call fcn.18001ca80
cmp eax, 1
jne 0x180011e97
mov rcx, qword [rdi + 8]
mov rdx, rsi
add rcx, qword [rdi]
mov r8, qword [r14]
call fcn.1800331c0
mov rcx, qword [rdi + 8]
add rcx, qword [rdi]
mov rax, qword [r14]
mov byte [rcx + rax], r12b
add ebp, 0x44
cmp ebp, r15d
jb 0x180011d80
jmp 0x180011ddf
mov eax, r12d
jmp 0x180011de3

Function at 0x180012ea0
Capabilities:
Manipulate user privileges

Disassembly:
xor r8d, r8d
mov rdx, rcx
lea ecx, [r8 + 0x31]
jmp fcn.18000c560

Function at 0x180012eb0
Capabilities:
Get memory capacity

Disassembly:
mov rdx, rcx
mov r9d, 0xc8
xor ecx, ecx
xor r8d, r8d
jmp fcn.180017b70
Function at 0x180014200
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx esi, byte [rsp + 0x68]
lea eax, [rdx + 6]
mov dword [rsp + 0x78], eax
mov r13d, edx
mov r15, rcx
cmp edx, eax
jae case.0x18001425e.298
mov r12, qword [rsp + 0x70]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x70]
lea eax, [r13 - 0x11d]
lea rdx, [0x180000000]
cmp eax, 0xd
ja case.0x18001425e.287
mov ecx, dword [rdx + rax*4 + 0x143c8]
add rcx, rdx
jmp rcx
mov r8, qword [r15 + 0x140]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
jmp case.0x18001425e.287
xor r12d, r12d
mov rbp, 0xffffffffffffffff
xor r14d, r14d
nop dword [rax]
inc rbp
cmp byte [r15 + rbp], r12b
jne 0x180014290
jmp case.0x18001425e.287
mov rdi, qword [r15]
mov sil, 1
mov rbx, qword [rdi]
cmp rbx, rdi
je case.0x18001425e.287
mov eax, dword [rbx + 0x20]
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov dword [rsp + 0x68], eax
mov r9, r15
lea ecx, [r8 + 0x66]
call fcn.18001f640
and sil, al
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800142fa
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800142f5
cmp rbx, qword [rax + 0x10]
jne 0x1800142f5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800142e2
mov rbx, rax
jmp 0x18001431f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x18001431f
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180014310
cmp rbx, rdi
jne 0x1800142b0
jmp case.0x18001425e.287
xor edx, edx
cmp r12, rbp
jae 0x180014385
mov r13d, 0x11e
movsx r8d, byte [r12 + r15]
mov ecx, r8d
sub ecx, 9
je 0x180014371
sub ecx, 1
je 0x180014371
sub ecx, 3
je 0x180014371
sub ecx, 0x13
je 0x180014371
cmp ecx, 2
jne 0x180014376
test edx, edx
je 0x18001436a
cmp edx, 1
jne 0x180014376
xor edx, edx
cmp byte [r12 + r15 - 1], 0x5c
sete dl
jmp 0x180014376
mov edx, 1
jmp 0x180014376
cmp edx, 1
jne 0x18001437d
mov byte [r14 + r15], r8b
inc r14
inc r12
cmp r12, rbp
jb 0x180014333
mov byte [r14 + r15], 0
jmp case.0x18001425e.287
cmp dword [rsp + 0x70], 0xb7
je 0x1800143bd
inc r13d
cmp r13d, dword [rsp + 0x78]
jb 0x18001423d
mov rbx, qword [rsp + 0x60]
movzx eax, sil
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x18001bc70
Capabilities:
Check for software breakpoints

Disassembly:
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf8
jmp fcn.180009cf0
Function at 0x180022480
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800224b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800224a0
ret
Function at 0x140002680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400026b4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400026a0
ret
Function at 0x140008470
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 0x14000853c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000853c
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 0x140008555
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 0x14000852c
cmp byte [rax], 0x5c
jne 0x140008526
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140008526
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140008512
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140008523
test r8b, 0x10
jne 0x140008526
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140008526
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140004920
test edi, edi
jne 0x140008490
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.140004910
int3
Function at 0x14000a5f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14, [0x140036028]
mov qword [rsp + 0x28], r14
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [0x140036028], rbp
mov qword [0x140036030], rbp
lea ecx, [rbp + 0x60]
call fcn.140025d20
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140036028], rax
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
lea r8d, [rbp + 2]
lea rdx, [0x14002a2dc]
lea rcx, [rsp + 0x40]
call fcn.14000bdd0
nop
mov esi, 0x41
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
mov word [rax], si
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x14000a757
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.14000bb10
mov rcx, qword [rax]
add rcx, 0x40
lea rax, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14000a710
mov rax, qword [rcx + 0x18]
cmp rdx, rax
ja 0x14000a74d
mov rdi, rcx
cmp rax, 7
jbe 0x14000a72f
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], bp
jmp 0x14000a757
lea r9, [rsp + 0x60]
call fcn.14000bf00
inc si
cmp si, 0x5a
jbe 0x14000a6b0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000a7a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a7a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a7a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025d64
mov rax, r14
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140025d00
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret