joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d80bc
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.1400ad52c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d8146
cmp byte [rbp - 0x21], r15b
je 0x1400d8141
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d817c
call fcn.1400c7344
test eax, eax
jne 0x1400d8168
cmp byte [rbp - 0x21], r15b
je 0x1400d8160
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d817c
cmp byte [rbp - 0x21], r15b
je 0x1400d8179
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.1400bc730
test eax, eax
jne 0x1400d821c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ad52c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d81bb
cmp byte [rbp - 0x21], r15b
je 0x1400d81f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d81f0
call fcn.1400c7344
test eax, eax
jne 0x1400d81dc
cmp byte [rbp - 0x21], r15b
je 0x1400d81d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d81f0
cmp byte [rbp - 0x21], r15b
je 0x1400d81ed
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.1400bc730
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d821c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d821f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d822d
mov rcx, rdi
call fcn.1400c6f90
cmp byte [rbp + 0x3f], r15b
je 0x1400d823c
mov rcx, qword [rbp + 0x27]
call fcn.1400c6f90
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 0x1400d8e30
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400c557c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400c557c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400d8f80
cmp rax, 0xffffffffffffffff
je 0x1400d8f80
xor edi, edi
test rbp, rbp
jle 0x1400d8f2b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400c6f18
mov rbx, rax
test rax, rax
jne 0x1400d8eb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400d8f21
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c37c4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400c8ac8
cmp eax, 0xffffffff
je 0x1400d8f01
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400d8ec8
mov edx, r15d
mov ecx, r14d
call fcn.1400c37c4
jmp 0x1400d8f21
cmp byte [rsi + 0x38], dil
je 0x1400d8f18
cmp dword [rsi + 0x34], 5
jne 0x1400d8f18
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetLBound
cmp byte [rsi + 0x30], dil
je 0x1400d8f21
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400c6f90
jmp 0x1400d8f94
jns 0x1400d8f94
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400c557c
cmp rax, 0xffffffffffffffff
jne 0x1400d8f4c
cmp byte [rsi + 0x30], dil
je 0x1400d8f94
mov edi, dword [rsi + 0x2c]
jmp 0x1400d8f94
mov ecx, r14d
call fcn.1400d17ac
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400d8f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayGetDim
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayGetLBound
jmp 0x1400d8f94
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400d8f8d
mov eax, dword [rsi + 0x2c]
jmp 0x1400d8f92
mov eax, SafeArrayPutElement
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400c557c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1405a3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405a31df
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 0x1405a3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a306f
add dl, dl
jne 0x1405a3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a30f6
xor eax, eax
add dl, dl
jne 0x1405a30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405a31ad
add dl, dl
jne 0x1405a30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405a30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405a307e
mov eax, 1
add dl, dl
jne 0x1405a3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405a3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a30fb
sub eax, ebx
mov ebx, 1
jne 0x1405a314c
mov ecx, 1
add dl, dl
jne 0x1405a312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405a3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405a3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405a315d
cmp eax, 0x7d00
jae 0x1405a319b
cmp eax, 0x500
jb 0x1405a3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a307e
cmp eax, 0x7f
ja 0x1405a319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405a307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405a31d2
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 0x1405a307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140004730
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x140004787
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.140004790
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140004777
mov qword [rsi], rdi
call fcn.1400764e0
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.1400a04a0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400075f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov edi, r8d
mov rax, rdx
mov rsi, rcx
mov rcx, qword [0x140324948]
xor rcx, rsp
mov qword [rsp + 0x278], rcx
lea r9, [rsp + 0x16c]
mov dword [r9], 0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x170]
mov rcx, rax
mov r8d, 0x100
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000773d
mov r8d, dword [rsp + 0x16c]
lea rbx, [rsp + 0x28]
lea rdx, [rsp + 0x170]
mov rcx, rbx
xor r9d, r9d
call fcn.140008540
mov rcx, qword [rbx]
test rcx, rcx
je 0x140007683
call fcn.140008b90
cmp rax, 7
ja 0x14000779c
mov ecx, 2
call fcn.140076e60
test al, al
je 0x1400076d0
lea rdx, str..._.._mojo_core_broker_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x3e
mov r9d, 2
call fcn.140076f00
lea rcx, [rsp + 0x38]
lea rdx, str.Invalid_broker_message
mov r8d, reloc.WS2_32.dll_shutdown
call fcn.1400047e0
mov rcx, rdi
call fcn.140076600
lea rcx, [rsp + 0x170]
call sym.nacl64.exe__ovly_debug_event
lea rcx, [rsp + 0x16c]
call sym.nacl64.exe__ovly_debug_event
lea rdx, str..._.._mojo_core_broker_win.cc
lea r9, [0x1401c837c]
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x42
call fcn.1400764f0
mov rcx, rdi
call fcn.140076600
xor eax, eax
mov qword [rsi], rax
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
test rdi, rdi
je 0x1400077bb
mov rcx, rdi
call fcn.140008510
mov rcx, rdi
call fcn.140190860
jmp 0x1400077bb
mov ecx, 2
call fcn.140076e60
test al, al
je 0x140007793
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._mojo_core_broker_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x37
mov r9d, 2
call fcn.1400776a0
lea rcx, [rsp + 0x40]
lea rdx, str.Error_reading_broker_pipe
mov r8d, 0x19
call fcn.1400047e0
mov rcx, rdi
call fcn.140077770
mov qword [rsi], 0
jmp 0x1400077bb
mov rcx, qword [rsp + 0x28]
call fcn.140008820
cmp dword [rax], edi
jne 0x1400077d9
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140190ca0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140076e60
test al, al
je 0x140007826
lea rdx, str..._.._mojo_core_broker_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x49
mov r9d, 2
call fcn.140076f00
lea rcx, [rsp + 0x38]
lea rdx, str.Unexpected_broker_message_type
mov r8d, 0x1e
call fcn.1400047e0
mov rcx, rdi
call fcn.140076600
lea rcx, [rsp + 0x170]
call sym.nacl64.exe__ovly_debug_event
lea rcx, [rsp + 0x16c]
call sym.nacl64.exe__ovly_debug_event
lea rdx, str..._.._mojo_core_broker_win.cc
lea r9, [0x1401c837c]
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x4d
jmp 0x140007706
Function at 0x140007a00
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov r13, r8
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea r15, [rcx + 0x20]
mov rcx, r15
call fcn.14008ae30
mov ecx, 0x40
call fcn.140190820
mov rbx, rax
xor esi, esi
mov edx, ntohs
mov rcx, rax
xor r8d, r8d
call fcn.1400083c0
mov rcx, rbx
call fcn.140008820
mov qword [rax], 1
mov rcx, r13
shr rcx, 0x20
jne 0x140007c83
mov esi, r13d
mov dword [rax + 8], esi
lea r9, [rsp + 0x1cc]
mov dword [r9], 0
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140007b1b
mov eax, dword [rsp + 0x1cc]
cmp qword [rbx + 0x10], rax
jne 0x140007b1b
lea rcx, [rsp + 0x90]
call fcn.1400aec80
mov rdx, qword [rdi + 8]
lea rdi, [rsp + 0x88]
mov rcx, rdi
mov r8d, 2
call fcn.1400075f0
mov rdi, qword [rdi]
test rdi, rdi
je 0x140007b84
lea rdx, [rsp + 0x90]
mov rcx, rdi
call fcn.140007870
test al, al
je 0x140007b0e
mov rcx, rdi
call fcn.140008b90
cmp rax, 0x17
ja 0x140007b9d
mov rcx, r14
call fcn.140077f50
jmp 0x140007c1a
mov ecx, 2
call fcn.140076e60
test al, al
je 0x140007b77
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._mojo_core_broker_win.cc
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov r8d, 0x89
mov r9d, 2
call fcn.1400776a0
lea rcx, [rsp + 0xa0]
lea rdx, str.Error_sending_sync_broker_message
mov r8d, 0x21
call fcn.1400047e0
mov rcx, rsi
call fcn.140077770
mov rcx, r14
call fcn.140077f50
jmp 0x140007c43
mov rcx, r14
call fcn.140077f50
mov qword [rsp + 0x88], 0
jmp 0x140007c36
mov rcx, rdi
call fcn.140008820
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14009af50
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400aec80
lea rbp, [rsp + 0x28]
lea rdx, [rsp + 0x90]
mov rcx, rbp
call fcn.1400aeca0
lea r12, [rsp + 0x48]
mov rcx, r12
mov rdx, rbp
mov r8, rsi
call fcn.14001fe70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rbp, [rsp + 0x60]
mov rcx, rbp
mov rdx, r12
mov r8d, 1
mov r9, r13
call fcn.1400a15d0
mov rcx, r14
mov rdx, rbp
call fcn.140078920
mov qword [rsp + 0x88], 0
mov rcx, rdi
call fcn.140008510
mov rcx, rdi
call fcn.140190860
lea rcx, [rsp + 0x90]
call fcn.1400aed70
mov rcx, rbx
call fcn.140008510
mov rcx, rbx
call fcn.140190860
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140190ca0
mov rax, r14
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3

Function at 0x14000aa90
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x20
mov rdx, qword [rcx + 0xe0]
cmp rdx, qword [rcx + 0xe8]
jne 0x14000aaad
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rsi, rcx
lea rcx, [rcx + 0xd0]
call fcn.14000ac20
mov rdx, qword [rax]
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14000ab60
Function at 0x14000aad0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x28]
mov qword [rdi], rdx
mov rdx, rdi
call fcn.140009010
mov rdx, rsi
sub rdx, 0xffffffffffffff80
mov r8d, dword [rdi]
mov rcx, qword [rsi + 0x48]
mov qword [rsp + 0x20], rdx
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000ab28
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000ab35
mov byte [rsi + 0xa1], 1
lock inc dword [rsi + 8]
jmp 0x14000ab3f
mov rcx, rsi
xor edx, edx
call fcn.140009590
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140190ca0
nop
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x14000ab60
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140324948]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rsi, [rsp + 0x28]
mov rcx, rdx
mov rdx, rsi
call fcn.140008f20
mov rbx, qword [rsi]
mov rsi, qword [rsi + 8]
cmp rbx, rsi
je 0x14000abab
mov rcx, rbx
call fcn.14001fc10
add rbx, 0x20
cmp rsi, rbx
jne 0x14000ab9a
lea rax, [r14 + 0xb0]
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov rcx, qword [r14 + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000abdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000abee
mov byte [r14 + 0xf2], 1
lock inc dword [r14 + 8]
mov sil, 1
jmp 0x14000abf0
xor esi, esi
lea rcx, [rsp + 0x28]
call fcn.140007c90
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140190ca0
mov eax, esi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14000fec0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x14000feef
lea rax, [rdx - 1]
test rax, rdx
je 0x14000feec
mov rcx, rdx
call fcn.140050cf0
mov rdi, rax
jmp 0x14000feef
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14000ff0b
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x14000ffc0
jae 0x14000ffb3
cmp rbx, 3
jb 0x14000ff24
lea rax, [rbx - 1]
test rax, rbx
sete bpl
jmp 0x14000ff26
xor ebp, ebp
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14000ff36
cvtsi2ss xmm0, rax
jmp 0x14000ff4b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1401ab560
cvttss2si rcx, xmm0
movss xmm1, dword [0x1401c8a60]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
test bpl, bpl
je 0x14000ff9b
cmp rax, 2
jb 0x14000ffa3
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14000ffa3
mov rcx, rax
call fcn.140050cf0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jb 0x14000fef8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
test rdx, rdx
je 0x140010047
mov rdi, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400100f1
lea rcx, [rdi*8]
call fcn.140190820
mov rcx, qword [r14]
mov qword [r14], rax
test rcx, rcx
je 0x14000fffe
call fcn.140190860
mov qword [r14 + 8], rdi
xor eax, eax
mov rcx, qword [r14]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x140010004
mov r10, qword [r14 + 0x10]
test r10, r10
je 0x1400100e7
lea rcx, [r14 + 0x10]
mov r8, qword [r10 + 8]
lea r9, [rdi - 1]
test r9, rdi
je 0x140010066
cmp r8, rdi
jb 0x140010069
mov rax, r8
xor edx, edx
div rdi
mov r8, rdx
jmp 0x140010069
mov rcx, qword [r14]
xor eax, eax
mov qword [r14], rax
test rcx, rcx
je 0x140010059
call fcn.140190860
mov qword [r14 + 8], 0
jmp 0x1400100e7
and r8, r9
mov rax, qword [r14]
mov qword [rax + r8*8], rcx
jmp 0x1400100df
mov rax, qword [rcx + 8]
test r9, rdi
je 0x14001008a
cmp rax, rdi
jb 0x14001008d
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14001008d
and rax, r9
cmp rax, r8
jne 0x140010097
mov r10, rcx
jmp 0x1400100df
mov rsi, qword [r14]
cmp qword [rsi + rax*8], 0
mov rdx, rcx
je 0x1400100d5
mov rsi, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x1400100b9
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rdx + 0x10]
je 0x1400100a4
mov qword [r10], rdx
mov rdx, qword [r14]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [rsi], rdx
mov rdx, qword [r14]
mov rax, qword [rdx + rax*8]
mov qword [rax], rcx
jmp 0x1400100df
mov qword [rsi + rax*8], r10
mov r10, rcx
mov r8, rax
mov rcx, qword [r10]
test rcx, rcx
jne 0x140010072
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401a6a70
ud2
Function at 0x1400147a0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x1400147cf
lea rax, [rdx - 1]
test rax, rdx
je 0x1400147cc
mov rcx, rdx
call fcn.140050cf0
mov rdi, rax
jmp 0x1400147cf
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x1400147eb
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x1400148a0
jae 0x140014893
cmp rbx, 3
jb 0x140014804
lea rax, [rbx - 1]
test rax, rbx
sete bpl
jmp 0x140014806
xor ebp, ebp
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140014816
cvtsi2ss xmm0, rax
jmp 0x14001482b
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1401ab560
cvttss2si rcx, xmm0
movss xmm1, dword [0x1401c8a60]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
test bpl, bpl
je 0x14001487b
cmp rax, 2
jb 0x140014883
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x140014883
mov rcx, rax
call fcn.140050cf0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jb 0x1400147d8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
test rdx, rdx
je 0x140014927
mov rdi, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x1400149cc
lea rcx, [rdi*8]
call fcn.140190820
mov rcx, qword [r14]
mov qword [r14], rax
test rcx, rcx
je 0x1400148de
call fcn.140190860
mov qword [r14 + 8], rdi
xor eax, eax
mov rcx, qword [r14]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x1400148e4
mov r10, qword [r14 + 0x10]
test r10, r10
je 0x1400149c2
lea rcx, [r14 + 0x10]
mov r8, qword [r10 + 8]
lea r9, [rdi - 1]
test r9, rdi
je 0x140014943
cmp r8, rdi
jb 0x140014946
mov rax, r8
xor edx, edx
div rdi
mov r8, rdx
jmp 0x140014946
mov rcx, qword [r14]
xor eax, eax
mov qword [r14], rax
test rcx, rcx
je 0x140014939
call fcn.140190860
mov qword [r14 + 8], 0
jmp 0x1400149c2
and r8, r9
mov rax, qword [r14]
mov qword [rax + r8*8], rcx
jmp 0x1400149ba
mov rax, qword [rcx + 8]
test r9, rdi
je 0x140014967
cmp rax, rdi
jb 0x14001496a
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14001496a
and rax, r9
cmp rax, r8
jne 0x140014974
mov r10, rcx
jmp 0x1400149ba
mov rsi, qword [r14]
cmp qword [rsi + rax*8], 0
mov rdx, rcx
je 0x1400149b0
mov rsi, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x140014994
mov ebx, dword [rcx + 0x10]
cmp ebx, dword [rdx + 0x10]
je 0x140014981
mov qword [r10], rdx
mov rdx, qword [r14]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [rsi], rdx
mov rdx, qword [r14]
mov rax, qword [rdx + rax*8]
mov qword [rax], rcx
jmp 0x1400149ba
mov qword [rsi + rax*8], r10
mov r10, rcx
mov r8, rax
mov rcx, qword [r10]
test rcx, rcx
jne 0x14001494f
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401a6a70
ud2
Function at 0x14001db50
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rcx
mov edi, 2
cmp rdx, 1
je 0x14001db7f
lea rax, [rdx - 1]
test rax, rdx
je 0x14001db7c
mov rcx, rdx
call fcn.140050cf0
mov rdi, rax
jmp 0x14001db7f
mov rdi, rdx
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14001db9b
mov rcx, rsi
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp 0x14001dc50
jae 0x14001dc43
cmp rbx, 3
jb 0x14001dbb4
lea rax, [rbx - 1]
test rax, rbx
sete bpl
jmp 0x14001dbb6
xor ebp, ebp
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14001dbc6
cvtsi2ss xmm0, rax
jmp 0x14001dbdb
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1401ab560
cvttss2si rcx, xmm0
movss xmm1, dword [0x1401c8a60]
movaps xmm2, xmm0
subss xmm2, xmm1
cvttss2si rax, xmm2
btc rax, 0x3f
ucomiss xmm0, xmm1
cmovb rax, rcx
test bpl, bpl
je 0x14001dc2b
cmp rax, 2
jb 0x14001dc33
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14001dc33
mov rcx, rax
call fcn.140050cf0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jb 0x14001db88
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
test rdx, rdx
je 0x14001dcd7
mov rdi, rdx
mov rax, rdx
shr rax, 0x3d
jne 0x14001dd8b
lea rcx, [rdi*8]
call fcn.140190820
mov rcx, qword [r14]
mov qword [r14], rax
test rcx, rcx
je 0x14001dc8e
call fcn.140190860
mov qword [r14 + 8], rdi
xor eax, eax
mov rcx, qword [r14]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14001dc94
mov r10, qword [r14 + 0x10]
test r10, r10
je 0x14001dd81
lea rcx, [r14 + 0x10]
mov r8, qword [r10 + 8]
lea r9, [rdi - 1]
test r9, rdi
je 0x14001dcf6
cmp r8, rdi
jb 0x14001dcf9
mov rax, r8
xor edx, edx
div rdi
mov r8, rdx
jmp 0x14001dcf9
mov rcx, qword [r14]
xor eax, eax
mov qword [r14], rax
test rcx, rcx
je 0x14001dce9
call fcn.140190860
mov qword [r14 + 8], 0
jmp 0x14001dd81
and r8, r9
mov rax, qword [r14]
mov qword [rax + r8*8], rcx
jmp 0x14001dd79
mov rax, qword [rcx + 8]
test r9, rdi
je 0x14001dd1a
cmp rax, rdi
jb 0x14001dd1d
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14001dd1d
and rax, r9
cmp rax, r8
jne 0x14001dd27
mov r10, rcx
jmp 0x14001dd79
mov rsi, qword [r14]
cmp qword [rsi + rax*8], 0
mov rdx, rcx
je 0x14001dd6f
mov rsi, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14001dd53
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rdx + 0x10]
jne 0x14001dd53
mov rbx, qword [rcx + 0x18]
cmp rbx, qword [rdx + 0x18]
je 0x14001dd34
mov qword [r10], rdx
mov rdx, qword [r14]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [rsi], rdx
mov rdx, qword [r14]
mov rax, qword [rdx + rax*8]
mov qword [rax], rcx
jmp 0x14001dd79
mov qword [rsi + rax*8], r10
mov r10, rcx
mov r8, rax
mov rcx, qword [r10]
test rcx, rcx
jne 0x14001dd02
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401a6a70
ud2

Function at 0x1400204f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
lea rcx, [0x140325eb8]
call fcn.140020310
mov rcx, rax
add rsp, 0x28
jmp fcn.14008d540