joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a8cf0
Capabilities:
Compute adler32 checksum

Disassembly:
mov r8d, r8d
jmp 0x1400a8d00
mov r9d, ecx
mov r10, rdx
shr r9d, 0x10
movzx ecx, cx
cmp r8, 1
jne 0x1400a8d44
movzx edx, byte [rdx]
add edx, ecx
cmp edx, 0xfff1
lea r8d, [rdx - 0xfff1]
cmovb r8d, edx
lea eax, [r8 + r9]
cmp eax, 0xfff1
lea ecx, [rax - 0xfff1]
cmovb ecx, eax
shl ecx, 0x10
or ecx, r8d
mov eax, ecx
ret
test rdx, rdx
jne 0x1400a8d4d
lea eax, [rdx + 1]
ret
cmp r8, 0x10
jae 0x1400a8d9c
test r8, r8
je 0x1400a8d73
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400a8d60
cmp ecx, 0xfff1
lea r8d, [rcx - 0xfff1]
mov eax, 0x80078071
cmovb r8d, ecx
mul r9d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r9d
shl eax, 0x10
or eax, r8d
ret
cmp r8, 0x15b0
jb 0x1400a8e77
mov r11, r8
movabs rax, 0x79baa6bb6398b6f7
mul r8
sub r11, rdx
shr r11, 1
add r11, rdx
shr r11, 0xc
imul rax, r11, 0xffffffffffffea50
add r8, rax
mov edx, 0x2b6
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
add edx, 0xffffffff
jne 0x1400a8de0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
sub r11, 1
jne 0x1400a8dd0
test r8, r8
je 0x1400a8f29
cmp r8, 8
jb 0x1400a8ef0
mov rdx, r8
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
sub rdx, 1
jne 0x1400a8e90
test r8, r8
je 0x1400a8f03
nop
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x1400a8ef0
mov eax, 0x80078071
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
shl r9d, 0x10
or r9d, ecx
mov eax, r9d
ret

Function at 0x1400aaed4
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400ae958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400ae958
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400baee0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140217600
nop
test rbx, rbx
jne 0x1400baf31
xor edx, edx
jmp 0x1400baf35
lea rdx, [rbx + 0xc]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.14000c770
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000c7c0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400bafbe
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140217640
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400bf230
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.14000c770
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400bf2fc
mov dword [rdi + 0xe8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400bf2e3
Function at 0x1400c7950
Capabilities:
Get file version info

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rdx, rdx
jne 0x1400c7977
xor edx, edx
jmp 0x1400c797b
add rdx, 0xc
mov qword [rbp - 0x40], rdx
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x7c], rdx
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0x68]
call fcn.14000c770
mov rdx, qword [rbp - 0x7c]
mov ecx, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov r9d, dword [rbp - 0x74]
call sub.VERSION.dll_GetFileVersionInfoExW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000c7c0
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c9270
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140217600
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.14000c770
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400c9378
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140217640
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c93b5
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400c9398
Function at 0x1400c9790
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140217600
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
lea rcx, [rbp - 0x70]
call fcn.14000c770
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400c9823
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140217640
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c985d
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400c9843

Function at 0x1400cc4c0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1404f3240]
cmp qword [rcx - 8], 0
jne 0x1400cc4fe
mov rcx, rbx
call fcn.1400cbff0
test eax, eax
je 0x1400cc4f4
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.1400cd500
add rsp, 0x20
pop rbx
jmp fcn.1400cd580
call fcn.140001074
jmp 0x1400cc4d6
Function at 0x1400df210
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140217600
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000c770
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400df2a7
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140217640
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400df2e1
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400df2c7

Function at 0x1400df330
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140217600
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000c770
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400df3c7
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140217640
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400df401
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400df3e7
Function at 0x1400dfb30
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x48]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x7c], 0
lea rcx, [0x1404e9ed0]
call fcn.1404865f0
mov qword [rbp - 0x88], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
jne 0x1400dfb8e
xor r13d, r13d
jmp 0x1400dfb92
lea r13, [rbx + 0xc]
mov qword [rbp - 0x50], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ebx, dword [rbp + 0x30]
mov dword [rsp + 0x20], ebx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov ebx, dword [rbp + 0x40]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
mov rcx, r13
mov qword [rbp - 0x9c], rcx
mov edx, esi
mov dword [rbp - 0x8c], edx
mov r8d, edi
mov dword [rbp - 0x90], r8d
mov r9d, r14d
mov dword [rbp - 0x94], r9d
lea rcx, [rbp - 0x78]
call fcn.14000c770
mov rcx, qword [rbp - 0x9c]
mov edx, dword [rbp - 0x8c]
mov r8d, dword [rbp - 0x90]
mov r9d, dword [rbp - 0x94]
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.14000c7c0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x7c], 1
mov rax, qword [rbp - 0x88]
mov qword [rax + 8], rbx
mov rbx, rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140d81418]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dfc7b
mov dword [rdi + 0xe8], esi
mov rax, rbx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140238900]
call rax
mov rdi, rax
jmp 0x1400dfc5e

Function at 0x140184be0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.14000c770
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.14000c7c0
test ebx, ebx
jne 0x140184c54
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x140184c7c
lea rcx, [0x140513c78]
call fcn.14000aa30
mov rbx, rax
mov rcx, rbx
call fcn.1401b0f10
mov rcx, rbx
call fcn.14000afa0
int3
lea rcx, [0x140514528]
call fcn.14000aa30
mov rbx, rax
mov rcx, rbx
call fcn.1401b8360
mov rcx, rbx
call fcn.14000afa0
int3

Function at 0x140189920
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140189932
add rsp, 0x28
jmp fcn.140189f40
lea rcx, [0x1404dd3d0]
call fcn.1400bd280
int3
Function at 0x14019a340
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x14019a579
lea r14, [0x140bd19b8]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x14019a396
mov edx, 0x55555556
mov eax, edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
jmp 0x14019a399
lea eax, [rbx - 4]
test eax, eax
jle 0x14019a440
movsxd rdx, edi
lea rdx, [r10 + rdx*2]
movzx r15d, word [rdx]
movzx r13d, word [rdx + 2]
movzx r12d, word [rdx + 4]
movzx edx, word [rdx + 6]
mov r9d, r15d
or r9d, r13d
or r9d, r12d
or r9d, edx
test r9d, 0xffffff00
jne 0x14019a404
movsxd r9, r15d
movsx r15, byte [r14 + r9]
shl r15d, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
or r15d, edx
movsxd rdx, r13d
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or r15d, edx
movsxd rdx, r12d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or r15d, edx
jmp 0x14019a40a
mov r15d, 0xffffffff
test r15d, r15d
jl 0x14019a55f
movsxd rdx, ebp
add rdx, r11
mov r9d, r15d
sar r9d, 0x10
mov byte [rdx], r9b
mov r9d, r15d
sar r9d, 8
mov byte [rdx + 1], r9b
mov byte [rdx + 2], r15b
add ebp, 3
add edi, 4
cmp edi, eax
jl 0x14019a3a1
lea edx, [rbx - 4]
cmp eax, edx
jne 0x14019a55f
cmp edi, ebx
je 0x14019a55f
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x14019a55f
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
jne 0x14019a517
cmp r9d, 0x3d
jne 0x14019a4dc
test eax, eax
jl 0x14019a55f
dec esi
cmp ebp, esi
jg 0x14019a55f
sar eax, 0x10
movsxd r9, ebp
mov byte [r11 + r9], al
inc ebp
jmp 0x14019a558
movsxd r10, r9d
movsx r9, byte [r14 + r10]
shl r9d, 6
or r9d, eax
mov eax, r9d
test eax, eax
jl 0x14019a55f
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x14019a55f
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x14019a558
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or edx, eax
movsxd rax, r9d
movsx rax, byte [r14 + rax]
shl eax, 6
or eax, edx
jl 0x14019a55f
lea edx, [rsi - 3]
cmp ebp, edx
jg 0x14019a55f
movsxd rdx, ebp
add rdx, r11
mov r10d, eax
sar r10d, 0x10
mov byte [rdx], r10b
mov r10d, eax
sar r10d, 8
mov byte [rdx + 1], r10b
mov byte [rdx + 2], al
add ebp, 3
add edi, 4
cmp ebx, ecx
je 0x14019a579
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401b8a00
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, edx
cmp r10d, r8d
jg 0x1401b8b2a
mov rcx, qword [rcx + 8]
lea rax, [0x1405235f8]
cmp qword [rcx], rax
je 0x1401b8b1b
lea rax, [0x140523580]
cmp qword [rcx], rax
je 0x1401b8b0c
sub r8d, r10d
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, rdx
shl rbx, 0x11
xor r9, rax
xor r11, rdx
lea rsi, [rdx + rdx*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor rdx, r9
xor rax, r11
xor r9, rbx
rol r11, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r9
mov qword [rcx + 0x20], r11
mov r9d, r8d
shr rsi, 0x20
mov r11d, esi
imul r11, r9
mov ebx, r11d
cmp ebx, r8d
jae 0x1401b8afc
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp ebx, edx
jae 0x1401b8afc
mov r11, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov rsi, rax
shl rsi, 0x11
xor r8, r11
xor rbx, rax
lea rdi, [rax + rax*4]
rol rdi, 7
lea rdi, [rdi + rdi*8]
xor rax, r8
xor r11, rbx
xor r8, rsi
rol rbx, 0x2d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], rbx
shr rdi, 0x20
mov r11d, edi
imul r11, r9
mov ebx, r11d
cmp ebx, edx
jb 0x1401b8aa4
shr r11, 0x20
lea eax, [r11 + r10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.140243200
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140243280
call fcn.1401b8b30
int3
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov edi, r8d
lea rbp, [rbx + 0x18]
mov rcx, rbp
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x1402432a5
call fcn.1402433a0
movsxd rdi, edi
movsxd rcx, esi
sub rdi, rcx
cmp rdi, 0x7fffffff
jg 0x14024334f
mov rcx, qword [rbx + 8]
lea rax, [0x1405146f0]
cmp qword [rcx], rax
jne 0x140243373
mov rbx, qword [rcx + 8]
lea rcx, [0x1405235f8]
cmp qword [rbx], rcx
je 0x140243309
lea rcx, [0x140523580]
cmp qword [rbx], rcx
jne 0x140243379
lea rcx, [rbx + 8]
call fcn.1402434c0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140bd5e80]
jmp 0x140243333
lea rcx, [rbx + 0x18]
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x14024331b
call fcn.1402433a0
lea rcx, [rbx + 0x18]
call fcn.1402434c0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140bd5e80]
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.14000b6b0
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov rcx, rbp
call fcn.140243540
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.14000b6f0
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.14000709c
int3
mov rcx, rbx
call fcn.1400dc710
int3