joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400bb27c
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.14009750c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bb306
cmp byte [rbp - 0x21], r15b
je 0x1400bb301
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bb33c
call fcn.1400ad944
test eax, eax
jne 0x1400bb328
cmp byte [rbp - 0x21], r15b
je 0x1400bb320
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bb33c
cmp byte [rbp - 0x21], r15b
je 0x1400bb339
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.14009cae8
test eax, eax
jne 0x1400bb3dc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14009750c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bb37b
cmp byte [rbp - 0x21], r15b
je 0x1400bb3b0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bb3b0
call fcn.1400ad944
test eax, eax
jne 0x1400bb39c
cmp byte [rbp - 0x21], r15b
je 0x1400bb395
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bb3b0
cmp byte [rbp - 0x21], r15b
je 0x1400bb3ad
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.14009cae8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bb3dc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bb3df
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bb3ed
mov rcx, rdi
call fcn.14006eb80
cmp byte [rbp + 0x3f], r15b
je 0x1400bb3fc
mov rcx, qword [rbp + 0x27]
call fcn.14006eb80
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 0x1400d9290
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400d929d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400d98e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x140127448]
test rax, rax
je 0x1400d99e5
cmp eax, 2
jne 0x1400d995c
mov ecx, 2
call fcn.140074720
test al, al
je 0x1400d99b5
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x87
mov r9d, 2
call fcn.140042260
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400d9a36
mov eax, 1
lock xadd qword [0x140127480], rax
test rax, rax
jle 0x1400d997c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140127400], eax
mov qword [0x1401273f8], rsi
mov rcx, qword [0x140121398]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140074720
test al, al
jne 0x1400d9a04
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14008ab00
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140127448]
test rax, rax
je 0x1400d99ec
jmp 0x1400d990e
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb3
mov r9d, 2
call fcn.140042260
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400bcbd0
mov rcx, rsi
call fcn.140042750
jmp 0x1400d99b5
Function at 0x1400dca10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140127550], 0
je 0x1400dca56
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14008ab00
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140127528]
test rdi, rdi
je 0x1400dcaf7
test byte [0x1401213c0], 1
je 0x1400dca39
cmp byte [rdi + 0x17], 0
jns 0x1400dca78
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140127550], rax
inc rax
cmp rax, 1
ja 0x1400dca39
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008cc30
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400dcbbe
xor esi, esi
jmp 0x1400dca39
mov ecx, 0x18
call fcn.1400897bc
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14008cc30
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400ffac0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14002f5c0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400dcb5b
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.140069560
cmp rax, 0xffffffffffffffff
je 0x1400dcba3
movzx ecx, byte [rdi + 0x17]
mov rdx, rcx
test cl, cl
jns 0x1400dcb7c
mov rdx, qword [rdi + 8]
cmp rdx, rax
jbe 0x1400dcc82
lea rbx, [rax + 1]
mov rdx, rdi
test cl, cl
jns 0x1400dcb93
mov rdx, qword [rdi]
js 0x1400dcc6d
mov byte [rdi + 0x17], bl
mov word [rdx + rax*2 + 2], 0
lea rdx, str.debug.log
mov rcx, rdi
call fcn.140030d60
mov qword [0x140127528], rdi
jmp 0x1400dca66
mov rcx, qword [0x140127528]
lea rdx, [rsp + 0x40]
call fcn.140030810
mov rcx, qword [0x140127528]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1400dcc76
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400dcc00
lea rdx, [0x14010345a]
call fcn.140030d60
mov rcx, qword [0x140127528]
lea rdx, str.debug.log
call fcn.140030d60
mov rcx, qword [0x140127528]
cmp byte [rcx + 0x17], 0
jns 0x1400dcc1c
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140127550], rax
inc rax
cmp rax, 1
ja 0x1400dca39
mov qword [0x140127550], 0
jmp 0x1400dcaf0
mov qword [rdi + 8], rbx
jmp 0x1400dcb9c
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
jmp 0x1400dcbe5
call fcn.1400a1f00
int3
Function at 0x1400ddfc0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400ddffa
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400de0f5
jae 0x1400de0eb
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400de015
cvtsi2ss xmm0, rax
jmp 0x1400de02a
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400de008
mov rdi, rdx
jmp 0x1400ddfd7
mov rcx, rdx
call fcn.140066c60
mov rdi, rax
jmp 0x1400ddfd7
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.1400bc0b0
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x140100580]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400de0d7
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400de0d7
cmp rax, 2
jb 0x1400de0df
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400de0df
mov rcx, rax
call fcn.140066c60
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rsi
jb 0x1400de0f5
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400c0f90
Function at 0x1400e3350
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rbp, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rbp
je 0x1400e33e8
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.1400e2c00
test al, al
jne 0x1400e33ac
add rdi, 0x70
cmp rdi, rbp
jne 0x1400e3391
mov rdi, rbp
cmp rdi, qword [rsi + 0x58]
je 0x1400e33e8
cmp byte [rdi + 0x27], 0
jns 0x1400e33be
mov rcx, qword [rdi + 0x10]
jmp 0x1400e33c2
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x1400e33e8
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008ab00
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400eaf40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eaf6a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eaf8c
mov edi, eax
test bl, bl
jne 0x1400eaf84
mov eax, edi
and eax, 0x400
jne 0x1400eaf9a
and edi, 0x10
shr edi, 4
jmp 0x1400eaf9c
mov ecx, 2
call fcn.140074720
test al, al
jne 0x1400eafb9
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008ab00
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.1400dd030
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bcbd0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.14006ddf0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb038
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400bcbd0
cmp byte [rsp + 0x57], 0
jns 0x1400eb054
mov rcx, qword [rsp + 0x40]
call fcn.1400897f8
lea rcx, [rsp + 0x58]
call fcn.1400dd0b0
jmp 0x1400eaf9a
Function at 0x1400eb070
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb097
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eb0c7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008ab00
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140074720
test al, al
jne 0x1400eb0d9
xor esi, esi
jmp 0x1400eb0ab
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.1400dd030
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bcbd0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14006ddf0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb158
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400bcbd0
cmp byte [rsp + 0x4f], 0
jns 0x1400eb174
mov rcx, qword [rsp + 0x38]
call fcn.1400897f8
lea rcx, [rsp + 0x50]
call fcn.1400dd0b0
jmp 0x1400eb0d5

