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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x1400208b0
test ecx, ecx
jne 0x140020900
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x1400208bc
test ecx, ecx
jne 0x140020900
mov rcx, rdi
call fcn.140020760
movzx eax, al
test bpl, bpl
jne 0x140020907
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x1400208f3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140020a78]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x1400208f3.2
xor eax, eax
test bpl, bpl
je 0x1400208cc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140020a59
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14002093a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x1400209b9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140020980
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14002099b
inc rax
dec rdi
cmp rax, 1
jne 0x140020960
jmp 0x1400209b9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14002099b
cmp ebx, 0x5c
je 0x14002099b
inc rax
dec rdi
cmp rax, 1
jne 0x140020980
jmp 0x1400209b9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140020a67
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x1400209e3
mov al, 9
cmp rdx, 2
je 0x1400209e7
cmp rdx, 1
jne 0x1400209f7
cmp byte [r8], 0x2e
jne 0x1400209f7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x1400209f7
mov al, 0xa
jmp 0x1400209f7
cmp byte [r8], 0x2e
jne 0x1400209f7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x1400208f3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x1400208f3.2
mov ecx, 2
jmp case.0x1400208f3.2
lea r8, str.library_std_srcpath.rs
call fcn.14003c680
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14003c680
ud2
Function at 0x1400247e0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x140064e90]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002484c
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x14002485b
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140024893
cmp eax, 0x103
je 0x14002489d
test eax, eax
js 0x140024878
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140024893
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x140064ef0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14001b430
mov rcx, rax
call fcn.14001b570
mov ecx, 7
int 0x29
ud2
Function at 0x140025000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4f0
mov rbx, rdx
mov rsi, rcx
mov eax, dword [rdx + 0x10]
movzx ebp, word [rdx + 0x40]
movzx r15d, word [rdx + 0x42]
movzx r12d, word [rdx + 0x44]
mov dword [rdx + 0x10], 0
cmp eax, 1
jne 0x14002505c
mov r14, qword [rbx]
cmp bp, 0x2e
jne 0x140025150
test r15w, r15w
je 0x14002505c
cmp r15w, 0x2e
jne 0x140025150
test r12w, r12w
jne 0x140025150
lea r14, [rsp + 0x80]
mov r8d, 0x250
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdi, qword [rbx + 8]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140025135
mov r14, qword [rbx]
lea rbx, [rsp + 0x80]
mov r15, qword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1400250b1
mov rcx, rdi
mov rdx, rbx
call r15
test eax, eax
je 0x140025135
cmp word [rsp + 0xac], 0x2e
jne 0x1400250da
movzx eax, word [rsp + 0xae]
test ax, ax
je 0x1400250a0
cmp ax, 0x2e
jne 0x1400250da
cmp word [rsp + 0xb0], 0
je 0x1400250a0
lock inc qword [r14]
jle 0x140025239
mov rdi, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x30], xmm0
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x40], eax
movzx ebp, word [rsp + 0xac]
movzx r15d, word [rsp + 0xae]
movzx r12d, word [rsp + 0xb0]
lea rdx, [rsp + 0xb2]
jmp 0x14002517b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400251c7
mov qword [rsi], 0
jmp 0x140025227
lock inc qword [r14]
jle 0x140025239
lea rdx, [rbx + 0x46]
mov rdi, qword [rbx + 0x14]
mov eax, dword [rbx + 0x3c]
mov dword [rsp + 0x40], eax
movups xmm0, xmmword [rbx + 0x2c]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rbx + 0x1c]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x70], eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x2d2]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400251da
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
xor r14d, r14d
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rdi
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x18], xmm0
movups xmmword [rsi + 0x28], xmm1
mov eax, dword [rsp + 0x70]
mov dword [rsi + 0x38], eax
mov word [rsi + 0x3c], bp
mov word [rsi + 0x3e], r15w
mov word [rsi + 0x40], r12w
lea rcx, [rsi + 0x42]
lea rdx, [rsp + 0x80]
mov r8d, 0x21e
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsi], 1
add rsp, 0x4f0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
Function at 0x14002f790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
movdqa xmmword [rsp + 0x70], xmm6
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14001dfc0
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
test rcx, rcx
je 0x14002f806
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x28]
lea rdx, [rsp + 0x58]
call fcn.14002f940
mov rdi, qword [rsp + 0x28]
test rdi, rdi
je 0x14002f814
movdqu xmm6, xmmword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002f834
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x14002f825
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
call fcn.14001e1b0
mov qword [rsi], 0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
ret
mov qword [rsi], 0
movq rax, xmm6
test rax, rax
je 0x14002f825
mov edx, 2
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rdi
pop rsi
jmp fcn.140009160
Function at 0x1400315c0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14006d238]
mov ecx, 0x10
mov edx, 8
call fcn.1400090d0
test rax, rax
je 0x140031697
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140031a70]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140031689
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140031666
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140009160
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.140009160
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.14003c4f0
ud2
Function at 0x140031f00
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.14003b780
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov qword [rbp + 0xfd8], rdx
mov r14, rcx
lea rsi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
lea r15, [rbp + 0xfe8]
mov qword [rbp + 0xfc8], r15
lea r12, [0x140028970]
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xfb0]
mov rcx, r14
mov rdx, rsi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x1400320ee
mov r13, qword [sym.imp.KERNEL32.dll_SleepEx]
lea rsi, [rbp + 0xfb0]
mov rdi, qword [sym.imp.KERNEL32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r14
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfe8], 0
je 0x140031fc7
cmp dword [rbp + 0xfec], 0
jne 0x140032103
mov ebx, dword [rbp + 0xff0]
test rbx, rbx
je 0x140032103
cmp ebx, 0x1000
ja 0x140032147
xor r14d, r14d
nop dword [rax + rax]
cmp r14, rbx
ja 0x140032133
lea rdx, [r14 + rbp]
add rdx, 0xffffffffffffffb0
mov r8d, ebx
sub r8d, r14d
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov rcx, qword [rbp + 0xfd8]
mov r9, rsi
call rdi
test eax, eax
je 0x1400320f6
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r13
cmp dword [rbp + 0xfe8], 0
je 0x140032070
cmp dword [rbp + 0xfec], 0
jne 0x1400320fc
mov eax, dword [rbp + 0xff0]
add r14, rax
cmp r14, rbx
jne 0x140032010
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r15
mov qword [rsp + 0x20], r12
mov r14, qword [rbp + 0xfe0]
mov rcx, r14
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x140031fc7
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140032103
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [rbp + 0xfe0]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call rsi
mov rcx, qword [rbp + 0xfd8]
call rsi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, r14
mov rdx, rbx
call fcn.14003c970
jmp 0x14003215b
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov rcx, rbx
call fcn.14003c700
ud2
Function at 0x1400321e0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14003221f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140021dd0]
mov qword [rbp - 0x28], rax
lea rax, [0x140065358]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.14003c5c0
ud2

