joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18013bff4
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 0x18013c024
xor eax, eax
jmp 0x18013c0e7
mov rbp, rbx
cmp word [rax], si
je 0x18013c049
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18013c030
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18013c02c
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.18013a8c8
movsxd r14, eax
test eax, eax
jne 0x18013c087
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18013c01d
mov rcx, r14
call fcn.180135738
mov rdi, rax
test rax, rax
jne 0x18013c0a0
xor ecx, ecx
call fcn.180132130
jmp 0x18013c07c
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.18013a8c8
test eax, eax
jne 0x18013c0d1
mov rcx, rdi
call fcn.180132130
jmp 0x18013c0db
xor ecx, ecx
call fcn.180132130
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 0x18013ed4c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.18013054c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x18013eded
cmp ebx, dword [rsp + 0x30]
je 0x18013ede6
test esi, esi
je 0x18013ede6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18013edc1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18013edce
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x18013edab
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18013edd2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x18013edef
mov eax, 1
jmp 0x18013edef
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180142bdc
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.180121d38
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x180142c66
cmp byte [rbp - 0x21], r15b
je 0x180142c61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x180142c9c
call fcn.1801327c0
test eax, eax
jne 0x180142c88
cmp byte [rbp - 0x21], r15b
je 0x180142c80
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x180142c9c
cmp byte [rbp - 0x21], r15b
je 0x180142c99
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.180121bbc
test eax, eax
jne 0x180142d3c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180121d38
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x180142cdb
cmp byte [rbp - 0x21], r15b
je 0x180142d10
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x180142d10
call fcn.1801327c0
test eax, eax
jne 0x180142cfc
cmp byte [rbp - 0x21], r15b
je 0x180142cf5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x180142d10
cmp byte [rbp - 0x21], r15b
je 0x180142d0d
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.180121bbc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x180142d3c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x180142d3f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x180142d4d
mov rcx, rdi
call fcn.180132130
cmp byte [rbp + 0x3f], r15b
je 0x180142d5c
mov rcx, qword [rbp + 0x27]
call fcn.180132130
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 0x180143bd4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1801354d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1801354d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180143d24
cmp rax, 0xffffffffffffffff
je 0x180143d24
xor edi, edi
test rbp, rbp
jle 0x180143ccf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180132480
mov rbx, rax
test rax, rax
jne 0x180143c5c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180143cc5
mov edx, 0x8000
mov ecx, r14d
call fcn.180143a58
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1801341bc
cmp eax, 0xffffffff
je 0x180143ca5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180143c6c
mov edx, r15d
mov ecx, r14d
call fcn.180143a58
jmp 0x180143cc5
cmp byte [rsi + 0x38], dil
je 0x180143cbc
cmp dword [rsi + 0x34], 5
jne 0x180143cbc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180143cc5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180132130
jmp 0x180143d38
jns 0x180143d38
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1801354d4
cmp rax, 0xffffffffffffffff
jne 0x180143cf0
cmp byte [rsi + 0x30], dil
je 0x180143d38
mov edi, dword [rsi + 0x2c]
jmp 0x180143d38
mov ecx, r14d
call fcn.180136fc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180143d38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180143d38
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180143d31
mov eax, dword [rsi + 0x2c]
jmp 0x180143d36
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1801354d4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1801446b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1801446d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1801446d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14004102c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14008c110]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400410a1
cmp byte [rcx + 0x71], 0
je 0x1400410a1
or edx, 0xffffffff
call fcn.140040110
cmp eax, 0xffffffff
je 0x1400410f6
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140062ace.0]
test eax, eax
je 0x1400410bc
sub eax, 1
je 0x1400410c0
cmp eax, 2
jne 0x1400410f6
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14004d060
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400410ed
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.14005672c
cmp rdi, rax
jne 0x1400410f6
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400410a3
xor al, al
jmp 0x1400410a3

Function at 0x140042e0c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140042c67
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140042c67
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140042c67
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140042c67
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140042c67
cmp dword [rcx + 0x84], 0xe
jbe 0x140042c67
cmp dword [rcx + 0xf8], 0
je 0x140042c67
mov ecx, ebx
call fcn.140042d14
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140042ae4
cmp dword [rbp + 0x20], 0
je 0x140042cb4
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140042cc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140042c00

