joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18001f0f0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [str.bhmodev1ll]
mov ecx, dword [0x180021a98]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov rax, qword [0x18001c4c8]
imul ecx, ecx
mov qword [rsp + 0x28], rax
mov eax, dword [0x18001c4d0]
mov dword [rsp + 0x30], eax
movzx eax, word [0x18001c4d4]
mov word [rsp + 0x34], ax
mov eax, 0x72
mov word [rsp + 0x24], ax
mov eax, 0x2e
mov word [rsp + 0x2c], ax
mov eax, 0x6d
mov word [rsp + 0x28], ax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 0xf
jne 0x180001ebf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x180021a98], eax
mov edi, 0x63
lea esi, [rdi + 1]
nop word [rax + rax]
xor ecx, ecx
mov word [rsp + 0x20], di
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
call fcn.180003290
mov word [rsp + 0x2e], si
cmp eax, 1
jne 0x180001f10
lea r8, [rsp + 0x20]
call fcn.1800039d0
mov rcx, qword [0x180021ae0]
test rax, rax
cmovne rcx, rax
mov qword [0x180021ae0], rcx
jmp 0x180001f17
mov rcx, qword [0x180021ae0]
test rcx, rcx
jne 0x180001f9c
mov ecx, 0x1f4
inc ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x180021ae0], 0
jne 0x180001f9c
cmp ebx, 5
jl 0x180001ed0
mov eax, dword [0x180021a98]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 4
jne 0x180001f95
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov eax, 0x9a63306b
mul ebx
shr edx, 0x1f
imul edx, edx, 0xd43ec6c9
sub ebx, edx
nop
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, eax
mov eax, ebx
div ecx
lea ebx, [rdx - 1]
test ebx, ebx
jg 0x180001f80
mov eax, 5
jmp 0x180001f9e
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800055f0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x180003240
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180003278
xor eax, eax
mov qword [0x180021ad0], rcx
lea r8, [0x180001fc0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x55
add rsp, 0x38
ret
Function at 0x180003580
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0xe0
mov rax, qword [0x18001f0f0]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r8d, dword [0x180021a98]
mov eax, 0x2aaaaaab
mov r14, rcx
lea r9d, [r8 + 1]
imul r9d, r8d
imul r9d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r9d, eax
cmp r9d, 0x13
jne 0x1800035e2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov dword [0x180021a98], eax
movsxd rbp, dword [r14 + 0x3c]
mov eax, 0x5a4d
add rbp, r14
cmp word [r14], ax
jne 0x18000379b
cmp dword [rbp], 0x4550
jne 0x18000379b
mov ecx, r8d
mov eax, 0x92492493
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 5
jne 0x180003675
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 4
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x141
movsxd rcx, r8d
mov r8, 0xffffffffffffffff
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1800055cc
mov rcx, rax
call fcn.180005fa8
mov r8d, dword [0x180021a98]
movzx eax, word [rbp + 0x18]
mov ecx, 0x10b
cmp ax, cx
jne 0x180003762
lea ecx, [r8 + 1]
mov eax, 0xb21642c9
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 5
jne 0x180003740
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
xor edi, edi
lea rsi, [rsp + 0x30]
nop
xor r9d, r9d
lea ecx, [rdi + 1]
mov eax, r8d
lea ebx, [r9 + 1]
cdq
idiv ecx
mov eax, r8d
sub eax, edi
mov ecx, edx
imul ecx, eax
mov eax, r8d
cdq
idiv ebx
add ecx, eax
sub ecx, r9d
mov edx, ecx
lea rcx, [0x18001c4a8]
call fcn.180005efc
add rsi, 4
mov r9d, ebx
cmp ebx, 0x13
jge 0x180003718
mov r8d, dword [0x180021a98]
jmp 0x1800036d3
inc edi
cmp edi, 2
jge 0x180003728
mov r8d, dword [0x180021a98]
jmp 0x1800036d0
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0x100]
cmp dword [rbp + 0x84], 0
je 0x180003753
mov eax, dword [rbp + 0x80]
test eax, eax
jne 0x180003787
mov dword [0x180021aa4], 0xcb
jmp 0x180003819
mov ecx, 0x20b
cmp ax, cx
jne 0x18000378f
cmp dword [rbp + 0x94], 0
je 0x180003819
mov eax, dword [rbp + 0x90]
test eax, eax
je 0x180003819
add rax, r14
jmp 0x18000381b
mov dword [0x180021aa4], 0xcc
jmp 0x180003819
imul r8d, r8d
mov eax, 0x6bca1af3
mov dword [0x180021aa4], 0xca
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub r8d, edx
cmp r8d, 8
jne 0x180003819
mov rax, qword [str.jwRHAiu6W2FS]
or r8, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
mov eax, dword [0x18001c600]
mov rcx, r8
mov dword [rsp + 0x28], eax
movzx eax, byte [0x18001c604]
mov byte [rsp + 0x2c], al
lea rax, [rsp + 0x20]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1800037f4
mov eax, 4
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1800055cc
mov rcx, rax
call fcn.180005fa8
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800055f0
mov rbp, qword [rsp + 0x108]
add rsp, 0xe0
pop r14
ret
Function at 0x180003840
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r12
push r13
push r15
sub rsp, 0x40
mov r13, rdx
mov r15, rcx
lea rdx, str.VirtualProtect
mov rcx, r9
mov r12, r8
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x18000388a
mov rax, qword [r15]
mov dword [0x180021aa4], 0xd3
mov qword [rax], r13
xor al, al
add rsp, 0x40
pop r15
pop r13
pop r12
ret
mov rcx, qword [r15]
mov edx, 8
mov r9, r12
lea r8d, [rdx - 4]
mov qword [rsp + 0x30], r14
call rax
mov r14d, dword [0x180021a98]
mov ecx, dword [0x180021aa4]
test eax, eax
mov edx, 0xce
lea eax, [r14 + 1]
cmove ecx, edx
mov dword [0x180021aa4], ecx
lea ecx, [r14 + 2]
imul ecx, eax
mov eax, 0x30c30c31
imul ecx, r14d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 5
jne 0x180003997
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov eax, r14d
xor esi, esi
mov qword [rsp + 0x38], rdi
cdq
lea r10d, [rcx + 0x5c]
sub eax, edx
sar eax, 1
mov ebp, eax
nop
test ebp, ebp
jle 0x18000397c
mov eax, r14d
mov rdi, rbp
cdq
and edx, 3
lea ebx, [rdx + rax]
sar ebx, 2
xor r11d, r11d
nop word [rax + rax]
xor r8d, r8d
xor r9d, r9d
xor edx, edx
cmp ebx, 2
jl 0x180003961
lea edx, [rbx - 2]
mov ecx, r11d
shr edx, 1
inc edx
mov eax, edx
add edx, edx
nop dword [rax + rax]
dec r9d
add r8d, ecx
add r9d, ecx
sub ecx, 2
dec rax
jne 0x180003950
cmp edx, ebx
jge 0x18000396d
mov eax, r11d
sub eax, edx
add r10d, eax
lea eax, [r9 + r8]
add r11d, esi
add r10d, eax
dec rdi
jne 0x180003930
inc esi
cmp esi, r10d
jl 0x180003910
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rax, qword [r15]
mov r9, r12
mov edx, 8
mov qword [rax], r13
mov r8d, dword [r12]
mov rcx, qword [r15]
call qword [rsp + 0x20]
mov r14, qword [rsp + 0x30]
mov al, 1
add rsp, 0x40
pop r15
pop r13
pop r12
ret

Function at 0x1800041f0
Capabilities:
Hash data using fnv

Disassembly:
movzx r8d, byte [rdx]
movabs r9, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rdx + 1]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, r9
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [rcx + 0x28]
imul r8, r9
xor r8, rax
imul r8, r9
mov rax, r8
shr rax, 0x20
xor rax, r8
and rax, rdx
cmp qword [rcx + 0x30], rax
ja 0x180004280
shr rdx, 1
or rcx, 0xffffffffffffffff
sub rcx, rdx
add rax, rcx
repz ret
Function at 0x180001070
Capabilities:
Get common file path
Get disk information

Disassembly:
sub rsp, 0x178
mov rax, qword [0x180023010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x104
call fcn.180004210
and dword [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x180001113
lea rdx, [0x180020d38]
lea rcx, [rsp + 0x50]
call fcn.1800034b0
test rax, rax
je 0x180001113
and dword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
mov byte [rax + 1], 0
and dword [0x180051420], 0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x180001113
mov eax, dword [rsp + 0x40]
mov dword [0x180051420], eax
mov al, 1
jmp 0x180001115
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180001fc0
add rsp, 0x178
ret
Function at 0x140003470
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
push rdi
sub rsp, 0x80
mov eax, 0x6f46a6c8
mov edx, 0x1be882de
mov r8d, edx
mov r9b, 0xdb
mov r10b, byte [rsp + 0x7f]
mov r11b, r10b
or r11b, r11b
mov byte [rsp + 0x7f], r11b
mov qword [rsp + 0x68], 0xb5ea1e3
mov dword [rsp + 0x5c], 0x6f46a6c8
mov r11b, r10b
add r11b, 0xe9
mov byte [rsp + 0x7f], r11b
sub r9b, r10b
mov rsi, qword [rsp + 0x68]
sub r8, rsi
mov byte [rsp + 0x7f], r9b
mov qword [rsp + 0x50], r8
mov di, word [rsp + 0x62]
or di, di
mov r8, qword [0x1400d9b18]
mov word [rsp + 0x62], di
mov edx, dword [rsp + 0x5c]
mov ebx, edx
add ebx, 0x6ffb992
mov dword [rsp + 0x64], ebx
sub eax, edx
mov dword [rsp + 0x4c], eax
mov word [rsp + 0x62], 0xc01a
cmp r8, 0
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x3c], edx
mov byte [rsp + 0x3b], r10b
mov qword [rsp + 0x30], r8
je 0x140003586
jmp 0x14000355e
mov eax, 0xbf91b247
mov ecx, dword [rsp + 0x5c]
mov byte [rsp + 0x7f], 4
mov rdx, qword [rsp + 0x68]
xor rdx, 0x21298a1b
mov r8b, byte [rsp + 0x3b]
mov byte [rsp + 0x7f], r8b
sub eax, ecx
mov r9, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x3c]
xor ecx, 0xffffffff
mov dword [rsp + 0x64], ecx
mov byte [rsp + 0x7f], 0x34
mov dword [rsp + 0x4c], eax
cmp r9, rdx
jae 0x140003586
jmp 0x14000359c
mov eax, 0x6ff8fbf2
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rsp + 0x5c]
xor ecx, 0x3aacafde
mov word [rsp + 0x62], 0x95da
sub eax, edx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], ecx
je 0x14000355e
jmp 0x140003518
mov word [rsp + 0x62], 0x9450
mov eax, dword [rsp + 0x4c]
add rsp, 0x80
pop rdi
pop rbx
pop rsi
ret
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x3c]
mov dword [rsp + 0x64], ecx
xor eax, 0x6f46a6c9
mov qword [rsp + 0x70], 0x4b6db35b
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x2c], eax
call rdx
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x4c], eax
jmp 0x140003586
Function at 0x14003ca00
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003ca0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003ca1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003ca05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003ca35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003ca22
sub eax, 3
jb 0x14003ca4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003ca86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003ca76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003ca74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003ca63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003c9c2
jmp 0x14003ca0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23e00
mov dl, reloc.COMCTL32.dll_InitCommonControls
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003cad2
cmp rsi, rcx
jae 0x14003cada
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003cab9
cmp al, 0x8f
ja 0x14003cab9
cmp byte [rsi - 2], 0xf
je 0x14003cabf
sub al, 0xe8
cmp al, 1
ja 0x14003caa3
cmp rsi, rcx
jae 0x14003cada
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003caa9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003cada
lodsb al, byte [rsi]
jmp 0x14003cab9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003cb43
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x40a8c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14003cae7
jns 0x14003cb1c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14003cb26
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14003cb3d
mov qword [rbx], rax
add rbx, 8
jmp 0x14003cb07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x18f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003cb9b
sub rsp, 0xffffffffffffff80
jmp 0x1400242ac
Function at 0x1400014a0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x1400014fa
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x140001502
mov r14, qword [r14]
jmp 0x1400014cb
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
jne 0x140001537
jmp 0x140001545
inc rax
inc rax
inc rax
inc rax
jmp 0x14000151e
invalid
invalid
invalid
Function at 0x14000da84
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140017850], eax
call fcn.14000d7d0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140017850], 0
jne case.default.0x14000dada
mov ecx, 1
call fcn.14000d7d0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
invalid
Function at 0x14054c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14054c1df
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 0x14054c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c06f
add dl, dl
jne 0x14054c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c0f6
xor eax, eax
add dl, dl
jne 0x14054c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14054c1ad
add dl, dl
jne 0x14054c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14054c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14054c07e
mov eax, 1
add dl, dl
jne 0x14054c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14054c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c0fb
sub eax, ebx
mov ebx, 1
jne 0x14054c14c
mov ecx, 1
add dl, dl
jne 0x14054c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14054c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14054c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14054c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14054c15d
cmp eax, 0x7d00
jae 0x14054c19b
cmp eax, 0x500
jb 0x14054c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c07e
cmp eax, 0x7f
ja 0x14054c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14054c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14054c1d2
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 0x14054c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x18000ff34
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x180030040]
xor ecx, ecx
lea r8, [0x180030038]
lea rdx, str.FlsAlloc
call fcn.18000fd5c
mov rbx, rax
test rax, rax
je 0x18000ff74
mov rcx, rax
call fcn.18000cc38
mov rcx, rdi
call rbx
jmp 0x18000ff7a
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18000ffdc
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x180030050]
mov ecx, 2
lea r8, [0x180030048]
lea rdx, str.FlsGetValue
call fcn.18000fd5c
mov rdi, rax
test rax, rax
je 0x18001001d
mov rcx, rax
call fcn.18000cc38
mov ecx, ebx
call rdi
jmp 0x180010025
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180010030
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x180030058]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x180030050]
call fcn.18000fd5c
mov rsi, rax
test rax, rax
je 0x18001007c
mov rcx, rax
call fcn.18000cc38
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x180010087
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180142de0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x180142e0d
xor al, al
jmp 0x180142f6f
mov rax, qword [0x180163700]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x180163708]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x180163710]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x180163718]
mov qword [rcx + 0x18], rax
mov rax, qword [0x180163720]
mov qword [rcx + 0x20], rax
mov rax, qword [0x180163728]
mov qword [rcx + 0x28], rax
mov rax, qword [0x180163730]
mov qword [rcx + 0x30], rax
mov rax, qword [0x180163738]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x180163740]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x180142f61
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x180142eb9
mov r11d, 2
jmp 0x180142edd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x180142ed3
mov r11d, 1
jmp 0x180142edd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x180142f85
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x180142f22
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x180142f3a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x180142f4a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x180142f58
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x180142ea0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x180142f6a
Function at 0x14000100c
Capabilities:
Move file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r9
mov rbx, r8
mov r8, rdx
mov rdx, rcx
lea rsi, [rbp - 0x30]
mov rcx, rsi
call fcn.140014640
mov rax, qword [rsi]
mov rsi, qword [rsi + 8]
test rax, rax
je 0x14000111b
lea rdx, [rbp - 0x30]
mov rcx, qword [rdx + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rcx
lea rsi, [rbp - 0x48]
mov rcx, rsi
call fcn.140019530
mov rax, qword [rsi]
mov rsi, qword [rsi + 8]
test rax, rax
je 0x14000111b
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
mov rdx, rbx
mov r8, rdi
call fcn.140014640
mov rax, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x28]
test rax, rax
je 0x140001105
lea rdx, [rbp - 0x30]
mov rcx, qword [rdx + 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rcx
lea rcx, [rbp - 0x48]
call fcn.140019530
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
test rdi, rdi
je 0x140001105
push 1
pop r8
mov r14, qword [rbp - 0x10]
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
je 0x140001129
test rsi, rsi
je 0x1400010ef
push 2
pop rdx
mov rcx, rdi
call fcn.140004940
cmp qword [rbp - 0x18], 0
je 0x140001101
push 2
pop rdx
mov rcx, r14
call fcn.140004940
xor esi, esi
jmp 0x14000111b
mov r14, qword [rbp - 0x10]
cmp qword [rbp - 0x18], 0
je 0x14000111b
push 2
pop rdx
mov rcx, r14
call fcn.140004940
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x140001149
push 2
pop rdx
mov rcx, rdi
call fcn.140004940
mov rsi, rbx
jmp 0x140001109