joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140056210
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140074770
sub rsp, rax
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140061f5c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14005625f
mov rax, rbp
jmp 0x140056367
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xd3570]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400621ec
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xd3570]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140056363
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140056363
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400621ec
test rax, rax
js 0x140056363
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140056363
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140056355
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140056355
cmp byte [rcx], 0xd
jne 0x14005633b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14005634a
cmp byte [rcx + 1], 0xa
jne 0x14005634a
inc rcx
jmp 0x14005634a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xc9490]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14005631d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140056367
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004dcc0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140056f50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140056f87
call fcn.14005cae0
mov dword [rax], 0x16
call fcn.1400599c0
xor eax, eax
jmp 0x140057015
mov rdx, r9
mov rcx, r8
call fcn.140056eec
mov rbx, rax
test rax, rax
je 0x140057012
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140056e18]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140056fff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14005ca54
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140056fe6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140056ff5
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400635dc
jmp 0x140057012
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14005700f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140059d84
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 0x140059df3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059df3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140059df3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059df3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140059df3
cmp dword [rcx + 0x84], 0xe
jbe 0x140059df3
cmp dword [rcx + 0xf8], 0
je 0x140059df3
mov ecx, ebx
call fcn.140059ea4
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.140059c80
nop
cmp dword [rbp + 0x20], 0
je 0x140059e41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140059e4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140059d84

Function at 0x140059f88
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 0x140059df3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059df3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140059df3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059df3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140059df3
cmp dword [rcx + 0x84], 0xe
jbe 0x140059df3
cmp dword [rcx + 0xf8], 0
je 0x140059df3
mov ecx, ebx
call fcn.140059ea4
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.140059c80
nop
cmp dword [rbp + 0x20], 0
je 0x140059e41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140059e4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140059d84
Function at 0x140062970
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400d3570]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400629c7
cmp word [rdx], r13w
jne 0x1400629c7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400629cc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140062af1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140062b12
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140062a05
mov rdx, r9
mov word [rbx], cx
jmp 0x140062a2c
cmp r9, r8
jae 0x140062a3c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400629e6
jmp 0x140062af1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140062ae6
cmp dword [rsp + 0x80], esi
je 0x140062ae6
lea r8, [0x1400d3570]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140062abe
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140062a8e
mov word [rbx], r13w
jmp 0x140062aee
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140062a9b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140062aee
cmp word [rsp + 0x70], r13w
jne 0x140062acb
cmp rbx, r14
je 0x140062a88
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400621f4
cmp word [rsp + 0x70], r13w
je 0x140062af1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400d3570]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140062aeb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140062af1
Function at 0x140067af8
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 0x140067b28
xor eax, eax
jmp 0x140067beb
mov rbp, rbx
cmp word [rax], si
je 0x140067b4d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140067b34
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140067b30
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.140067a18
movsxd r14, eax
test eax, eax
jne 0x140067b8b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140067b21
mov rcx, r14
call fcn.140064b00
mov rdi, rax
test rax, rax
jne 0x140067ba4
xor ecx, ecx
call fcn.1400635dc
jmp 0x140067b80
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.140067a18
test eax, eax
jne 0x140067bd5
mov rcx, rdi
call fcn.1400635dc
jmp 0x140067bdf
xor ecx, ecx
call fcn.1400635dc
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 0x140067c08
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 0x140067c8f
mov rsi, rbx
cmp word [rax], bp
je 0x140067c4e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140067c38
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140067c34
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140064b00
mov rdi, rax
test rax, rax
je 0x140067c7c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140078840
mov rbp, rdi
xor ecx, ecx
call fcn.1400635dc
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 0x14006b2b4
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.140062610
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 0x14006b355
cmp ebx, dword [rsp + 0x30]
je 0x14006b34e
test esi, esi
je 0x14006b34e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14006b329
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14006b336
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14006b313
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14006b33a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14006b357
mov eax, 1
jmp 0x14006b357
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14006c9f8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14006ca0e
mov al, 1
jmp 0x14006ca6e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14006ca1f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14006ca6c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140068bd0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006ca6c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14006ca6c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14006ca6c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14006ca6e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140073cf0
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.1400621f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400621f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140073e40
cmp rax, 0xffffffffffffffff
je 0x140073e40
xor edi, edi
test rbp, rbp
jle 0x140073deb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140063d74
mov rbx, rax
test rax, rax
jne 0x140073d78
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140073de1
mov edx, 0x8000
mov ecx, r14d
call fcn.14005afa0
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.14006ef84
cmp eax, 0xffffffff
je 0x140073dc1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140073d88
mov edx, r15d
mov ecx, r14d
call fcn.14005afa0
jmp 0x140073de1
cmp byte [rsi + 0x38], dil
je 0x140073dd8
cmp dword [rsi + 0x34], 5
jne 0x140073dd8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140073de1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400635dc
jmp 0x140073e54
jns 0x140073e54
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400621f4
cmp rax, 0xffffffffffffffff
jne 0x140073e0c
cmp byte [rsi + 0x30], dil
je 0x140073e54
mov edi, dword [rsi + 0x2c]
jmp 0x140073e54
mov ecx, r14d
call fcn.140068bd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140073e54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140073e54
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140073e4d
mov eax, dword [rsi + 0x2c]
jmp 0x140073e52
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400621f4
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 0x140074860
Capabilities:
Parse pe header

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

Disassembly:
call fcn.140a5a1df
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 0x140a5a089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a5a06f
add dl, dl
jne 0x140a5a096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a5a0f6
xor eax, eax
add dl, dl
jne 0x140a5a0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a5a1ad
add dl, dl
jne 0x140a5a0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a5a0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a5a0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a5a0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a5a0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a5a07e
mov eax, 1
add dl, dl
jne 0x140a5a106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a5a113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a5a0fb
sub eax, ebx
mov ebx, 1
jne 0x140a5a14c
mov ecx, 1
add dl, dl
jne 0x140a5a12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a5a13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a5a123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5a07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a5a168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a5a175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a5a15d
cmp eax, 0x7d00
jae 0x140a5a19b
cmp eax, 0x500
jb 0x140a5a196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5a07e
cmp eax, 0x7f
ja 0x140a5a19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a5a07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a5a1d2
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 0x140a5a07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140c1d783
Capabilities:
Encode data using base64

Disassembly:
movsxd rbp, ebp
adc r11, rbp
call fcn.140c4234c
mov esi, 0x2219153d
mov r10d, dword [rdi + rsi - 0x2219153d]
shl rsi, 0x37
lea r8, [rsi*8 - 0x6b6b9af1]
sets sil
adc rdi, 4
xor r10d, r9d
lea rax, [r8 + rsi*8 - 0x19dcdd6b]
not r10d
cwde
movzx ebp, sil
dec r8b
bswap r10d
movsx ecx, r8w
cbw
add r10d, esi
push rbp
cqo
bts esi, r8d
xor r10d, 0x1ada384
dec si
pop rax
call fcn.140c32baf
sbb ebp, 0xdfae3f33
xor rax, 0xffffffffc0a74202
bswap ebp
pop r10
adc dx, ax
xadd dword [rsp + rax + 0x3f588bec], esi
lea ebp, [rbp + rdx*4 - 0x60b1bfa1]
neg word [rsp + rsi - 0x3611]
mul word [rsp + rsi - 0x3616]
jo 0x140c1e6a4
rol ebp, 1
push rdx
neg ebp
mov r10d, 0xcf89c49a
add r8d, 0x45081d39
ror ebp, 3
dec r8b
pop rsi
ror r10d, 0x48
lea ebp, [rsi + rbp - 0x24987ff9]
mov qword [rsp + rsi - 0x3c4e3102], r9
cdqe
xadd rdx, r10
xor dword [rsp + rsi*2 - 0x789c6204], ebp
pop r9
shl eax, 0xe5
jae 0x140c1741a
mov ebp, 0x49c903e
sar rbp, 0x8d
movzx edx, byte [rdi + rbp*2 - 0x49c8]
lea rdi, [rdi + rbp - 0x24e3]
lea r10, [rbp*8 - 0x2efaeb58]
xor dl, r9b
add dl, 0x20
ror bpl, 0x62
lea rsi, [rbp*2 - 0x6eeb947d]
not dl
lea r8, [rbp + rsi*4 + 0x57ad4517]
movzx eax, si
neg dl
xor dl, 0x23
push rsi
xor r9b, dl
or bp, r8w
lea rdx, [rsp + rdx + 8]
cbw
shr rbp, 1
mov r10d, dword [rbp + rdx - 0x1e9e]
shr bp, 0x8f
lea rbx, [rbp + rbx - 4]
ror esi, 0x84
cdqe
mov dword [rbx + rbp], r10d
movzx r10d, word [rsp + rbp + 1]
and rax, qword [rsp + rbp]
mov r10d, dword [rdi + rbp]
lea rdi, [rsi + rdi - 0x59114b3b]
movsx ecx, ax
jp 0x140c497ba
mov eax, dword [rdi]
mov ecx, 0x430f2927
mov r10d, ecx
btr r10w, r10w
xor eax, r9d
movzx r8d, cl
xor r8w, r8w
rol rcx, cl
lea eax, [rax + r10 - 0x1a50d086]
imul r8d, ecx
neg eax
neg r8d
xor eax, 0x62284d9d
lea rsi, [rcx + r8*2 + 0x4989a63e]
sar cx, 0xe7
jne 0x140c20990
dec eax
sar sil, 0x23
push r9
movsx ebp, r8w
shl r10, 0x35
xor dword [rsp + r8], eax
rol si, 0x4b
lea r9, [rcx + rcx*4 + 0x7a9dd188]
pop r9
sal esi, 0x41
mov dword [rbx + r8*2 - 4], eax
lea rcx, [r8 + rsi - 0x72f43d73]
adc ebp, dword [rdi + r8*4 + 4]
movsx edx, r10b
bts dx, dx
sbb cl, ch
xor ebp, r9d
neg ebp
add ebp, edx
lea rax, [rsi + rdx*4 + 0x60a57a87]
bswap ebp
jmp 0x140c59ecd
add r8b, 0x15
neg cl
rol cl, 1
xchg sil, r10b
lea rax, [rdx + rdx*2 + 0x24242cba]
ror r10, 0x3d
xor r9b, cl
add rcx, rsp
mov r10d, dword [rcx + r8 - 0x6ced4615]
rol r8b, 1
or r8, rdx
mov ebp, eax
mov dword [rbx + rdx*2 - 0xc], r10d
sar rax, 0x16
xadd rsi, rdx
cbw
lea rbx, [rbx + rax - 0xff9c]
cdqe
call fcn.140c4a281
neg ebp
xor dx, si
imul edx, r10d
push r9
adc r10, rcx
xor dword [rsp + rcx - 0x201e7c71], ebp
not r10d
cbw
pop r9
xchg dl, sil
mov dword [rbx + rcx - 0x201e7c79], ebp
movzx ecx, byte [rdi + r8*2 + 8]
and dx, 0xd682
xor cl, r9b
and al, 0x84
ror rdx, 0xa
inc cl
sub sil, dl
ror cl, 1
sub r8d, esi
jns 0x140c5931d
Function at 0x140c1e396
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
rol ebp, 6
mov dword [rbx + r8 - 0x6655fffc], eax
mov qword [rsp + r8 - 0x66560000], rbp
lea rbx, [rbx + r8 - 0x6655fffc]
rol rbp, 0xd5
adc bp, r10w
mov r10d, edx
jns 0x140c2aade
xadd dword [rsp + r8 - 0x6655fffe], r8d
xchg dword [rsp + r8 - 0x8d42], esi
movzx eax, byte [rdi + r8 - 0x8d3e]
lea rdi, [rsi + rdi - 0x66568d3d]
xor al, r9b
sal word [rsp + rsi - 0x66568d42], 0x64
not al
bts r8w, r8w
or byte [rsp + r8 - 0x8d51], sil
xchg byte [rsp + rsi - 0x66568d43], sil
dec al
inc byte [rsp + r8*4 - 0x23550]
neg al
dec dword [rsp + r8*2 - 0x11aa5]
shr r8d, 0x57
dec al
ror bpl, 0x45
ror bpl, 5
xor r9b, al
ror sil, 0x21
jae 0x140c35801
lea rax, [rsp + rax + 8]
movsx edx, bp
lea rcx, [r8*2 - 0x22c771e3]
mov dword [rsi + rax - 0x66568dd8], r10d
mov qword [rsp + r8], r11
ret

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

