joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801a3080
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.18019e2b8
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1801a30cb
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1801a30ff
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1801a30ff
call fcn.1801b24dc
xor ebx, ebx
test eax, eax
jne 0x1801a30ed
cmp byte [rbp - 0x48], bl
je 0x1801a30e6
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1801a30ff
cmp byte [rbp - 0x48], bl
je 0x1801a30fd
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1801a2f04
mov esi, eax
test eax, eax
je 0x1801a313b
call fcn.18019c69c
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1801a3194
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1801a2f04
mov edi, eax
test eax, eax
je 0x1801a3177
call fcn.18019c69c
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1801a3186
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.1801b2d94
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1801a3194
mov rcx, qword [rbp - 0x50]
call fcn.1801ae85c
cmp byte [rbp - 8], bl
je 0x1801a31a2
mov rcx, qword [rbp - 0x20]
call fcn.1801ae85c
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1801ac5a8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1801ac617
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1801ac617
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1801ac617
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1801ac617
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1801ac617
cmp dword [rcx + 0x84], 0xe
jbe 0x1801ac617
cmp dword [rcx + 0xf8], 0
je 0x1801ac617
mov ecx, ebx
call fcn.1801ac6c8
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1801ac4a4
nop
cmp dword [rbp + 0x20], 0
je 0x1801ac665
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1801ac670
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1801ac5a8
Function at 0x1801b71a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1801b71b6
mov al, 1
jmp 0x1801b7216
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1801b71c7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1801b7214
mov ecx, dword [rcx + 0x18]
nop
call fcn.1801a8a88
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1801b7214
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1801b7214
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1801b7214
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1801b7216
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1801ba348
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 0x1801ba378
xor eax, eax
jmp 0x1801ba43b
mov rbp, rbx
cmp word [rax], si
je 0x1801ba39d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1801ba384
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1801ba380
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.1801b72f0
movsxd r14, eax
test eax, eax
jne 0x1801ba3db
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1801ba371
mov rcx, r14
call fcn.1801b20cc
mov rdi, rax
test rax, rax
jne 0x1801ba3f4
xor ecx, ecx
call fcn.1801ae85c
jmp 0x1801ba3d0
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.1801b72f0
test eax, eax
jne 0x1801ba425
mov rcx, rdi
call fcn.1801ae85c
jmp 0x1801ba42f
xor ecx, ecx
call fcn.1801ae85c
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 0x1801ba458
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1801ba4df
mov rsi, rbx
cmp word [rax], bp
je 0x1801ba49e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1801ba488
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1801ba484
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1801b20cc
mov rdi, rax
test rax, rax
je 0x1801ba4cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1801dd380
mov rbp, rdi
xor ecx, ecx
call fcn.1801ae85c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801be068
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.1801aec54
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 0x1801be109
cmp ebx, dword [rsp + 0x30]
je 0x1801be102
test esi, esi
je 0x1801be102
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1801be0dd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1801be0ea
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1801be0c7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1801be0ee
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1801be10b
mov eax, 1
jmp 0x1801be10b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1801c1118
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.18019e2b8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1801c11a2
cmp byte [rbp - 0x21], r15b
je 0x1801c119d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1801c11d8
call fcn.1801b24dc
test eax, eax
jne 0x1801c11c4
cmp byte [rbp - 0x21], r15b
je 0x1801c11bc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1801c11d8
cmp byte [rbp - 0x21], r15b
je 0x1801c11d5
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.1801a2f04
test eax, eax
jne 0x1801c1278
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.18019e2b8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1801c1217
cmp byte [rbp - 0x21], r15b
je 0x1801c124c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1801c124c
call fcn.1801b24dc
test eax, eax
jne 0x1801c1238
cmp byte [rbp - 0x21], r15b
je 0x1801c1231
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1801c124c
cmp byte [rbp - 0x21], r15b
je 0x1801c1249
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.1801a2f04
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1801c1278
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1801c127b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1801c1289
mov rcx, rdi
call fcn.1801ae85c
cmp byte [rbp + 0x3f], r15b
je 0x1801c1298
mov rcx, qword [rbp + 0x27]
call fcn.1801ae85c
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 0x1801c22e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1801c2308
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1801c2308
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1801c3e48
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
jmp qword [0x180298708]
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rbx, rcx
nop
mov dword [rbp - 0x30], 0xfba785c3
nop
mov dword [rbp - 0x2c], 0xa9d0cb76
nop
mov dword [rbp - 0x28], 0x2623eea0
nop
mov word [rbp - 0x24], 0x4797
mov byte [rbp - 0x22], 0x83
mov edx, 0x7f029e25
xor ecx, ecx
mov r8d, ecx
mov r9d, 0x269ec3
imul edx, edx, 0x343fd
add edx, r9d
mov eax, edx
shr eax, 0x10
xor byte [rbp + r8 - 0x30], al
inc r8
cmp r8, 0xf
jb 0x1801c3e8b
nop
mov dword [rbp - 0x20], 0x5788468f
nop
mov dword [rbp - 0x1c], 0x6b9f7157
nop
mov dword [rbp - 0x18], 0x406e6587
nop
mov dword [rbp - 0x14], 0x7a03049c
nop
mov dword [rbp - 0x10], 0x561351a8
nop
mov dword [rbp - 0xc], 0x58551e8
nop
mov dword [rbp - 8], 0x5bc37371
nop
mov eax, 0x6a5a
mov word [rbp - 4], ax
mov edx, 0xcacf0d38
imul edx, edx, 0x343fd
add edx, r9d
mov eax, edx
shr eax, 0x10
mov r8d, 0x7fff
and ax, r8w
xor word [rbp + rcx*2 - 0x20], ax
inc rcx
cmp rcx, 0xf
jb 0x1801c3eee
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rax, 6
mov qword [0x180298708], rax
xor edx, edx
lea r8d, [rdx + 8]
mov rcx, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
jmp 0x180015185