Function at 0x140033ff0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400340f7
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx + 8]
test rax, rax
jne 0x140034028
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400340e0
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400340c2
sub rax, rdx
add rdx, qword [rbx]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003407e
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003409b
jmp 0x140034090
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x140034096
cmp eax, 0x6d
jne 0x1400340b2
mov byte [rsi + 1], 0
jmp 0x1400340a6
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x1400340a8
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14003df30
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
jmp 0x140034035
mov r8d, 0x10
mov rcx, rbx
call fcn.14003df30
mov rax, qword [rbx + 8]
jmp 0x140034028
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14003e120
ud2
Function at 0x140037cb0
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x16
call fcn.14001dfc0
mov rax, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
test rax, rax
je 0x140037d56
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.140024900
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
test rdi, rdi
je 0x140037d56
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140037d31
test rsi, rsi
je 0x140037d2d
mov edx, 2
mov rcx, rdi
call fcn.140009160
xor esi, esi
jmp 0x140037d56
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140037d53
mov edx, 2
mov rcx, rdi
call fcn.140009160
mov rsi, rbx
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003b2c0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push rbx
sub rsp, 0x30
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r9, [0x140066588]
lea rcx, [0x140066578]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14003b2f9
mov edx, eax
lea rcx, str.CoCreateInstance_for_INetFwPolicy2_failed:_0x_08lx_n
call fcn.14003b718
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x14003bf70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003bfba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003bfba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003bfba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003bfba
cmp dword [rcx + 0x84], 0xe
jbe 0x14003bfba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003bfbc
xor al, al
add rsp, 0x28
ret
Function at 0x140003fc0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
call fcn.140003770
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005a90
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400059e0
Capabilities:
Get geographical location

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

Function at 0x140006574
Capabilities:
Parse pe header

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

Disassembly:
bswap rbp
push r12
movabs r12, 0x4f191d0b0b011b6a
push rsi
mov rbp, qword [rsp + 0x20]
mov qword [rsp + 0x20], 0xfffffffffbab1c34
Function at 0x1400026ac
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400b7f40]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
mov r9d, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx]
call fcn.1400029e0
mov r15d, eax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x18]
mov rsi, r14
mov rsi, qword [rsi]
cmp qword [rsi + 0x30], 0
je 0x140002725
lea rdx, [0x140097708]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000272a
cmp r14, rsi
jne 0x140002706
mov r9d, 0xa
lea r14d, [r9 + 2]
mov r8d, r14d
lea rdx, [0x140097728]
mov rcx, rdi
call fcn.1400029e0
mov dword [rsp + 0x20], 0xa
mov r9d, r14d
mov r8d, eax
mov rdx, qword [rsi + 0x30]
mov rcx, rdi
call fcn.140002a98
mov rcx, qword [rdi + 8]
call rax
mov rdx, rax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x10]
mov r8d, r15d
mov rcx, rdi
call fcn.140002a98
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x88], 0
lea rcx, [rsp + 0x40]
call fcn.140001a24
test al, al
je 0x1400027bc
lea rcx, vtable.std::_Func_impl_no_alloc_long_int____cdecl___struct_HWND______ptr64__int__void____ptr64__unsigned_long_int__char____ptr64___long_int__struct_HWND______ptr64__int__void____ptr64__unsigned_long_int__char____ptr64_.0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x88], rcx
neg al
sbb rcx, rcx
lea rax, [rsp + 0x50]
and rcx, rax
mov qword [rbx + 0x38], 0
je 0x14000280e
lea rax, [rsp + 0x50]
cmp rcx, rax
jne 0x14000280a
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov qword [rbx + 0x38], rax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14000280e
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x14000280e
mov qword [rbx + 0x38], rcx
mov rax, rbx
jmp 0x140002818
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006e190
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400029e0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
mov r11d, r8d
cmp r8d, 4
jl 0x140002a20
mov r10d, r8d
shr r10, 2
mov eax, r10d
neg eax
lea r8d, [r8 + rax*4]
imul eax, dword [rdx], 0x5bd1e995
add rdx, 4
imul r9d, r9d, 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
xor r9d, ecx
sub r10, 1
jne 0x1400029f9
xor ecx, ecx
sub r8d, 1
je 0x140002a44
sub r8d, 1
je 0x140002a3b
cmp r8d, 1
jne 0x140002a49
movzx ecx, byte [rdx + 2]
shl ecx, 0x10
movzx eax, byte [rdx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [rdx]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul r8d, r11d, 0x5bd1e995
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
imul eax, r9d, 0x5bd1e995
xor ecx, eax
mov eax, r8d
shr eax, 0x18
xor eax, r8d
imul edx, ecx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor edx, eax
mov eax, edx
shr eax, 0xd
xor eax, edx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x140002a98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r10d, r9d
mov rbx, rdx
movsxd rax, dword [rdx + 0x3c]
mov r14d, dword [rax + rdx + 0x88]
add r14, rdx
mov r15d, dword [r14 + 0x20]
add r15, rdx
mov r12d, dword [r14 + 0x24]
add r12, rdx
or esi, 0xffffffff
xor edi, edi
mov r13d, dword [r14 + 0x18]
sub r13d, 1
je 0x140002b20
mov edx, dword [r15]
add rdx, rbx
mov r9d, dword [rsp + 0x80]
mov r8d, r10d
call fcn.1400029e0
cmp dword [rsp + 0x70], eax
je 0x140002b1b
inc edi
add r15, 4
cmp edi, r13d
mov r10d, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
jb 0x140002ae8
jmp 0x140002b20
movzx esi, word [r12 + rdi*2]
mov ecx, dword [r14 + 0x1c]
add rcx, rbx
cmp esi, ecx
jbe 0x140002b2f
xor eax, eax
jmp 0x140002b39
mov eax, dword [rcx + rsi*4]
add rax, rbx
jmp 0x140002b39
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400042d4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1400b7f40]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
mov r9d, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx]
call fcn.1400029e0
mov r15d, eax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r14, qword [rcx + 0x18]
mov rsi, r14
mov rsi, qword [rsi]
cmp qword [rsi + 0x30], 0
je 0x14000434d
lea rdx, [0x140097708]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140004352
cmp r14, rsi
jne 0x14000432e
mov r9d, 0xa
lea r14d, [r9 + 2]
mov r8d, r14d
lea rdx, [0x140097728]
mov rcx, rdi
call fcn.1400029e0
mov dword [rsp + 0x20], 0xa
mov r9d, r14d
mov r8d, eax
mov rdx, qword [rsi + 0x30]
mov rcx, rdi
call fcn.140002a98
mov rcx, qword [rdi + 8]
call rax
mov rdx, rax
mov eax, dword [rdi + 0x14]
mov dword [rsp + 0x20], eax
mov r9d, dword [rdi + 0x10]
mov r8d, r15d
mov rcx, rdi
call fcn.140002a98
mov rdi, rax
mov qword [rsp + 0x40], rax
and qword [rsp + 0x88], 0
lea rcx, [rsp + 0x40]
call fcn.140001a24
test al, al
je 0x1400043e4
lea rcx, [0x140097b08]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x88], rcx
neg al
sbb rcx, rcx
lea rax, [rsp + 0x50]
and rcx, rax
mov qword [rbx + 0x38], 0
je 0x140004436
lea rax, [rsp + 0x50]
cmp rcx, rax
jne 0x140004432
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov qword [rbx + 0x38], rax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140004436
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
jmp 0x140004436
mov qword [rbx + 0x38], rcx
mov rax, rbx
jmp 0x140004440
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006e190
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret