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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x48]
sub rsp, 0x140
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
xor ebx, ebx
cmp byte [rcx + 0x10], bl
je 0x14004c8a5
call fcn.14004ca3c
test al, al
je 0x14004c9d8
mov dword [rsp + 0x30], ebx
lea rax, [rsi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004c95a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14004c925
cmp eax, 0x3e5
je 0x14004c91f
lea rax, str.Channel_read_failure
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400bc498
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x60], rax
lea rdx, [0x1401630d0]
lea rcx, [rsp + 0x60]
call fcn.1400c0ee8
int3
mov byte [rsi + 0x10], 1
jmp 0x14004c95a
lea rcx, [rsp + 0x40]
call fcn.1400bc510
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x40], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x40], rax
lea rdx, [0x140163088]
lea rcx, [rsp + 0x40]
call fcn.1400c0ee8
int3
cmp byte [rsi + 0x10], bl
jne 0x14004c9d8
lea rdi, [rsi + 0x48]
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
mov edx, dword [rsp + 0x30]
add rdx, rbx
mov rcx, rdi
call fcn.140022ef4
mov r8d, dword [rsp + 0x30]
mov rcx, qword [rdi]
add rcx, rbx
mov rdx, qword [rsi + 0x60]
call fcn.1400b9040
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [0x14019fd80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x30c30c31
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x15
sub r8d, edx
cmp r8d, 8
jne 0x14004c9d4
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov al, 1
jmp 0x14004c9da
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400b9010
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004e00c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov r11, rdx
mov r9, rcx
test r8d, r8d
jle 0x14004e063
mov rbx, rcx
sub r11, rcx
mov eax, 0x91a2b3c5
imul r10d
add edx, r10d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r10d
inc r10d
imul edx, edx, 0xe1
sub eax, edx
movsxd rcx, eax
lea rax, str._they_brought_their_cattle_unto_Joseph:_and_Joseph_gave_them_bread_in_exchange_for_horses__and_for_the_flocks__and_for_the_cattle_of_the_herds__and_for_the_asses:_and_he_fed_them_with_bread_for_all_their_cattle_for_that_year.
mov al, byte [rcx + rax]
xor al, byte [r11 + rbx]
mov byte [rbx], al
inc rbx
cmp r10d, r8d
jl 0x14004e025
mov rbx, qword [rsp + 8]
mov rax, r9
ret
Function at 0x140053878
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400be0c0
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, r8
mov rbx, rcx
lea r8, str._ver
lea rcx, [rsp + 0x40]
call fcn.140017478
nop
and dword [rsp + 0x38], 0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x61]
call fcn.1400be450
mov dword [rsp + 0x30], 0x1000
or dword [rsp + 0x34], 0xffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005398c
lea r9d, [rax + 3]
cmp dword [rsp + 0x34], r9d
jne 0x14005398c
cmp dword [rsp + 0x30], 0x1000
je 0x14005398c
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x140053988
lea rdx, str.error_writing_ver
lea rcx, [rsp + 0x50]
call fcn.1400029b8
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x40]
call fcn.1400495d0
nop
mov rdx, qword [rsp + 0x50]
jmp 0x1400539b2
mov bl, 1
jmp 0x1400539c8
lea rdx, str.error_reading_ver
lea rcx, [rsp + 0x48]
call fcn.1400029b8
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 0x40]
call fcn.1400495d0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400539c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor bl, bl
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400539e2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, bl
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400b9010
add rsp, 0x1070
pop rdi
pop rbx
pop rbp
ret
Function at 0x14005418c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140054219
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140054219
call fcn.140003978
mov ebx, eax
jmp 0x140054328
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14005423a
call fcn.140003978
jmp 0x140054317
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140054230
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140054275
mov ebx, 0x8007000e
jmp 0x140054319
mov ecx, eax
test eax, eax
je 0x1400542ad
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400542a3
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400542ad
lea rcx, [rsp + 0x70]
call fcn.1400562bc
jmp 0x1400542b7
mov ecx, 0x80070216
call fcn.140001874
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400542c9
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x14005426b
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140054230
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140054fec
mov ebx, eax
test rsi, rsi
je 0x140054328
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14005433f
lea rcx, [rsp + 0x70]
call fcn.1400562b4
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400b9010
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005ad10
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400be0c0
sub rsp, rax
lea r8, [0x140165d08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140061740
cmp dword [0x14016524c], 0
jne 0x14005ad5c
mov edx, 1
lea r8, [0x140165d20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140061740
mov edx, 1
lea r8, [0x140165d38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140061740
mov edx, 1
lea r8, [0x140165d50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140061740
cmp dword [0x14016524c], 0
jne 0x14005adb7
mov edx, 1
lea r8, [0x140165d68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140061740
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x14019bfe0]
lea rbx, [0x14019cfc8]
mov edi, 1
lea rbp, [0x140165d80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x14005ae1b
mov ecx, edi
call fcn.1400be314
test rax, rax
je 0x14005ae12
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400be1b0
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x14005ae1b
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x14005ade5
mov edx, 1
lea r8, [0x140165d88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14016524c], 0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.140061740
Function at 0x14005dd90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r10, dword [rdx + 8]
lea rbx, [rcx - 1]
movsxd rcx, dword [r8 + 8]
xor rcx, r10
shr rbx, 0x3f
movsxd rsi, r9d
dec rbx
lea eax, [rsi - 1]
mov r11, r8
and rcx, rbx
mov rdi, rdx
xor r10d, ecx
mov dword [rdx + 8], r10d
xor dword [r8 + 8], ecx
cmp eax, 9
ja case.default.0x14005dde7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x5df90]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x14005dde7.10
nop word [rax + rax]
mov rax, qword [r11]
mov r8, qword [rdi]
inc r9
mov rcx, qword [r8 + r9*8 - 8]
mov rdx, qword [rax + r9*8 - 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + r9*8 - 8], rcx
mov rax, qword [r11]
xor qword [rax + r9*8 - 8], rdx
cmp r9, rsi
jl 0x14005de00
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x48]
mov rdx, qword [rax + 0x48]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x48], rcx
mov rax, qword [r11]
xor qword [rax + 0x48], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rax + 0x40]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x40], rcx
mov rax, qword [r11]
xor qword [rax + 0x40], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x38]
mov rdx, qword [rax + 0x38]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x38], rcx
mov rax, qword [r11]
xor qword [rax + 0x38], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x30]
mov rdx, qword [rax + 0x30]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x30], rcx
mov rax, qword [r11]
xor qword [rax + 0x30], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x28]
mov rdx, qword [rax + 0x28]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x28], rcx
mov rax, qword [r11]
xor qword [rax + 0x28], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x20]
mov rdx, qword [rax + 0x20]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x20], rcx
mov rax, qword [r11]
xor qword [rax + 0x20], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x18]
mov rdx, qword [rax + 0x18]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x18], rcx
mov rax, qword [r11]
xor qword [rax + 0x18], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [rax + 0x10]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, qword [r11]
xor qword [rax + 0x10], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 8]
mov rdx, qword [rax + 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 8], rcx
mov rax, qword [r11]
xor qword [rax + 8], rdx
mov r8, qword [rdi]
mov rax, qword [r11]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x18]
xor rcx, rdx
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rdx, rcx
mov qword [r8], rdx
mov rax, qword [r11]
xor qword [rax], rcx
ret
Function at 0x140060f60
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400be0c0
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x140060f7c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x14019db58], 0
je 0x14006103b
mov edx, 0x1d
lea r8, [0x140166960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.140061740
mov rcx, qword [0x14019db20]
test rcx, rcx
je 0x140061041
call fcn.1400714e0
cmp edi, eax
jge 0x140061041
mov rcx, qword [0x14019db20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.1400714f0
mov rbx, rax
test rax, rax
je 0x140060ff8
dec dword [rax]
cmp dword [rax], 0
jg 0x140060ff6
mov rcx, qword [0x14019db20]
xor r8d, r8d
mov edx, edi
call fcn.140071510
jmp 0x140060ff8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x140166990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.140061740
test rbx, rbx
je 0x140061036
mov rcx, qword [rbx + 8]
lea rdx, [0x1401669a8]
mov r8d, 0x14f
call qword [0x14019db58]
mov rcx, rbx
call fcn.140062c10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x140166978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.140061740
Function at 0x140061710
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
test r8, r8
je 0x140061733
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor al, byte [rcx - 1]
or r9b, al
sub r8, 1
jne 0x140061720
movzx eax, r9b
ret

Function at 0x140061740
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1400be0c0
sub rsp, rax
mov edi, r9d
mov rsi, r8
mov ebx, edx
mov ebp, ecx
test edx, edx
jns 0x1400617d0
cmp qword [0x14019db50], 0
je 0x1400617de
mov ecx, edx
call fcn.140061060
test rax, rax
je 0x14006179b
mov r9d, edi
mov r8, rsi
mov rdx, rax
mov ecx, ebp
call qword [0x14019db50]
mov ecx, ebx
call fcn.140060f60
jmp 0x1400617de
lea r9, str.pointer___NULL
lea rdx, str..cryptocryptlib.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x253
call fcn.140061400
mov ecx, 0x16
call fcn.1400bf218
mov ecx, 3
call fcn.1400beed0
int3
mov rax, qword [0x14019db28]
test rax, rax
je 0x1400617de
call rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140062480
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x1400624d7
movzx eax, byte [rcx]
test al, al
je 0x1400624d7
mov r10d, 0x100
nop dword [rax + rax]
movsx edx, al
inc r9
or edx, r10d
add r10d, 0x100
mov eax, edx
shr eax, 2
xor eax, edx
and eax, 0xf
movzx ecx, al
mov al, byte [r9]
imul edx, edx
rol r8d, cl
xor r8d, edx
test al, al
jne 0x1400624a0
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

Function at 0x1400659d0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400be0c0
sub rsp, rax
lea r8, [0x1401674d0]
lea edx, [rax - 0x26]
lea ecx, [rax - 0x1f]
mov r9d, 0xcb
call fcn.140061740
mov rax, qword [0x14019dbe8]
mov edx, 2
test rax, rax
lea r11, [0x1401674a0]
lea r8, [0x1401674e8]
cmovne r11, rax
lea ecx, [rdx + 8]
mov r9d, 0xce
mov qword [0x14019dbe8], r11
add rsp, 0x28
jmp fcn.140061740
Function at 0x140073e30
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
push r13
mov eax, 0x68
call fcn.1400be0c0
sub rsp, rax
mov rax, qword [0x140197e90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0xb0]
lea edi, [rdx - 1]
mov esi, r9d
lea eax, [rdi - 0x29]
mov r13, r8
cmp r9d, eax
jle 0x140073e93
mov edx, 0x79
lea r9, [0x14017bd78]
mov dword [rsp + 0x20], 0x2d
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 0xb]
call fcn.14005b5e0
xor eax, eax
jmp 0x14007406d
cmp edi, 0x29
jge 0x140073ebf
mov edx, 0x79
lea r9, [0x14017bd90]
mov dword [rsp + 0x20], 0x33
lea ecx, [rdx - 0x75]
lea r8d, [rdx - 1]
call fcn.14005b5e0
xor eax, eax
jmp 0x14007406d
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov byte [rcx], 0
lea rbp, [rcx + 0x15]
lea rbx, [rcx + 1]
call fcn.14007e830
movsxd rdx, dword [rsp + 0xb8]
xor r9d, r9d
mov r8, rbp
mov rcx, r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1400855a0
test eax, eax
je 0x140073f86
mov eax, edi
lea rcx, [rbp + 0x14]
xor edx, edx
sub eax, esi
sub eax, 0x29
movsxd r8, eax
call fcn.1400be450
movsxd r11, esi
movsxd rax, edi
sub rax, r11
mov r8, rsi
mov rdx, r13
lea rcx, [rax + rbp - 0x14]
mov byte [rax + rbp - 0x15], 1
call fcn.1400b9040
mov edx, 0x14
mov rcx, rbx
call fcn.140061990
test eax, eax
jle 0x140073f86
add edi, 0xffffffec
lea rdx, [0x14017bda8]
mov r8d, 0x49
mov ecx, edi
call fcn.140062980
mov rsi, rax
test rax, rax
jne 0x140073f8d
lea r9, [0x14017bdc0]
lea edx, [rax + 0x79]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x4c
call fcn.14005b5e0
xor eax, eax
jmp 0x140074063
mov r9d, 0x14
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.140073dd0
test eax, eax
js 0x140073f86
test edi, edi
jle 0x140073fd1
mov r11, rsi
mov rcx, rbp
mov r10d, edi
sub r11, rbp
nop word [rax + rax]
movzx eax, byte [r11 + rcx]
inc rcx
xor byte [rcx - 1], al
sub r10, 1
jne 0x140073fc0
call fcn.14007e830
lea rcx, [rsp + 0x30]
mov r9d, edi
mov r8, rbp
mov edx, 0x14
mov qword [rsp + 0x20], rax
call fcn.140073c50
test eax, eax
js 0x140073f86
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea r9, [rsp + 0x32]
lea r10, [rsp + 0x33]
lea r11, [rsp + 0x34]
sub rdx, rbx
sub r8, rbx
sub r9, rbx
sub r10, rbx
sub r11, rbx
mov ecx, 4
movzx eax, byte [rdx + rbx]
add rbx, 5
xor byte [rbx - 5], al
movzx eax, byte [r8 + rbx - 5]
xor byte [rbx - 4], al
movzx eax, byte [r9 + rbx - 5]
xor byte [rbx - 3], al
movzx eax, byte [r10 + rbx - 5]
xor byte [rbx - 2], al
movzx eax, byte [r11 + rbx - 5]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x140074021
mov rcx, rsi
call fcn.140062c10
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b9010
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140074420
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x38
call fcn.1400be0c0
sub rsp, rax
mov r10, rcx
cmp dword [rsp + 0x60], r9d
jne 0x14007450d
movzx eax, byte [r8]
cmp al, 0x6a
je 0x14007444b
cmp al, 0x6b
jne 0x14007450d
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp al, 0x6b
jne 0x1400744bc
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x140074478
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x140074478
cmp cl, 0xbb
jne 0x1400744ab
inc eax
cmp eax, ebx
jl 0x140074462
sub ebx, eax
test eax, eax
jne 0x1400744c0
mov dword [rsp + 0x20], 0x8a
lea r9, [0x14017be80]
mov edx, 0x80
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.14005b5e0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x81
lea r9, [0x14017be68]
jmp 0x14007448d
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1400744f6
mov edx, 0x80
lea r9, str..crypto_rsa_rsa_x931.c
mov dword [rsp + 0x20], 0x93
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.14005b5e0
mov rbx, qword [rsp + 0x30]
or eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r10
call fcn.1400b9040
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
lea r9, [0x14017be50]
mov dword [rsp + 0x20], 0x72
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.14005b5e0
or eax, 0xffffffff
add rsp, 0x38
ret

Function at 0x14007a4a0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 8
call fcn.1400be0c0
sub rsp, rax
xor r11d, r11d
mov r10, rdx
mov r9, rcx
test r8d, r8d
jle 0x14007a5b6
mov qword [rsp], rbx
lea rbx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
cmp r8d, 3
jl 0x14007a533
movzx eax, byte [r10 + 1]
movzx ecx, byte [r10]
shl ecx, 8
or ecx, eax
movzx eax, byte [r10 + 2]
shl ecx, 8
or ecx, eax
mov eax, ecx
mov edx, ecx
shr rax, 0x12
and edx, 0x3f
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov eax, ecx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
mov eax, ecx
shr rax, 6
and eax, 0x3f
add r9, 4
movzx eax, byte [rax + rbx]
mov byte [r9 - 2], al
movzx eax, byte [rdx + rbx]
mov byte [r9 - 1], al
jmp 0x14007a591
movzx ecx, byte [r10]
shl ecx, 0x10
cmp r8d, 2
jne 0x14007a54a
movzx eax, byte [r10 + 1]
shl eax, 8
or ecx, eax
mov rax, rcx
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9], al
mov rax, rcx
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rax + rbx]
mov byte [r9 + 1], al
cmp r8d, 1
jne 0x14007a579
lea eax, [r8 + 0x3c]
jmp 0x14007a584
shr rcx, 6
and ecx, 0x3f
movzx eax, byte [rcx + rbx]
mov byte [r9 + 2], al
mov byte [r9 + 3], 0x3d
add r9, 4
sub r8d, 3
add r11d, 4
add r10, 3
test r8d, r8d
jg 0x14007a4d0
mov rbx, qword [rsp]
mov byte [r9], 0
mov eax, r11d
add rsp, 8
ret
mov byte [rcx], r11b
mov eax, r11d
add rsp, 8
ret
Function at 0x1400856d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x28
call fcn.1400be0c0
sub rsp, rax
cmp dword [0x140189ca4], 0
je 0x140085719
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400856fd
mov dword [0x140189ca4], eax
jmp 0x140085719
xorpd xmm2, xmm2
lea rcx, [rsp + 0x38]
mov edx, 8
call fcn.140061940
cmp dword [0x140189ca4], 0
jne 0x140085736
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorpd xmm2, xmm2
lea rcx, [rsp + 0x30]
mov edx, 4
mov dword [rsp + 0x30], eax
call fcn.140061940
add rsp, 0x28
ret