Function at 0x1801c3f54
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
and qword [rsp + 0x28], 0
lea r8, [0x1801c40ac]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
add rsp, 0x38
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r11, rdx
mov r9, rcx
mov r10d, dword [rax + rcx + 0x88]
add r10, rcx
mov qword [0x18029b818], r10
cmp dword [r10 + 0x18], r8d
jbe 0x1801c4028
mov edi, dword [r10 + 0x24]
mov esi, dword [r10 + 0x20]
lea rax, [rdi + r8*2]
movzx ebx, word [rax + r9]
lea rax, [rsi + r8*4]
mov edx, dword [rax + r9]
add rdx, r9
mov cl, byte [rdx]
cmp cl, byte [r11]
jne 0x1801c401f
mov rax, r11
sub rdx, r11
test cl, cl
je 0x1801c403a
inc rax
mov cl, byte [rdx + rax]
cmp cl, byte [rax]
je 0x1801c4011
inc r8d
cmp r8d, dword [r10 + 0x18]
jb 0x1801c3ff0
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov eax, dword [r10 + 0x1c]
add rax, r9
mov eax, dword [rax + rbx*4]
add rax, r9
jmp 0x1801c402a

Function at 0x1801c4050
Capabilities:
Access peb ldr_data

Disassembly:
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rdx, qword [rcx + 0x18]
add rdx, 0x20
mov rcx, qword [rdx]
jmp 0x1801c4096
cmp word [rcx + 0x48], 0x18
jne 0x1801c4093
mov rax, qword [rcx + 0x50]
movabs r8, 0x4e00520045004b
cmp qword [rax], r8
je 0x1801c409e
movabs r8, 0x6e00720065006b
cmp qword [rax], r8
je 0x1801c409e
mov rcx, qword [rcx]
cmp rcx, rdx
jne 0x1801c406a
xor eax, eax
ret
mov rax, qword [rcx + 0x20]
ret
Function at 0x1801c61dc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
and dword [rbp - 0x50], 0
lea rbx, [rdx + 9]
and qword [rbp - 0x40], 0
lea rdx, [rbp - 0x38]
xorps xmm0, xmm0
mov qword [rbp - 0x48], rbx
mov rcx, rbx
mov r8d, 0x30
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
mov rdx, qword [rbp - 0x20]
lea r9, [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbx], 0x41e38b49
xor r9d, r9d
mov word [rbx + 4], 0xc35e
mov byte [rbx + 6], 0xcc
mov rdx, qword [rbp - 0x40]
mov r8d, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x48]
test rdx, rdx
jne 0x1801c625c
mov rdx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
inc dword [0x18029b89c]
inc dword [0x18029b8b0]
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rbp
ret

Function at 0x1801c62d4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x10], 0
lea rcx, str.dxgi.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdi, rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
and qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
mov dword [rbp + 0x10], 2
xor r8d, r8d
mov edx, pe_nt_image_headers64
lea rcx, [rbp - 0x20]
call fcn.180004190
lea rbx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rbx, qword [rbp - 0x20]
mov rcx, rbx
call 0x180004554
mov ecx, 0xa97d1513
mov edx, 0x81
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
xor byte [rbx], al
inc rbx
sub rdx, 1
jne 0x1801c6357
mov r8, rdi
lea rcx, [rbp - 0x20]
call fcn.1801c760c
mov qword [0x18029b8e0], rax
test rax, rax
jne 0x1801c642f
nop
mov dword [rbp - 0x20], 0x284904c8
nop
mov dword [rbp - 0x1c], 0xa2d8c95f
nop
mov dword [rbp - 0x18], 0x6df4c0b7
nop
mov dword [rbp - 0x14], 0x1892df5b
nop
mov dword [rbp - 0x10], 0x11bb7d28
nop
mov dword [rbp - 0xc], 0x440e551e
nop
mov word [rbp - 8], 0x2dad
mov ecx, 0xe1353bb9
xor edx, edx
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx - 0x20], al
inc rdx
cmp rdx, 0x1a
jb 0x1801c63cd
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1801c642f
lea rcx, [rax + 0x169d58]
call fcn.180003974
lea rcx, [rax + 0xf0]
call fcn.180003974
mov rcx, rax
call fcn.180003974
test rax, rax
je 0x1801c642f
lea rcx, [rax + 0x40]
call fcn.180003974
mov qword [0x18029b8e0], rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
Function at 0x1801c7364
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
and dword [rbp + 0x70], 0
mov ebx, 0x78
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1801ddb00
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.1801ddb00
lea rax, [rsp + 0x30]
mov qword [rbp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x70], 8
xor r8d, r8d
lea edx, [rbx - 0xd]
lea rcx, [rsp + 0x30]
call fcn.180004190
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rbx, qword [rsp + 0x30]
mov rcx, rbx
call 0x180004364
mov ecx, 0xf2b0cd46
mov edx, 0x6c
mov r14d, 0x269ec3
imul ecx, ecx, 0x343fd
add ecx, r14d
mov eax, ecx
shr eax, 0x10
xor byte [rbx], al
inc rbx
sub rdx, 1
jne 0x1801c7404
and dword [rsp + 0x20], edx
lea r9, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1801c794c
mov dword [0x18029b8d8], eax
xor edi, edi
test eax, eax
jle 0x1801c74c1
lea rbx, [rsp + 0x50]
mov rdx, qword [rbx]
cmp dword [rdx], 0x4ddc8b4c
jne 0x1801c74b7
mov qword [0x18029b8a8], rdx
nop
mov dword [rsp + 0x30], 0xf3c56c8b
nop
mov dword [rsp + 0x34], 0x73248bff
nop
mov dword [rsp + 0x38], 0x527c5512
nop
mov dword [rsp + 0x3c], 0x58f77c73
nop
mov word [rsp + 0x40], 0x2c38
mov ecx, 0x63b6cb45
xor r8d, r8d
imul ecx, ecx, 0x343fd
add ecx, r14d
mov eax, ecx
shr eax, 0x10
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 0x12
jb 0x1801c748b
lea rcx, [rsp + 0x30]
call fcn.180003e5c
mov eax, dword [0x18029b8d8]
inc edi
add rbx, 8
cmp edi, eax
jl 0x1801c7445
lea rax, [rsp + 0x30]
mov qword [rbp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov dword [rbp + 0x70], 6
xor r8d, r8d
lea edx, [r8 + 0x6e]
lea rcx, [rsp + 0x30]
call fcn.180004190
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rbx, qword [rsp + 0x30]
mov rcx, rbx
call 0x180004468
mov ecx, 0xa1b20c99
mov edx, VarBstrFromDisp
imul ecx, ecx, 0x343fd
add ecx, r14d
mov eax, ecx
shr eax, 0x10
xor byte [rbx], al
inc rbx
sub rdx, 1
jne 0x1801c7521
mov dword [rsp + 0x20], 0x17
lea r9, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.1801c794c
mov dword [0x18029b898], eax
xor edi, edi
test eax, eax
jle 0x1801c75ef
lea rbx, [rbp - 0x30]
mov rdx, qword [rbx]
cmp byte [rdx], 0xe8
jne 0x1801c75e1
mov ecx, 0xc085
cmp word [rdx + 5], cx
jne 0x1801c75e1
cmp byte [rdx - 0x4b], 0xcd
je 0x1801c75e1
cmp byte [rdx - 0x4a], 0x2c
je 0x1801c75e1
mov qword [0x18029b8b8], rdx
nop
mov dword [rsp + 0x30], 0x92fe3a2b
nop
mov dword [rsp + 0x34], 0xfcac478b
nop
mov dword [rsp + 0x38], 0x8b98e633
nop
mov word [rsp + 0x3c], 0x269e
mov ecx, 0xc5b29714
xor r8d, r8d
imul ecx, ecx, 0x343fd
add ecx, r14d
mov eax, ecx
shr eax, 0x10
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 0xe
jb 0x1801c75b5
lea rcx, [rsp + 0x30]
call fcn.180003e5c
mov eax, dword [0x18029b898]
inc edi
add rbx, 8
cmp edi, eax
jl 0x1801c7564
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r14
pop rdi
pop rbp
ret
Function at 0x1801cc75c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
xor edi, edi
movaps xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov byte [rbp + 0x20], dil
add rcx, 0x218
lea rdx, [rbp + 0x20]
lea r8d, [rdi + 1]
call fcn.1801cd49c
cmp byte [rbp + 0x20], 3
je 0x1801cc859
lea rcx, [rsi + 0xa60]
mov dword [rbp + 0x20], edi
lea r8d, [rdi + 4]
lea rdx, [rbp + 0x20]
call fcn.1801cd49c
cmp dword [rbp + 0x20], edi
je 0x1801cc859
lea rcx, [rsi + 0xa55]
mov byte [rbp + 0x28], dil
lea r8d, [rdi + 1]
lea rdx, [rbp + 0x28]
call fcn.1801cd49c
lea rcx, [rsi + 0xa54]
mov byte [rbp + 0x20], dil
lea r8d, [rdi + 1]
lea rdx, [rbp + 0x20]
call fcn.1801cd49c
movzx ebx, byte [rbp + 0x20]
lea rcx, [rbx + 0xa40]
add rcx, rsi
call fcn.180007cd0
lea rcx, [rbx + 0xa40]
movaps xmm6, xmm0
add rcx, rsi
call fcn.180007cd0
movss dword [rbp + 0x30], xmm0
cmp byte [rbp + 0x28], dil
je 0x1801cc868
lea rcx, [rsi + 0xa50]
mov dword [rbp + 0x20], edi
lea r8d, [rdi + 4]
lea rdx, [rbp + 0x20]
call fcn.1801cd49c
mov edx, dword [rbp + 0x20]
lea rcx, [rbp + 0x30]
lea eax, [rdi + rdx]
inc edi
and eax, 0x3f
lea r8, [0x18029b770]
mov al, byte [rax + r8]
xor byte [rcx], al
inc rcx
cmp edi, 4
jb 0x1801cc835
movss xmm6, dword [rbp + 0x30]
jmp 0x1801cc868
lea rcx, [rsi + 0xa70]
call fcn.180007cd0
movaps xmm6, xmm0
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801cf158
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov r10, rcx
mov rdx, qword [rcx]
mov edx, dword [rdx]
lea rcx, [rbp - 0x70]
call fcn.1801d3878
cmp byte [rbp - 0x70], 0
je 0x1801cf3d2
mov rax, qword [0x180299310]
cmp byte [rax + 0x33], 0
je 0x1801cf3d2
mov rdx, qword [r10 + 8]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.1801cc6d4
mov rax, qword [0x180299308]
movss xmm7, dword [rsp + 0x38]
movaps xmm2, xmm7
subss xmm2, dword [rax + 0x48]
movss xmm8, dword [rsp + 0x34]
movaps xmm1, xmm8
subss xmm1, dword [rax + 0x44]
movss xmm0, dword [rsp + 0x30]
subss xmm0, dword [rax + 0x40]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
mulss xmm2, xmm2
addss xmm0, xmm2
call fcn.1801dc798
movaps xmm6, xmm0
divss xmm6, dword [0x180258160]
cmp byte [rbp + 0x91], 0
je 0x1801cf3d2
comiss xmm6, dword [0x180258198]
ja 0x1801cf3d2
and dword [rbp + 0xe8], 0
and dword [rbp + 0xec], 0
movss xmm2, dword [rsp + 0x30]
unpcklps xmm2, xmm8
movsd qword [rsp + 0x30], xmm2
movss dword [rsp + 0x38], xmm7
lea rdx, [rbp + 0xe8]
lea rcx, [rsp + 0x30]
call fcn.1801cb2b8
test al, al
je 0x1801cf3d2
cvttss2si r8, xmm6
nop
mov dword [rbp + 0xe0], 0x246ed69c
nop
mov word [rbp + 0xe4], 0xb316
mov byte [rbp + 0xe6], 0x11
mov ecx, 0x5f479fb9
xor edx, edx
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov eax, ecx
shr eax, 0x10
xor byte [rbp + rdx + 0xe0], al
inc rdx
cmp rdx, 7
jb 0x1801cf287
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0xe0]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1801cf2bf
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
movabs rax, 0xb000000000000000
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x78], r8d
movabs rax, 0x2000000000000008
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], 2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180008d68
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
mov rax, qword [0x180299300]
movups xmm0, xmmword [rax + 0x1a0]
movdqu xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0xf0]
movdqu xmmword [rsp + 0x30], xmm1
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
movss xmm1, dword [rbp + 0xec]
movd edx, xmm1
movss xmm0, dword [rbp + 0xe8]
movd ecx, xmm0
call fcn.1801c5994
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1801cf3d2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801cf3cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801cf3ee
call fcn.180014dbc
lea r11, [rsp + 0x1d0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret
call fcn.18019c4a8
int3
Function at 0x1801d856c
Capabilities:
Authenticate hmac
Encode data using base64
Encode data using xor
Execute anti-debugging instructions

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
lea rcx, [0x180257f78]
jmp 0x1803b6c3a