Function at 0x14004d6e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14008d110], eax
call fcn.14004d3dc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14008d110], 0
jne case.default.0x14004d73e
mov ecx, 1
call fcn.14004d3dc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
cli
invalid
jnp 0x1400f797a
pushfq
jp 0x1400f7984
invalid
mov esp, ds
je 0x1400f792a
fcom qword [rbx + 0x12]
mov esi, 0x816419f8
insb byte [rdi], dx
js 0x1400f79da
or dword fs:[rsi + 0x6c], 0xbe2f5078
invalid
invalid
mov dh, al
invalid
Function at 0x140001478
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov eax, dword [rsp + 0x78]
lea edi, [r8 - 0x2d24]
mov ebp, dword [rsp + 0x70]
mov rbx, rdx
xor ebp, 0xdf5
lea r10d, [rax - 0x2272]
lea esi, [rax + 0xb8]
mov r15d, r10d
lea eax, [rcx + 0x266]
cmp edi, eax
jg 0x1400014e0
mov eax, dword [0x1400120a4]
cmp dword [rdx + 0xcc], eax
je 0x140001573
add dword [rdx + 0x60], 0xe9bd357b
jmp 0x140001573
mov eax, edi
and eax, 0x220e
cmp dword [rdx + 0x100], eax
jae 0x140001573
mov rax, qword [section..data]
mov ecx, dword [rax + 0x40]
xor ecx, dword [0x140012158]
imul ecx, dword [rdx + 0xa4]
cmp esi, ecx
je 0x140001573
lea r14d, [rsi - 0x2272]
mov eax, dword [0x140012050]
xor r10d, 0x220e
mov r9d, dword [0x1400120dc]
and eax, 0x202
and r9d, r15d
and r10d, ebp
or eax, 0x2460
and r9d, 0x29eb
mov r8d, r10d
mov dword [rsp + 0x20], eax
mov edx, r14d
mov rcx, rbx
call fcn.140005184
mov rcx, qword [section..data]
add esi, 4
mov r10d, eax
mov edx, dword [rcx + 0x40]
xor edx, dword [0x140012158]
imul edx, dword [rbx + 0xa4]
cmp esi, edx
jne 0x140001515
mov rbx, qword [rsp + 0x50]
xor edi, 0x28c4
mov rbp, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140002c8c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ecx, dword [rsp + 0x68]
lea ebx, [r9 - 0x256c]
mov r15d, edx
lea r14d, [r8 - 0x23f7]
xor r15d, 0xe03
lea ebp, [rcx - 0x3c7]
xor ecx, 0xfd2
lea eax, [rbp + 0x652]
cmp ebx, eax
jge 0x140002d60
mov eax, ebx
xor eax, 0x2272
cmp r14d, eax
jg 0x140002d24
mov rdx, qword [rsp + 0x60]
mov r8d, dword [rdx + 0x44]
jmp 0x140002d1c
mov eax, 0xce66ee
sub eax, dword [0x140012088]
sub eax, dword [rdx + 0x11c]
add dword [rdx + 0x50], eax
mov eax, r8d
mov rcx, qword [section..data]
imul eax, r8d
add dword [rcx + 0x124], eax
inc r8d
cmp r8d, dword [rdx + 0x48]
jbe 0x140002cf1
jmp 0x140002d60
mov rdi, qword [rsp + 0x60]
mov eax, dword [rdi + 0x1c]
xor eax, ebp
cmp ebx, eax
ja 0x140002d60
movsxd rsi, ecx
movsxd rax, ebx
and rsi, rax
mov edx, dword [rdi + 0x128]
mov rcx, rsi
imul edx, dword [rdi + 0xbc]
sub edx, r14d
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov eax, dword [rdi + 0x1c]
add ebx, 2
xor eax, ebp
cmp ebx, eax
jbe 0x140002d3b
mov rbx, qword [rsp + 0x40]
lea eax, [r15 + 0x106]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140002f70
Capabilities:
Encrypt data using rc4 prga

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, 0x30
movzx eax, word [0x1400251e0]
lea ebp, [rdx + 1]
mov r9, qword [0x140025210]
mov rsi, r8
mov r14, qword [0x140025220]
inc r9
imul eax, ebp
mov qword [0x140025210], r9
movzx edi, cx
movsxd r10, eax
mov rax, qword [0x140025258]
inc rax
mov qword [0x140025258], rax
or r14, rax
lea rax, [r9 + r9*2]
mov ecx, dword [r8 + rax*8]
mov eax, dword [0x140025260]
xor ecx, 0x310
cdq
idiv ecx
mov rax, qword [0x1400251b8]
mov word [0x1400251e0], dx
movzx edx, byte [r10]
mov bl, byte [rax + rdx*4]
dec dl
mov rax, qword [0x1400251f0]
movzx r9d, dl
movsxd r11, dword [rax + 0x440]
movsxd rax, dword [0x140025228]
add r11, qword [0x140025218]
mov rdx, r11
movzx ecx, byte [rax + 0xef]
movzx eax, byte [rsp + 0x68]
sub eax, ecx
mov byte [r10], r9b
movsxd r8, eax
mov cl, bl
lea rax, [r10 + r9*2]
movzx r9d, byte [r9 + rax + 2]
mov eax, edi
sub eax, r9d
movsxd r9, eax
mov rax, qword [0x140025258]
lea r10, [rax + rax*2]
mov rax, qword [0x1400251e8]
mov r10d, dword [rax + r10*4]
mov dword [rsp + 0x28], r10d
mov qword [rsp + 0x20], 0x3f
call fcn.14000227c
mov r9d, dword [0x1400251cc]
mov dword [0x1400251f8], eax
mov edx, dword [rsi + 0x770]
cmp edx, r9d
jle 0x1400030b5
mov r8, qword [0x140025210]
mov rcx, qword [0x140025220]
mov eax, edi
inc edx
sub eax, dword [r14 + r8*4 + 0x20]
sub eax, 0x1a98
cdqe
sub rax, rcx
mov qword [0x140025220], rax
mov rcx, rax
cmp edx, r9d
jg 0x140003093
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400030d4
Capabilities:
Get hostname

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 r12
push r14
push r15
sub rsp, 0x30
lea ebx, [rcx - 0xb03]
mov esi, ecx
mov eax, ebx
lea r14d, [rcx - 0x2e2a]
mov ebp, r9d
lea r15d, [r9 - 0x13a]
xor eax, 0x64b
lea r12d, [r9 - 0x2b2a]
xor esi, 0xd0d
xor ebp, 0x2da
xor ecx, 0x2e2a
mov rdi, r8
cmp ecx, eax
jge 0x1400032db
mov eax, r12d
xor eax, 0x2662
cmp esi, eax
jg 0x1400032db
lea eax, [r15 - 0x7e2]
cmp r14d, eax
je 0x14000322e
add dword [r8 + 0x158], 0x1d1946
mov eax, dword [r8 + 0xa8]
mov ecx, dword [r8 + 0x5c]
add eax, 0x243
add ecx, eax
add dword [r8 + 0x12c], ecx
mov rax, qword [section..data]
mov ecx, dword [rax + 0x170]
xor ecx, dword [r8 + 0xcc]
add ecx, 0x1bc2eb
mov dword [r8 + 0x140], ecx
mov eax, dword [r8 + 4]
sub eax, dword [r8 + 0x94]
xor eax, 0xd79
sub dword [r8 + 0x12c], eax
mov rdx, qword [section..data]
cmp dword [rdx + 0x98], 0xbbdf
jae 0x1400031d9
mov eax, dword [r8 + 0x8c]
sub eax, 0x1ada869e
mov dword [r8 + 0xbc], eax
jmp 0x1400031f0
mov ecx, dword [r8 + 0x8c]
sub ecx, dword [rdx + 0x78]
add ecx, dword [r8 + 0x74]
mov eax, dword [rdx + 0x24]
imul eax, ecx
mov dword [rdx + 0x24], eax
mov eax, dword [r8 + 0xa8]
cmp dword [r8 + 0x70], eax
jne 0x14000320c
xor dword [0x140012180], 0xf568a
jmp 0x1400032db
mov eax, dword [r8 + 0x158]
xor eax, dword [0x1400120dc]
mov rcx, qword [section..data]
sub eax, dword [0x140012150]
add dword [rcx + 0x50], eax
jmp 0x1400032db
mov ecx, dword [r8 + 0x10]
sub ecx, 0x26ea
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [rdi + 0xf0]
imul eax, r14d
cmp dword [0x140012168], eax
jne 0x1400032db
sub ebx, dword [rdi + 0xd0]
and ebx, esi
cmp dword [rdi + 0x144], ebx
ja 0x1400032db
mov rax, qword [section..data]
lea r8, [0x140012010]
mov ecx, dword [rdi + 0x3c]
xor r14d, 0x2d24
xor ecx, dword [rdi + 0x14]
imul ebp, r12d
or r14d, dword [rax + 0x40]
mov eax, dword [0x140012138]
mov edx, r14d
imul eax, r15d
mov r9d, ebp
mov dword [rsp + 0x20], eax
call fcn.140003bc0
imul ecx, r15d, 0x29eb
movsxd rbx, eax
movsxd rcx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [section..data]
mov edx, dword [rdi + 0xc8]
and edx, dword [0x140012014]
movsxd rax, r12d
sub edx, dword [rcx + 0x144]
mov rcx, rbx
or rcx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rbx, qword [rsp + 0x50]
lea eax, [r15 - 0x12c]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x140003308
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, dword [rsp + 0x70]
lea r13d, [r8 - 0x28c4]
mov eax, r13d
lea r12d, [rcx + 0x88]
mov ebp, r9d
lea esi, [r8 - 0x6b6]
mov ebx, ecx
xor eax, 0x29eb
xor ebp, 0x29f0
xor r15d, 0x15f
xor ebx, 0xb46
mov rdi, rdx
cmp r15d, eax
je 0x14000338d
xor esi, 0xbe5
cmp ebx, esi
jl 0x1400033c6
mov rax, qword [section..data]
lea rcx, [0x140012010]
xor ebx, 0x627
mov qword [rax + 0x130], rcx
jmp 0x1400033c6
mov ecx, dword [0x140012034]
mov r14d, ebp
mov eax, ecx
imul eax, esi
cmp ebp, eax
jbe 0x1400033c6
or r12d, 0x232a
cmp dword [rdi + 0xc], r12d
jne 0x1400033b8
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x140012034]
mov eax, ecx
add r14d, 2
imul eax, esi
cmp r14d, eax
ja 0x1400033a6
mov eax, r13d
xor eax, 0x232a
cmp ebx, eax
je 0x140003488
lea eax, [rbp + 0x2662]
cmp r15d, eax
jle 0x140003467
xor edx, edx
mov rcx, qword [rdi + 0x110]
mov eax, dword [rdi + 0xc0]
xor dword [rdx + rcx], eax
add rdx, 4
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x11c]
add dword [rcx + 0x74], eax
mov eax, dword [0x140012180]
add eax, 0xfff0a976
xor dword [rdi + 0x3c], eax
mov eax, dword [rdi + 0xd0]
add dword [rdi + 0x5c], eax
mov eax, dword [rdi + 0xac]
or dword [0x14001212c], eax
mov eax, dword [rdi + 0x120]
add dword [0x1400120d0], eax
mov eax, dword [rdi + 0x5c]
sub eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x100]
inc eax
xor dword [rdi + 0x8c], eax
mov eax, dword [0x14001201c]
dec eax
add ecx, eax
mov dword [0x14001201c], ecx
cmp rdx, 0x10658
jl 0x1400033e7
mov rax, qword [section..data]
cmp dword [rax + 0xac], 0x11c
je 0x140003488
mov rax, qword [rdi + 0x110]
mov qword [rdi + 0xd8], rax
mov rbx, qword [rsp + 0x50]
lea eax, [r13 + 0x2b03]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400034ac
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebp, dword [rsp + 0x80]
lea esi, [r8 - 0x733]
xor ebp, 0xbee
mov dword [rsp + 0x80], esi
mov ebx, edx
lea r14d, [r8 + 0x300]
xor ebx, 0x500
xor r8d, 0xdc0
mov rdi, rcx
lea eax, [rbp + 0x30f]
cmp r8d, eax
je 0x1400035fd
lea eax, [rbp + 0x9fa]
cmp ebx, eax
je 0x140003547
mov rax, qword [section..data]
xor ecx, ecx
mov r8d, 0x3000
mov r9d, dword [rax + 0x5c]
mov edx, dword [rax + 0x38]
add r9d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x2800
mov qword [rdi + 0x110], rax
jmp 0x1400035ec
mov eax, ebx
mov r15d, r14d
imul eax, dword [rcx + 0xfc]
cmp r14d, eax
jbe 0x1400035ec
mov eax, dword [rdi + 0xa8]
mov r12d, dword [rdi + 0x16c]
sub eax, 0x193
cmp r12d, eax
jne 0x1400035d0
mov r13d, ebx
movsxd rsi, ebp
and r13d, ebp
xor rsi, 0x256c
mov r9d, dword [rdi + 0x118]
mov edx, ebx
mov r8d, dword [rdi + 0x5c]
sub r9d, ebx
sub r8d, dword [rdi + 0xa0]
or r9d, 0x220e
sub edx, dword [rdi + 0xb0]
sub r8d, 0x273d
mov rcx, rsi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_UnlockFile]
mov eax, dword [rdi + 0xa8]
add r12d, 2
sub eax, 0x193
cmp r12d, eax
je 0x140003583
mov eax, ebx
inc r15d
imul eax, dword [rdi + 0xfc]
cmp r15d, eax
ja 0x14000355c
mov esi, dword [rsp + 0x80]
lea eax, [r14 - 0x43a]
cmp esi, eax
jge 0x1400035fd
add esi, 0x175
mov rbx, qword [rsp + 0x60]
lea eax, [rsi + 0x17e]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140003764
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, dword [rsp + 0xa8]
lea ebp, [r8 - 0x28c4]
add r12d, 0xd0
lea eax, [rbp + 0x29f0]
xor r8d, 0x12f
mov dword [rsp + 0x98], r12d
lea r10d, [rcx - 0x113]
mov rbx, rdx
mov dword [rsp + 0x80], r10d
lea edi, [rcx - 0x7d9]
lea r14d, [rcx - 0x70c]
lea esi, [r9 + 0x6fe]
cmp r8d, eax
jg 0x1400037fc
mov rdx, qword [section..data]
cmp dword [rdx + 0xc], 0x16b1a
ja 0x140003920
mov ecx, dword [rdx + 0xf8]
mov eax, dword [rdx + 0x78]
add ecx, 0x16eefe
imul eax, ecx
mov dword [rdx + 0x78], eax
jmp 0x140003920
mov eax, edi
sub eax, esi
cmp dword [rdx + 0x15c], eax
jae 0x140003920
mov rcx, qword [section..data]
mov r15d, r12d
mov dword [rsp + 0xa8], r12d
mov eax, dword [rcx + 0x40]
or eax, ebp
xor eax, 0x256c
cmp r12d, eax
jbe 0x140003920
mov edx, dword [0x1400120b8]
xor edx, esi
mov r12d, dword [rcx + 0x88]
cmp r12d, edx
jbe 0x1400038f2
mov r15d, dword [rsp + 0x80]
mov r13d, edi
or r13d, ebp
imul eax, r14d, 0x2d24
mov dword [rsp + 0x90], eax
mov ecx, dword [0x140012090]
sub ecx, esi
xor rcx, r15
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, qword [section..data]
lea ecx, [rsi - 0x2b2a]
mov r9d, dword [0x140012180]
and ecx, ebp
mov r8d, dword [rbx + 0x3c]
or r9d, 0x29f0
add r8d, r13d
imul r9d, edi
mov edx, dword [rax + 0x74]
mov eax, r14d
sub eax, esi
sub edx, 0x23f7
mov dword [rsp + 0x30], eax
and edx, edi
mov dword [rsp + 0x28], r8d
lea rax, [0x140012010]
mov r8d, dword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call fcn.1400068b8
mov edx, dword [0x1400120b8]
add r12d, 4
xor edx, eax
mov esi, eax
cmp r12d, edx
ja 0x140003865
mov rcx, qword [section..data]
mov r15d, dword [rsp + 0xa8]
mov eax, dword [rcx + 0x40]
inc r15d
or eax, ebp
mov dword [rsp + 0xa8], r15d
xor eax, 0x256c
cmp r15d, eax
ja 0x140003839
mov r12d, dword [rsp + 0x98]
mov r10d, dword [rsp + 0x80]
lea eax, [rdi + 0x9fa]
cmp esi, eax
jg 0x140003977
mov eax, r14d
xor eax, 0x1f9
cmp r10d, eax
je 0x140003977
cmp dword [rbx + 0xb8], 0x127f1
jbe 0x140003958
mov edx, dword [rbx + 0x100]
add edx, 0x2aa93
add edx, dword [rbx + 0x50]
mov dword [rbx + 0x140], edx
lea r9d, [r14 + 0x733]
mov dword [rsp + 0x20], esi
lea edx, [rdi + 0x59a]
mov r8, rbx
lea ecx, [rdi + 0xb00]
call fcn.140002854
mov eax, r12d
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret