joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002d480
Capabilities:
Get geographical location

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x60]
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0
nop
xor ebx, ebx
nop dword [rax]
add ebx, 1
mov eax, ebx
lea rdx, [0x100156de0]
lea rcx, [rdx + rax*8 - 8]
xor edx, edx
call fcn.100008da0
mov eax, ebx
lea rdx, [0x100156e20]
mov dword [rdx + rax*4 - 4], 0xffffffff
cmp ebx, 7
jl 0x10002d4a0
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
lea r8, [rbp - 0xc]
mov ecx, esi
mov r9d, 0xb
mov edx, 0x100b
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x10002d554
nop
mov byte [rsp + 0x20], 1
lea rdx, [rbp - 0xc]
xor r9d, r9d
mov r8d, 0xa
lea rcx, [rbp - 0x18]
call fcn.1000098c0
mov rcx, qword [rbp - 0x18]
mov edx, 1
call fcn.10001f9f0
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x10002d554
lea rcx, [0x10002d320]
mov r8d, ebx
mov edx, esi
mov r9d, 4
call sub.kernel32.dll_EnumCalendarInfoA
lea rcx, [0x10002d3d0]
mov r8d, ebx
mov edx, esi
mov r9d, 3
call sub.kernel32.dll_EnumCalendarInfoA
nop dword [rax]
nop
mov rcx, rbp
call fcn.10002d460
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret

Function at 0x10002dc10
Capabilities:
Query environment variable

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x70]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov rbx, rcx
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
nop
lea rcx, [rbp - 0x18]
call fcn.10001f430
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.100008da0
lea rcx, [rbp - 8]
mov r8b, 1
mov edx, 1
call fcn.10000a8c0
mov rcx, rbx
xor edx, edx
call fcn.100008da0
call sub.kernel32.dll_GetEnvironmentStringsA
mov rsi, rax
mov rdi, rsi
jmp 0x10002dd55
mov rdx, rdi
lea rcx, [rbp - 0x10]
xor r8d, r8d
call fcn.100009810
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x10002dcbc
mov rax, qword [rax - 8]
mov r13d, eax
lea rcx, [rbp - 0x10]
xor r8b, r8b
mov edx, 1
call fcn.10000a8c0
mov rdx, qword [rbp - 0x10]
mov r8d, 1
mov ecx, 0x3d
call fcn.10000a190
mov r12d, eax
movsxd r9, eax
sub r9, 1
mov rdx, qword [rbp - 0x10]
mov r8d, 1
lea rcx, [rbp - 0x28]
call fcn.100009f80
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x20]
call fcn.10001f430
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 8]
call fcn.100009ca0
test rax, rax
jne 0x10002dd48
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x10002dd2d
mov r9, qword [r9 - 8]
movsxd rax, r12d
sub r9, rax
movsxd rax, r12d
lea r8, [rax + 1]
mov rcx, rbx
mov rdx, qword [rbp - 0x10]
call fcn.100009f80
jmp 0x10002dd5e
movsxd rax, r13d
add rax, rdi
add rax, 1
mov rdi, rax
cmp byte [rdi], 0
jne 0x10002dca0
mov rcx, rsi
call sub.kernel32.dll_FreeEnvironmentStringsA
nop
mov rcx, rbp
call fcn.10002dbd0
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
lea rsp, [rbp]
pop rbp
ret
Function at 0x10002ddd0
Capabilities:
Check os version

Disassembly:
lea rsp, [rsp - 0xb8]
mov qword [0x100156e60], 0
mov dword [rsp + 0x20], 0x94
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetVersionExA
mov eax, dword [rsp + 0x30]
mov dword [0x100156ca0], eax
mov eax, dword [rsp + 0x24]
mov dword [0x100156cb0], eax
mov eax, dword [rsp + 0x28]
mov dword [0x100156cc0], eax
mov eax, dword [rsp + 0x2c]
mov dword [0x100156cd0], eax
lea rdx, [0x100156ce1]
lea rcx, [rsp + 0x34]
mov r8d, pe_nt_image_headers64
call fcn.1000040c0
lea rcx, [rsp + 0x34]
call fcn.100005230
mov byte [0x100156ce0], al
lea rcx, [0x1000e9900]
call sub.kernel32.dll_GetModuleHandleA
mov qword [0x100156e70], rax
test rax, rax
je 0x10002de78
mov rcx, qword [0x100156e70]
lea rdx, [0x1000e9910]
call sub.kernel32.dll_GetProcAddress
mov qword [0x100156e60], rax
nop
cmp dword [0x100156cb0], 6
jae 0x10002de8c
mov dword [0x1000d8670], 0
nop
cmp dword [0x100156cb0], 6
jb 0x10002dea8
cmp dword [0x100156cc0], 1
jb 0x10002dea8
mov dword [0x1000d8680], 2
nop
lea rsp, [rsp + 0xb8]
ret

Function at 0x1000369b0
Capabilities:
Suspend thread

Disassembly:
lea rsp, [rsp - 0x28]
mov rax, rcx
mov dword [rax + 0x10], 0xffffffff
mov ecx, dword [rax + 8]
call sub.kernel32.dll_SuspendThread
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x1000369d0
Capabilities:
Resume thread

Disassembly:
push rbx
lea rsp, [rsp - 0x20]
mov rbx, rcx
mov ecx, dword [rbx + 8]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x1000369f0
mov dword [rbx + 0x10], 0
nop dword [rax]
nop
lea rsp, [rsp + 0x20]
pop rbx
ret
Function at 0x10006e070
Capabilities:
Resolve dns

Disassembly:
push rbx
push rsi
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov rsi, rdx
mov rcx, rbx
xor edx, edx
call fcn.100008da0
xor eax, eax
mov rcx, rsi
test rsi, rsi
jne 0x10006e098
lea rcx, [0x100155470]
call sub.ws2_32.dll_gethostbyname
test rax, rax
je 0x10006e0b4
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov edx, dword [rax]
mov rcx, rbx
call fcn.10006e1e0
nop
nop
lea rsp, [rsp + 0x28]
pop rsi
pop rbx
ret

Function at 0x100076a30
Capabilities:
Connect socket

Disassembly:
lea rsp, [rsp - 0x28]
movsxd rcx, ecx
call sub.ws2_32.dll_connect
nop
lea rsp, [rsp + 0x28]
ret

Function at 0x1000922f0
Capabilities:
Enumerate services

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x90]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rsi
mov qword [rbp - 8], rcx
mov qword [rbp - 0x40], 0
nop
mov rcx, qword [rbp - 8]
call fcn.100092080
mov rdx, qword [str.Query_service_list]
mov rcx, qword [rbp - 8]
call fcn.100092000
mov dword [rbp - 0xc], 0
mov dword [rbp - 0x10], 0
mov dword [rbp - 0x14], 0
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x20], 0
lea rax, [rbp - 0x14]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x78]
mov r9, qword [rbp - 0x20]
mov r8d, 3
mov edx, 0x30
call fcn.1000927d0
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
je 0x100092398
call fcn.10002bdd0
nop
mov edx, dword [rbp - 0xc]
lea rcx, [rbp - 0x20]
call fcn.100010b30
nop
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0xc]
mov dword [rsp + 0x20], eax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x78]
mov r9, qword [rbp - 0x20]
mov r8d, 3
mov edx, 0x30
call fcn.1000927d0
test eax, eax
jne 0x1000923f4
call fcn.10002bdd0
mov ebx, dword [rbp - 0x10]
cmp ebx, 1
jl 0x100092488
mov dword [rbp - 0x34], 0
nop
add dword [rbp - 0x34], 1
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
call fcn.100031090
mov rdx, rax
lea rcx, [0x1001119b0]
call fcn.10000d960
mov qword [rbp - 0x30], rax
mov rsi, qword [rbp - 0x28]
mov rdx, qword [rsi]
lea rcx, [rbp - 0x40]
call fcn.100028a80
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 0x28]
call fcn.100008da0
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x40]
call fcn.100028a80
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x30]
lea rcx, [rax + 0x30]
call fcn.100008da0
mov rcx, qword [rbp - 0x30]
lea rdx, [rsi + 0x10]
call fcn.100092760
add qword [rbp - 0x28], 0x30
cmp ebx, dword [rbp - 0x34]
jg 0x100092408
nop dword [rax]
nop
mov rcx, rbp
call fcn.1000922b0
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 8]
mov rax, qword [rax]
call qword [rax + 0x1c0]
nop
mov rcx, rbp
call fcn.1000922d0
mov rbx, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x48]
lea rsp, [rbp]
pop rbp
ret
Function at 0x100097f10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0x40]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rsi
mov rbx, rcx
mov rsi, rdx
mov qword [rbp - 8], 0
nop
mov rax, qword [0x1001563a0]
test rax, rax
je 0x100097f4a
mov ecx, dword [0x100158910]
call rax
jmp 0x100097f51
lea rax, [0x100158918]
mov word [rax], 0
lea rdx, [rbx + 0x78]
lea rcx, [rbp - 8]
mov r8d, 0xff
call fcn.10000d2c0
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x100097f79
lea rcx, [0x100155470]
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100097fb3
call sub.kernel32.dll_GetLastError
mov edi, eax
mov rax, qword [0x1001563a0]
test rax, rax
je 0x100097fa2
mov ecx, dword [0x100158910]
call rax
jmp 0x100097fa9
lea rax, [0x100158918]
mov word [rax], di
mov word [rsi], 0
jmp 0x100097fbd
mov eax, ebx
and eax, 0xffff
mov word [rsi], ax
nop
mov rcx, rbp
call fcn.100097ef0
mov rbx, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x10]
lea rsp, [rbp]
pop rbp
ret

Function at 0x100098030
Capabilities:
Hash data with crc32

Disassembly:
test rdx, rdx
jne 0x100098038
xor eax, eax
ret
xor ecx, 0xffffffff
jmp 0x10009817c
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 8
cmp r8d, 8
jae 0x100098040
jmp 0x1000981b3
movzx r9d, byte [rdx]
xor r9d, ecx
and r9d, 0xff
mov r10d, ecx
shr r10d, 8
lea r11, [0x1000dd830]
xor r10d, dword [r11 + r9*4]
mov ecx, r10d
add rdx, 1
sub r8d, 1
test r8d, r8d
ja 0x100098188
xor ecx, 0xffffffff
mov eax, ecx
ret
Function at 0x100099020
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x10009906f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x10009906f
cmp dword [rax + 0x8c], 0
jne 0x10009906f
mov esi, r14d
jmp 0x100099148
cmp esi, 0xffffffff
jne 0x10009907f
sub esi, 1
jmp 0x100099148
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x100099148
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.1000040c0
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000990f8
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000990ff
mov word [r12], 0
sub edi, 1
jne 0x1000990d8
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x100099138
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x10009913f
mov word [r12], 0
sub edi, 1
jne 0x100099118
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000991e8
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.100098bf0
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000991cc
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000991e8
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x100099038
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000a3610
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xb0]
mov qword [rbp - 0x88], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 8], r8
mov dword [rbp - 0x10], r9d
mov rax, qword [rbp - 8]
lea rdi, [rbp - 0x78]
mov rsi, rax
mov ecx, 7
rep movsq qword [rdi], qword [rsi]
cmp qword [rbp - 0x18], 1
jne 0x1000a3660
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x68]
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1000a382b
nop
nop
mov qword [rbp - 0x40], 0xffffffffffffffff
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 8]
lea rcx, [0x1000de9c0]
mov r8d, 0x48
call fcn.1000040c0
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 0x50]
lea rcx, [0x1000dea10]
mov r8d, 0x1000
call fcn.1000040c0
mov dword [rbp - 0x28], 0
mov dword [rbp - 0x24], 0xffffffff
nop
add dword [rbp - 0x24], 1
mov dword [rbp - 0x30], 0
mov dword [rbp - 0x2c], 0xffffffff
nop word [rax + rax]
add dword [rbp - 0x2c], 1
mov eax, dword [rbp - 0x28]
movzx edx, byte [rbp + rax - 0x78]
mov eax, dword [rbp - 0x30]
shl eax, 8
or edx, eax
mov dword [rbp - 0x30], edx
add dword [rbp - 0x28], 1
mov eax, dword [rbp - 0x28]
cmp eax, dword [rbp - 0x10]
jl 0x1000a36fc
mov dword [rbp - 0x28], 0
nop
cmp dword [rbp - 0x2c], 3
jl 0x1000a36d0
mov r8, qword [rbp - 0x20]
mov edx, dword [rbp - 0x24]
mov eax, edx
mov ecx, dword [r8 + rax*4 + 8]
mov eax, dword [rbp - 0x30]
xor eax, ecx
and edx, edx
mov dword [r8 + rdx*4 + 8], eax
cmp dword [rbp - 0x24], 0x11
jl 0x1000a36b8
mov dword [rbp - 0x38], 0
mov dword [rbp - 0x34], 0
mov dword [rbp - 0x24], 0
nop
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x20]
call fcn.1000a3840
mov rcx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x24]
mov edx, dword [rbp - 0x38]
mov dword [rcx + rax*4 + 8], edx
mov rax, qword [rbp - 0x20]
movsxd rdx, dword [rbp - 0x24]
mov ecx, dword [rbp - 0x34]
mov dword [rax + rdx*4 + 0xc], ecx
add dword [rbp - 0x24], 2
cmp dword [rbp - 0x24], 0x11
jle 0x1000a3738
mov dword [rbp - 0x28], 0xffffffff
nop dword [rax + rax]
add dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 0
nop dword [rax + rax]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x20]
call fcn.1000a3840
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x28]
shl rax, 0xa
mov ecx, dword [rbp - 0x24]
lea rax, [rdx + rax + 0x50]
mov edx, dword [rbp - 0x38]
mov dword [rax + rcx*4], edx
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x28]
shl rax, 0xa
movsxd rcx, dword [rbp - 0x24]
lea rax, [rdx + rax + 0x54]
mov edx, dword [rbp - 0x34]
mov dword [rax + rcx*4], edx
add dword [rbp - 0x24], 2
cmp dword [rbp - 0x24], 0xff
jle 0x1000a3788
cmp dword [rbp - 0x28], 3
jl 0x1000a3778
mov qword [rbp - 0x40], 1
cmp qword [rbp - 0x20], 0
je 0x1000a382b
cmp qword [rbp - 0x18], 0
je 0x1000a382b
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
call qword [rax + 0x88]
nop
jmp 0x1000a382b
mov rax, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x88]
mov rsi, qword [rbp - 0x80]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000a3840
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
mov r10d, dword [rdx]
mov ebx, dword [rdx + 4]
mov eax, 0xffffffff
nop word [rax + rax]
add eax, 1
mov r8d, eax
mov r9d, r10d
xor r9d, dword [rcx + r8*4 + 8]
mov r10d, r9d
mov r8d, r10d
mov r9d, r8d
and r9d, 0xff
shr r8d, 8
mov esi, r8d
and esi, 0xff
shr r8d, 8
mov edi, r8d
and edi, 0xff
shr r8d, 8
and r8d, 0xff
lea r12, [rcx + 0x50]
and r8d, 0xff
and edi, 0xff
mov r13d, dword [r12 + r8*4]
mov r8d, dword [r12 + rdi*4 + 0x400]
add r8d, r13d
mov edi, r8d
and esi, 0xff
xor edi, dword [rcx + rsi*4 + 0x850]
mov r8d, edi
mov esi, r8d
and r9d, 0xff
add esi, dword [rcx + r9*4 + 0xc50]
mov r8d, esi
xor r8d, ebx
mov ebx, r8d
mov r11d, r10d
mov r10d, ebx
mov ebx, r11d
cmp eax, 0xf
jl 0x1000a3858
xor r10d, dword [rcx + 0x48]
xor ebx, dword [rcx + 0x4c]
mov dword [rdx], ebx
mov dword [rdx + 4], r10d
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000a3910
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
mov r10d, dword [rdx]
mov ebx, dword [rdx + 4]
mov eax, 0x12
nop word [rax + rax]
sub eax, 1
mov r8d, eax
mov r9d, r10d
xor r9d, dword [rcx + r8*4 + 8]
mov r10d, r9d
mov r8d, r10d
mov r9d, r8d
and r9d, 0xff
shr r8d, 8
mov esi, r8d
and esi, 0xff
shr r8d, 8
mov edi, r8d
and edi, 0xff
shr r8d, 8
and r8d, 0xff
lea r12, [rcx + 0x50]
and r8d, 0xff
and edi, 0xff
mov r13d, dword [r12 + r8*4]
mov r8d, dword [r12 + rdi*4 + 0x400]
add r8d, r13d
mov edi, r8d
and esi, 0xff
xor edi, dword [rcx + rsi*4 + 0x850]
mov r8d, edi
mov esi, r8d
and r9d, 0xff
add esi, dword [rcx + r9*4 + 0xc50]
mov r8d, esi
xor r8d, ebx
mov ebx, r8d
mov r11d, r10d
mov r10d, ebx
mov ebx, r11d
cmp eax, 2
jg 0x1000a3928
xor r10d, dword [rcx + 0xc]
xor ebx, dword [rcx + 8]
mov dword [rdx], ebx
mov dword [rdx + 4], r10d
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000d5c40
Capabilities:
Access the windows event log

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xa0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r15
mov rsi, rcx
mov edi, edx
mov r14, r8
mov edx, edi
mov rcx, rsi
call fcn.1000d6040
mov bx, ax
mov edx, edi
mov r12, rsi
mov rcx, r12
call fcn.1000d6090
mov esi, eax
mov edx, edi
mov rcx, r12
call fcn.1000d60d0
mov r13w, ax
mov rax, r14
test r14, r14
jne 0x1000d5ca9
lea rax, [0x100155470]
mov qword [rbp - 8], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov ecx, dword [r12 + 0x68]
mov r9d, esi
movzx r8d, bx
movzx edx, r13w
call sub.advapi32.dll_ReportEventA
test eax, eax
jne 0x1000d5d50
mov al, byte [r12 + 0x79]
or al, al
setne al
and eax, 0xff
neg eax
je 0x1000d5d50
call sub.kernel32.dll_GetLastError
mov r15d, eax
mov qword [rsp + 0x20], 0
mov dword [rbp - 0x10], r15d
mov qword [rbp - 0x18], 0
lea r9, [rbp - 0x18]
mov r8, qword [str.Failed_to_log_entry__error__d_]
mov edx, 1
lea rcx, [0x10012cc48]
call fcn.10002b200
mov rcx, rax
lea rdx, [0x1000d5d0b]
mov r8, rbp
call fcn.100016920
nop
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x140002f10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x1400065e0], rbx
je 0x140002f5c
cmp rax, rbx
jne 0x140002f4f
mov ebx, 1
mov esi, ebx
jmp 0x140002f61
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140002f34
mov ebx, 1
mov eax, dword [0x1400065e8]
cmp eax, ebx
jne 0x140002f77
mov ecx, 0x1f
call fcn.140096000
jmp 0x140002fdc
mov eax, dword [0x1400065e8]
test eax, eax
jne 0x140002fd6
mov dword [0x1400065e8], ebx
lea r15, [0x1400043f8]
lea rdi, [0x1400043e0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140002fc8
test eax, eax
jne 0x140002fcc
cmp qword [rdi], 0
je 0x140002fbd
mov rax, qword [rdi]
mov rcx, qword [0x1400043c0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140002f9e
test eax, eax
je 0x140002fdc
mov eax, 0xff
jmp 0x1400030b8
mov dword [0x140006024], ebx
mov eax, dword [0x1400065e8]
cmp eax, ebx
jne 0x140003003
lea rdx, [0x1400043d8]
lea rcx, [0x1400043c8]
call sub.msvcrt.dll__initterm
mov dword [0x1400065e8], 2
test esi, esi
jne 0x140003010
xor eax, eax
xchg qword [0x1400065e0], rax
cmp qword [0x1400065f0], 0
je 0x140003044
lea rcx, [0x1400065f0]
call fcn.1400032c0
test eax, eax
je 0x140003044
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400065f0]
mov r9, qword [0x1400043c0]
call r9
mov r8, qword [0x140006038]
mov rdx, qword [0x140006030]
mov ecx, dword [0x140006028]
call fcn.140002ac4
mov dword [0x140006020], eax
cmp dword [0x140006040], 0
jne 0x140003074
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140006024], 0
jne 0x140003089
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140006020]
jmp 0x1400030b8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140003354
add rsp, 0x28
jmp 0x140002f10

Function at 0x1400031ac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400031f8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400031f0
cmp dword [rcx + 0x3c], edx
jl 0x1400031f0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400031f0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400031f8
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14002b397
Capabilities:
Parse credit card information

Disassembly:
push rbp
push rbx
mov eax, 0x14a8
call fcn.140039ff0
sub rsp, rax
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x1a0]
mov qword [rbp + 0xa50], rax
mov dword [rbp + 0xa4c], 0