joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18017f390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x80
mov rbp, r8
mov r15, rdx
mov esi, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rcx + r8], 0
jne 0x18017f3b2
xor edx, edx
test rcx, rcx
je 0x18017f3e5
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
inc rdx
xor eax, esi
imul esi, eax, 0x1000193
cmp rdx, rcx
jb 0x18017f3d0
xor edi, edi
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], r14
cmp dword [r15 + 8], edi
jle 0x18017f478
xor r14d, r14d
mov rbx, qword [r15]
mov r9d, 0x811c9dc5
mov rax, 0xffffffffffffffff
movups xmm1, xmmword [rbx + r14 + 0x40]
mov r8, qword [rbx + r14]
nop word [rax + rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x18017f420
xor edx, edx
test rax, rax
je 0x18017f448
movsx ecx, byte [rdx + r8]
inc rdx
xor ecx, r9d
imul r9d, ecx, 0x1000193
cmp rdx, rax
jb 0x18017f431
cmp esi, r9d
je 0x18017f4a7
movq rdx, xmm1
test rdx, rdx
je 0x18017f46c
mov r8, rbp
lea rcx, [0x18022bb28]
call fcn.18017f390
mov ecx, eax
test eax, eax
jne 0x18017f49e
inc edi
add r14, 0x60
cmp edi, dword [r15 + 8]
jl 0x18017f400
xor eax, eax
mov r14, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop rdi
pop rsi
ret
mov eax, dword [rbx + r14 + 0x48]
add eax, ecx
jmp 0x18017f47a
psrldq xmm1, 8
movd eax, xmm1
jmp 0x18017f47a

Function at 0x180181210
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18018124a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18018124f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180181298
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1801ae2c0]
cmp byte [rcx + rax], 0
je 0x180181298
dec r8
sub rdx, 1
jne 0x18018127e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001380
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
lea rcx, str..PhysicalDrive0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x140001402
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r15b
jmp 0x140001543
movups xmmword [rsp + 0x60], xmm0
lea rax, [0x140001570]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x54], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x44], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140001483
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
jmp 0x140001534
mov edi, dword [rsp + 0x4c]
mov ecx, edi
call fcn.140001fc4
mov r14, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400014f7
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
mov rcx, r14
call fcn.140001f80
nop
jmp 0x140001534
mov eax, dword [r14 + 0x18]
test eax, eax
jne 0x14000151e
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 0xf
mov byte [rsi], al
mov rcx, r14
call fcn.140001f80
nop
jmp 0x140001534
lea rdx, [r14 + rax]
mov rcx, rsi
call fcn.140001610
nop
mov rcx, r14
call fcn.140001f80
nop
test rbp, rbp
je 0x140001543
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140001f60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x140017820
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, r8
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdi, [rcx + 0x28]
mov rcx, rdi
call fcn.140017700
xor ebp, ebp
cmp rbx, 0x7fffffff
ja 0x140017868
test al, al
je 0x140017868
cmp qword [rsi + 0x58], 0
je 0x140017884
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140045f60
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rsi], 0
je 0x14001790d
mov rcx, rdi
call fcn.140017710
mov r14, rax
mov rbp, qword [0x140054c18]
test rbp, rbp
jne 0x1400178cb
lea rcx, [0x14004c3fe]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov qword [0x140054c18], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov rcx, r14
xor edx, edx
mov r9d, 0x18
call rbp
test eax, eax
jne 0x140017866
test dword [rsp + 0x38], 0x1000000
jne 0x140017866
mov r14d, r15d
sar r14d, 0x1f
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140017710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x140017984
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140017710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
je 0x140017866
mov rbp, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400179a4
xor eax, eax
jmp 0x1400179b1
mov rax, qword [rsp + 0x48]
sub rax, rbp
add rax, qword [rsp + 0x38]
mov qword [rsi + 0x50], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400176a0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x70], xmm0
call fcn.1400179e0
mov bpl, 1
jmp 0x140017868

Function at 0x140017a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140017ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140017ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140017aad
mov qword [rsi], rdi
call fcn.140017670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.firefox.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
jp 0x1400a13a6
invalid
cld
adc eax, 0xca10e773
invalid
invalid
Function at 0x140017b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x140054018]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140017bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140017b98
add rdi, rbx
sub rsi, rbx
je 0x140017bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140017b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.140013500
mov rcx, r12
call int.140013600
jmp 0x140017b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140045f60
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1406030b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140603237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406030e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406030c7
add dl, dl
jne 0x1406030ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14060314e
xor eax, eax
add dl, dl
jne 0x1406030fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140603205
add dl, dl
jne 0x14060310e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060311b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140603128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140603135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140603142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406030d6
mov eax, 1
add dl, dl
jne 0x14060315e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14060316b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140603153
sub eax, ebx
mov ebx, 1
jne 0x1406031a4
mov ecx, 1
add dl, dl
jne 0x140603186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140603193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14060317b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406030d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406031c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406031cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406031b5
cmp eax, 0x7d00
jae 0x1406031f3
cmp eax, 0x500
jb 0x1406031ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406030d6
cmp eax, 0x7f
ja 0x1406031f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406030d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14060322a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406030d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001153c
Capabilities:
Terminate process