Disassembly:
mov qword [rsp + r8 + 0x26501507], rax
xor dx, r9w
neg dx
not rcx
rol dx, 1
shr qword [rsp + rax + 0x164501e6], 0x5d
dec dx
neg dx
xor r9w, dx
mov word [rbx + r8*2 + 0x4ca02a10], dx
push rbp
shl rbp, cl
js 0x140c3d705
lea rbx, [r8 + rbx + 0x26501509]
jb 0x140c63eaf
xor dword [rsp + rax + 0x164501ee], eax
ja 0x140c27a85
Function at 0x140c1e418
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
mov qword [rsp + rsi*2 - 2], rcx
movsxd r8, r8d
cmovo r10, rdx
sub byte [rsp + rsi + 5], sil
add r11, r8
inc esi
shl r10d, 0x5c
add word [rsp + rsi], 0xc507
mov ebp, dword [rbx + rsi*4 - 8]
idiv word [rsp + rsi*2]
shr dword [rsp + rsi + 1], cl
dec si
lea rbx, [rbx + rsi*2 + 2]
movzx ecx, word [rdi + rsi*2 + 8]
jge 0x140c4e695
rol dl, 0xc6
adc r10, rsi
pop r9
jno 0x140c2c47c
mov ebp, 0x699d0686
lea rcx, [rbp + rbp - 0x5572ead7]
mov edx, dword [rbp + rdi - 0x699d0686]
sal cl, 3
lea rdi, [rdi + rbp - 0x699d0682]
push rbp
xor edx, r9d
movzx esi, byte [rsp + rcx - 0x7dc722a5]
bswap edx
or ebp, ebp
je 0x140c34687
sub rbp, rcx
dec edx
movsx eax, cx
xadd ebp, ecx
neg edx
btc ax, 0xa4
movzx r8d, bpl
jb 0x140c5d959
ror edx, 1
neg rsi
lea edx, [rdx + rsi*4 - 0x322f8571]
mov qword [rsp + rsi + 0x69], r9
xor dword [rsp + rbp - 0x699d0686], edx
not ecx
pop r9
movsxd rdx, edx
bts bp, bp
shl rax, cl
setbe r8b
adc r11, rdx
bswap rax
jmp 0x140c5a7ea
adc ecx, 0xfbb6b20f
movsxd rax, eax
not si
add r11, rax
jmp r11
xor esi, r9d
dec byte [rsp + 3]
pop rdx
inc esi
movsx eax, dx
div eax
cdq
not esi
mov r10d, eax
bswap esi
mul r10b
neg esi
push r9
xor dword [rsp + rdx], esi
pop r9
movsxd rsi, esi
jmp 0x140c5f92a
lea rdi, [rsi + rdi + 0xb]
sar rax, 0xb0
btc rsi, 0x12
jae 0x140c4e9d1
jns 0x140c4bdaa
mov rbp, qword [rbx]
jmp 0x140c55ad8
mov rax, qword [rbp + riz]
mov ebp, 0x1e8e6496
movzx edx, bpl
mov r10d, edx
mov qword [rbp + rbx - 0x1e8e6496], rax
movsx r8d, dx
mov eax, dword [rdi + rbp - 0x1e8e6496]
and ebp, edx
xor eax, r9d
movsx ecx, r10b
xadd r8d, ecx
lea eax, [rbp + rax + 0x74295521]
ror cx, 0x49
xchg bp, r10w
movsx esi, cx
neg eax
not ebp
btr ebp, r8d
lea eax, [rax + rdx - 0x783a63c2]
xchg r10, rbp
neg eax
push r9
sal ebp, 0xbe
sal rsi, 0x60
xor dword [rsp + rdx*2 - 0x12c], eax
bswap rdx
pop r9
call fcn.140c1beda
cdq
mov rcx, qword [rbp + rbx - 0x699d06c6]
add dx, word es:[rbp + rcx - 0x699d06c6]
not eax
movsx r10d, bpl
lea rbx, [rbx + rbp - 0x699d06c0]
mov ecx, 0x3c88b714
ror rax, 0x59
not r8w
mov word [rbx + rbp - 0x699d06c6], dx
not eax
mov edx, ebp
jmp r11
xor edx, r9d
movsx r8d, cl
movsx esi, r8b
bswap edx
xchg r10w, r8w
mov eax, r10d
neg ecx
ror edx, 2
lea rcx, [rcx + rax*8 + 0x4fa6c5bb]
bswap edx
shl r8b, 0xa5
movzx ebp, si
xor rcx, 0x70b7b89f
lea edx, [rdx + rax*2 - 0x53e8c175]
bt r8w, si
shl r10, 0x20
push r9
push rcx
adc cl, 0x8d
cbw
xor dword [rsp + rbp*2 - 0x1ff8a], edx
shl rcx, cl
mov r9, qword [rsp + rax - 0x47b9ffc1]
sal ebp, 0x38
shr r10, 0xae
movsxd rdx, edx
setp cl
add r11, rdx
mov rdx, qword [rbx + r10*2 - 0x23dce]
ror word [rsp + rax - 0x47b9ffc5], 0x2e
xchg ebp, eax
and ecx, 0x78861bb8
mov r8w, word ss:[rdx + rcx*2]
sar dword [rsp + rcx + 1], 0xf8
lea rbx, [rbx + rcx + 6]
cdq
mov word [rcx + rbx], r8w
sal r10b, 0xe5
cdqe
mov qword [rsp + rcx], r11
ret 8
ror rdx, 0xd0
div r10
add r11, rsi
lea rsi, [r10 + 0x710c1a0a]
mov r8, qword [rbx + rax]
btr dx, r10w
cdqe
mov rcx, qword gs:[rdx + r8 - 0x5eb87e80]
lea rbp, [rax + rax*4 + 0x3c228605]
mul sil
mov qword [rbx + rax*4], rcx
lea r8, [rsi*2 + 0x4a0cfb05]
add rax, r11
jmp rax