Function at 0x1400eb190
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb1b7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eb1ce
and eax, 0x410
cmp eax, 0x410
je 0x1400eb215
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400eb1da
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x1400eb203
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008ab00
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140074720
test al, al
jne 0x1400eb236
xor edi, edi
jmp 0x1400eb1e7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008ab00
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400eb2e0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x95
mov r9d, 2
call fcn.1400dd030
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400bcbd0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14006ddf0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb2b5
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400bcbd0
cmp byte [rsp + 0x4f], 0
jns 0x1400eb2d1
mov rcx, qword [rsp + 0x38]
call fcn.1400897f8
lea rcx, [rsp + 0x50]
call fcn.1400dd0b0
jmp 0x1400eb211
Function at 0x1400eb2e0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140119028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb308
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400eb322
mov ecx, 2
call fcn.140074720
test al, al
jne 0x1400eb344
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008ab00
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x30
mov r9d, 2
call fcn.1400dd030
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400bcbd0
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14006ddf0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400eb3c3
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400bcbd0
cmp byte [rsp + 0x57], 0
jns 0x1400eb3df
mov rcx, qword [rsp + 0x40]
call fcn.1400897f8
lea rcx, [rsp + 0x58]
call fcn.1400dd0b0
jmp 0x1400eb322
Function at 0x1400020e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov r12d, dword [rax + rcx + 0x1c]
mov r13d, dword [rax + rcx + 0x20]
add r13, rcx
mov ebp, dword [rax + rcx + 0x24]
add rbp, rcx
lea r14, [rsp + 0x28]
mov r15d, dword [r13]
add r15, rsi
mov rcx, r15
call sub.msvcrt.dll_strlen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.1400047c0
cmp qword [rsp + 0x28], 0
jne 0x140002188
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r8, rbx
mov r9, rdi
call fcn.14000160a
test al, al
jne 0x140002169
add r13, 4
add rbp, 2
jmp 0x140002121
add r12, rsi
movzx eax, word [rbp]
mov eax, dword [r12 + rax*4]
add rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
lea r8, [rsp + 0x40]
movaps xmmword [r8], xmm0
lea rax, str.src_main.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140039bb8]
mov edx, 0x2b
call fcn.1400049d0
ud2

Function at 0x140006310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400063a0
cmp r11, r10
ja 0x140006416
cmp r10, rdx
ja 0x14000642a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400063a2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140006380
jmp 0x140006404
ja 0x1400063aa
mov r11, r10
cmp rax, r8
jne 0x140006344
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400063e0
mov rdi, r8
sub ecx, edx
jns 0x1400063fb
jmp 0x140006406
cmp r8, rsi
je 0x14000643b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140006406
xor al, 1
cmp rdi, rsi
jne 0x1400063c0
jmp 0x140006406
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140004640
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140003c30
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_cc66ad468955717ab92600c770da8c1601a4ff33library_alloc_srccollections_btree_navigate.rsinvalid_args
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140003fc0
ud2
Function at 0x14000cd80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.1400036b0
cmp rax, rcx
je 0x14000cda5
cmp rdx, 4
jae 0x14000cda8
xor r8d, r8d
xor eax, eax
jmp 0x14000ce40
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140038730]
movdqa xmm3, xmmword [0x140038740]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000cdd0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000ce57
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000ce40
ret
Function at 0x14000e150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x14000e1ab
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x14000e1ab
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x14000e1c6
cmp eax, 0x42
jne 0x14000e1ab
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x14000e276
cmp byte [r9 + r11], 0x5f
jne 0x14000e276
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x14000e2de
mov rcx, rsi
xor edx, edx
call fcn.1400097f0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400097f0
test al, al
jne 0x14000e371
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e202
lea rdx, [0x14003e80c]
mov r8d, 1
call fcn.140003ca0
test al, al
jne 0x14000e371
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x14000e1ba
xor r14d, r14d
lea rbx, [0x14003ebc0]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x14000e234
cmp byte [rax + rcx], 0x45
je 0x14000e393
sub r14, 1
jb 0x14000e259
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e259
mov r8d, 2
mov rdx, rbx
call fcn.140003ca0
test al, al
jne 0x14000e371
mov rcx, rsi
call fcn.14000aff0
test al, al
jne 0x14000e371
mov rax, qword [rsi]
test rax, rax
jne 0x14000e220
jmp 0x14000e1ba
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x14000e338
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x14000e2d2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x14000e2bc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x14000e2ab
add dl, 0xa9
jmp 0x14000e2ba
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x14000e338
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x14000e338
movzx edx, bl
add rax, rdx
jae 0x14000e280
jmp 0x14000e338
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x14000e338
cmp rax, rcx
jae 0x14000e335
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14000e38b
cmp qword [rsi + 0x20], 0
je 0x14000e384
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.14000e150
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000e1bc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000e379
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x14003eb80]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140003ca0
test al, al
je 0x14000e379
mov dil, 2
jmp 0x14000e1ba
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x14000e1ba
mov dil, 1
xor r8d, r8d
jmp 0x14000e33a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x14000e1ba
Function at 0x140011690
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x140011783
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x1400116c4
mov rdi, rax
cmp qword [rax + 8], 0
je 0x1400116c4
add rdi, 0x10
jmp 0x140011779
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x140011796
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x140011777
mov rsi, rax
test rax, rax
jne 0x140011747
mov qword [rsp + 0x30], 0
lea rax, [0x140037050]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x140047030]
mov ecx, 0x20
mov edx, 8
call fcn.140002620
test rax, rax
je 0x1400117b9
mov rsi, rax
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov ecx, dword [0x140037068]
test ecx, ecx
je 0x1400117a9
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rdi, [rsi + 0x10]
cmp qword [rsi + 8], 0
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 8], 1
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
je 0x140011779
test rcx, rcx
je 0x140011779
lock dec qword [rcx]
jne 0x140011779
call fcn.140011800
jmp 0x140011779
xor edi, edi
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
lea rcx, [0x140037050]
call fcn.140011a30
mov ecx, eax
jmp 0x1400116a6
lea rcx, [0x140037050]
call fcn.140011a30
mov ecx, eax
jmp 0x1400116d4
lea rcx, [0x140037050]
call fcn.140011a30
mov ecx, eax
jmp 0x14001173f
mov ecx, 8
mov edx, 0x20
call fcn.140002a80
ud2