Disassembly:
jmp 0x14001f810
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011681
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020340
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020360
xor al, al
jmp 0x1400203e1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020373
xor al, al
jmp 0x1400203e1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002039d
xor al, al
jmp 0x1400203e1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400203b1
xor al, al
jmp 0x1400203e1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400203c3
xor al, al
jmp 0x1400203e1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400203df
xor al, al
jmp 0x1400203e1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001189d
Capabilities:
Write file on windows

Disassembly:
jmp 0x140018e60
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x2e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1c8]
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x168], rax
lea rcx, [0x1400350f3]
call fcn.140011933
mov rax, qword [rbp + 0x190]
cmp qword [rax + 0x68], 0
je 0x140018ec6
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140018ecd
mov al, 1
jmp 0x140019022
call fcn.140011343
mov rcx, qword [rbp + 0x190]
mov rcx, qword [rcx]
mov qword [rbp + 0x158], rcx
movzx edx, ax
mov rcx, qword [rbp + 0x190]
mov rax, qword [rbp + 0x158]
call qword [rax + 0x18]
mov word [rbp + 0x160], ax
call fcn.140011343
movzx ecx, word [rbp + 0x160]
movzx edx, cx
movzx ecx, ax
call fcn.1400113cf
movzx eax, al
test eax, eax
je 0x140018f23
xor al, al
jmp 0x140019022
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x190]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x154], eax
cmp dword [rbp + 0x154], 0
je 0x140018f88
cmp dword [rbp + 0x154], 1
je 0x140018f93
cmp dword [rbp + 0x154], 3
je 0x140019011
jmp 0x140019020
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140018fe3
mov rax, qword [rbp + 0x190]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140018fe3
xor al, al
jmp 0x140019022
mov rax, qword [rbp + 0x190]
movzx eax, byte [rax + 0x72]
test eax, eax
jne 0x140018ffe
mov dword [rbp + 0x154], 1
jmp 0x140019008
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x140019022
mov rax, qword [rbp + 0x190]
mov byte [rax + 0x72], 0
mov al, 1
jmp 0x140019022
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028850]
call fcn.1400117a3
mov rax, rdi
mov rcx, qword [rbp + 0x168]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x140001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
movsxd rax, dword [rcx + 0x3c]
xor r8d, r8d
mov r10, rcx
mov edx, dword [rax + rcx + 0x88]
add rdx, rcx
mov r11d, dword [rdx + 0x1c]
mov ebx, dword [rdx + 0x20]
mov ebp, dword [rdx + 0x24]
mov r9d, dword [rdx + 0x18]
add r11, rcx
add rbx, rcx
add rbp, rcx
test r9, r9
je 0x140001076
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx eax, word [rbp + r8*2]
mov esi, dword [rbx + r8*4]
lea rdi, [0x140007a70]
mov eax, dword [r11 + rax*4]
add rsi, r10
mov ecx, 0xf
add rax, r10
repe cmpsb byte [rsi], byte [rdi]
je 0x14000106c
inc r8
cmp r8, r9
jb 0x140001040
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
pop rbp
ret

Function at 0x1400011c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x30]
ret

Function at 0x14000171c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000158c
Function at 0x140003618
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x140009470]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14000264c
xor ebx, ebx
cmp qword [0x140100458], rbx
mov rdi, rax
jne 0x14000372b
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140003802
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003802
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140100458], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140100460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140100468], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x140100478], rax
test rax, rax
je 0x140003722
lea rdx, [0x140006e10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x140100470], rax
jmp 0x140003732
mov rax, qword [0x140100470]
jmp 0x140003739
mov rax, qword [0x140100470]
mov r11, qword [0x140100478]
cmp rax, rdi
je 0x1400037a0
cmp r11, rdi
je 0x1400037a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x140100478]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400037a0
test rax, rax
je 0x1400037a0
call rsi
test rax, rax
je 0x14000379a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000379a
test byte [rsp + 0x40], 1
jne 0x1400037a0
bts ebp, 0x15
jmp 0x1400037e0
mov rcx, qword [0x140100460]
cmp rcx, rdi
je 0x1400037e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400037e0
call rax
mov rbx, rax
test rax, rax
je 0x1400037e0
mov rcx, qword [0x140100468]
cmp rcx, rdi
je 0x1400037e0
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x1400037e0
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140100458]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140003802
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140003804
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140003a50
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140004f8b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140009470]
jne 0x140003a6a
rol rcx, 0x10
test cx, 0xffff
jne 0x140003a66
repz ret
ror rcx, 0x10
jmp 0x140004ee4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140100550]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140100648]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140004f69
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140100550]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140004f8b
mov rax, qword [rsp + 0x88]
mov qword [0x140100648], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1401005e8], rax
mov rax, qword [0x140100648]
mov qword [0x1401004c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401005d0], rax
mov dword [0x1401004b0], 0xc0000409
mov dword [0x1401004b4], 1
mov rax, qword [0x140009470]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140009478]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140100548], eax
mov ecx, 1
call fcn.140004d94
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007248]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140100548], 0
jne 0x140005012
mov ecx, 1
call fcn.140004d94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140bf5754
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
push 0xffffffff858fc531
lea rsp, [rsp + 0x10]
and rsp, 0xfffffffffffffff0
push 0xffffffff9b3f6920
shr qword [rsp], 0x7f
jae 0x140bf623e
lea rsp, [rsp + 8]
add rsp, rcx
test ebx, ebx
jmp 0x140c00cd1
shr ebp, 0x38
sub rdx, 0x429e17b5
pop r10
and sil, dil
sal rbp, 0xf7
xchg ecx, edx
movsxd r9, r9d
adc r8, r9
mul ax
xadd si, cx
mov rbp, qword [r11 + rax - 0xe89]
rol cx, 0x22
add rsi, rax
movzx ax, byte [rax + rbp - 0xe89]
bts ecx, esi
lea r11, [r11 + rsi*8 - 0x7b69a]
movsx ebp, cx
inc cl
mov word [r11 + rsi*2 - 0x1eda8], ax
ror edi, cl
adc rdi, r8
jmp rdi
xor al, 0xb1
neg al
xor r10b, al
mov word [r11 + rbp*2 - 0x1ffa], ax
sub cx, si
or dword [rsp + rbp - 0xffc], ebp
adc rcx, rsi
lea r11, [r11 + rcx*2 + 0xffe000c]
or edi, r9d
inc byte [rsp + rcx*2 + 0xffe000c]
mov qword [rsp + rcx*4 + 0x1ffc000c], r8
ret
je 0x140c20b9d
mov rax, qword [rbp + rbx*8]
cmp ebx, 1
jmp 0x140c0c3ee
jne 0x140bfaa1a
mov ecx, 0xe301d4b6
not cx
mov rcx, rax
jmp 0x140c2700b
mov eax, 0xdbb89802
mov rax, qword [rbp + riz]
sub rsp, 0x20
call rax
mov rsp, qword [rbp + riz - 0x10]
mov r11d, 0xbba28bd
mov ebx, r11d
mov r9d, 0x56b8d12b
mov rbp, qword [rbp + r11*4 - 0x2ee8a2fc]
movzx edi, bx
add ebx, ebx
and di, di
mov qword [rbp + r11 - 0xbba28bd], rax
call fcn.140c03da2
sub r9b, r9b
sbb al, 9
movzx edi, dx
ror al, 1
dec si
js 0x140bf82f5
not ecx
mov eax, ecx
xor r9d, r10d
push rsi
inc r9d
push rbp
bswap r9d
call fcn.140c2c3f8
and rax, 0xffffffffbf927d22
neg r9d
dec bp
btr dx, si
xor r9d, 0xa71fbe80
cdqe
neg r9d
rol edx, 0x38
bswap r9d
cdq
push r10
mov r10d, esi
xor rcx, rbp
call fcn.140c113b9
call fcn.140c20b90

Function at 0x140bf8a47
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [rcx + r11], dx
pop rdx
lea rbx, [rbx + rcx*2 - 4]
call fcn.140c0fe6a

Function at 0x140bfa832
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
inc dx
mov qword [rsp + rax - 0x7929d68c], rbp
xor r9d, 0xdc2b5481
sar ebp, 0x65
cwd
not eax
inc r9d
ror r9d, 2
xadd dword [rsp + rbp + 3], ebp
mov byte [rsp + rcx - 0x7928fffc], dil
btr edx, 0xa5
mov qword [rsp + rbp*2], r10
xor dword [rsp + rcx - 0x79290000], r9d
btc ebp, ecx
mov r10d, esi
pop r10
bt ecx, edi
cdq
lea r11, [rbp + r11 - 5]
jae 0x140c2b2f6