joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400344a0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
sub rsp, 0x38
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x14063dd70]
test rax, rax
jne 0x14003466f
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400041f0
nop
mov rcx, qword [rsp + 0x50]
or ebx, 0xffffffff
cmp dword [rcx - 0x10], 0
jl 0x140034605
lea rdx, str._Product:
call fcn.140360ee0
mov r11, rax
test rax, rax
je 0x140034605
mov rax, qword [rsp + 0x50]
sub r11, rax
sar r11, 1
test r11d, r11d
js 0x140034605
cmp dword [rax - 0x10], 0
jge 0x14003451c
mov ecx, ebx
jmp 0x140034542
lea rdx, str._Product
mov rcx, rax
call fcn.140360ee0
mov rcx, rax
test rax, rax
mov rax, qword [rsp + 0x50]
jne 0x14003453c
mov ecx, ebx
jmp 0x140034542
sub rcx, rax
sar rcx, 1
lea edi, [rcx + 9]
test edi, edi
js 0x14003457a
cmp edi, dword [rax - 0x10]
jg 0x14003457a
movsxd rcx, edi
lea rcx, [rax + rcx*2]
lea rdx, [0x140537038]
call fcn.140360ee0
mov r11, rax
test rax, rax
mov rax, qword [rsp + 0x50]
je 0x14003457a
sub r11, rax
sar r11, 1
cmp r11d, 0xffffffff
jne 0x14003457e
mov r11d, dword [rax - 0x10]
sub r11d, edi
mov r9d, r11d
mov r8d, edi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140004f20
nop
mov ecx, 0xc8
call fcn.1402245bc
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400345dd
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffffffffe8
call fcn.140003c60
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1400335c0
nop
mov qword [0x14063dd70], rax
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003464b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14003464b
mov ecx, 0xc8
call fcn.1402245bc
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140034644
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rdx, str.reimage
lea rcx, [rsp + 0x68]
call fcn.1400041f0
nop
mov rdx, rax
mov rcx, rdi
call fcn.1400335c0
nop
mov qword [0x14063dd70], rax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x140034668
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [0x14063dd70]
add rsp, 0x38
pop rdi
pop rbx
ret
Function at 0x140035cb0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
movsxd rbp, edx
mov r13, rcx
mov r12, qword [rcx + 0x50]
sub r12, qword [rcx + 0x48]
sar r12, 3
mov esi, r12d
cmp r12d, ebp
jge 0x140035e26
xor r14d, r14d
nop dword [rax]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, r13
lea r8, [0x140035c80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
mov qword [rsp + 0x80], rax
test rax, rax
je 0x140035e11
mov rcx, qword [r13 + 0x50]
lea rax, [rsp + 0x80]
cmp rax, rcx
jae 0x140035d95
mov rdx, qword [r13 + 0x48]
lea rax, [rsp + 0x80]
cmp rdx, rax
ja 0x140035d95
lea rdi, [rsp + 0x80]
sub rdi, rdx
sar rdi, 3
cmp rcx, qword [r13 + 0x58]
jne 0x140035d6f
mov edx, 1
lea rcx, [r13 + 0x48]
call fcn.1400326f0
mov rax, qword [r13 + 0x48]
mov rcx, qword [r13 + 0x50]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rcx
test rcx, rcx
je 0x140035d93
mov rax, qword [rax + rdi*8]
mov qword [rcx], rax
jmp 0x140035dc5
cmp rcx, qword [r13 + 0x58]
jne 0x140035da9
mov edx, 1
lea rcx, [r13 + 0x48]
call fcn.1400326f0
mov rax, qword [r13 + 0x50]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x140035dc5
mov qword [rax], rdi
add qword [r13 + 0x50], 8
cmp byte [r13 + 0xc8], 0
jne 0x140035ddd
inc dword [r13 + 0xd0]
jmp 0x140035e05
lea rcx, [r13 + 0xa0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [r13 + 0xd0]
lea rcx, [r13 + 0xa0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r11d, dword [r13 + 0xd0]
inc esi
cmp esi, ebp
jl 0x140035cf0
jmp 0x140035e26
lea rdx, str.ERROR:_CreateThread_for_GetConnection_failed__Try_again..._n
lea rcx, [0x140636e50]
call fcn.140019030
jmp 0x140035e67
mov ecx, 0xfa
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rdi, r12d
cmp rdi, rbp
jge 0x140035e56
nop dword [rax]
mov rcx, qword [r13 + 0x48]
mov rcx, qword [rcx + rdi*8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
inc rdi
cmp rdi, rbp
jl 0x140035e40
cmp r12d, ebp
jle 0x140035e67
mov rdx, rbp
lea rcx, [r13 + 0x48]
call fcn.140032960
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
add rcx, 0x70
call fcn.14005ccc0
cmp qword [rax + 0x18], 8
jb 0x140040fb7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x14004db70
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
add rcx, 0x70
call fcn.14005ccc0
cmp qword [rax + 0x18], 8
jb 0x14004db8c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x14004dbad
mov rcx, rbx
call fcn.140040fa0
test al, al
je 0x14004dbad
mov al, 1
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14006df00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov edx, dword [rdx + 0x20]
mov rsi, r8
mov rbx, rcx
cmp edx, dword [r8 + 0x20]
je 0x14006df33
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
test edx, edx
jne 0x14006df50
xor r9d, r9d
mov al, 1
mov dword [rcx + 0x20], r9d
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp byte [rcx + 0x10], 0xdb
je 0x14006df5e
mov byte [0], 0x78
cmp dword [rcx + 0x24], edx
jae 0x14006df68
call fcn.14006c3d0
mov eax, dword [rdi + 0x20]
mov ecx, dword [rbx + 0x24]
mov dword [rbx + 0x20], eax
cmp eax, ecx
jbe 0x14006df78
mov dword [rbx + 0x20], ecx
cmp qword [rbx + 0x18], 0
je 0x14006df21
xor r9d, r9d
cmp dword [rdi + 0x20], r9d
jbe 0x14006dfb2
nop dword [rax + rax]
mov rax, qword [rdi + 0x18]
mov rcx, qword [rsi + 0x18]
movzx edx, byte [r9 + rcx]
xor dl, byte [rax + r9]
mov rax, qword [rbx + 0x18]
mov byte [r9 + rax], dl
inc r9d
cmp r9d, dword [rdi + 0x20]
jb 0x14006df90
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x14007be70
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x190
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
movzx edx, byte [rsp + 0x30]
xor ecx, ecx
test eax, eax
cmove edx, ecx
mov rcx, rbx
mov byte [rsp + 0x30], dl
lea rdx, [rsp + 0x30]
call fcn.140068720
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x200
pop rbx
ret

Function at 0x14007bf00
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0xc0
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x76
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
movzx edx, byte [rsp + 0x30]
xor ecx, ecx
test eax, eax
cmove edx, ecx
mov rcx, rbx
mov byte [rsp + 0x30], dl
lea rdx, [rsp + 0x30]
call fcn.140068720
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0xc0
pop rbx
ret
Function at 0x14007ec20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x20
cmp dword [0x14063b7f8], 0
mov rbp, rdx
mov edi, ecx
jne 0x14007ec53
mov dword [0x14063b7f8], 1
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
call fcn.140364264
call fcn.14007ea10
test edi, edi
je 0x14007ed47
mov rcx, rbp
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
call fcn.140098650
mov rcx, rbp
add eax, edi
mov edx, eax
call fcn.14006ddb0
movzx eax, byte [0x14063b404]
xor esi, esi
test al, al
je 0x14007eca6
mov ebx, esi
test al, al
je 0x14007eca6
mov ecx, gethostbyname
call sub.KERNEL32.dll_Sleep
inc ebx
cmp ebx, 0x14
jge 0x14007eca6
movzx eax, byte [0x14063b404]
jmp 0x14007ec88
mov byte [0x14063b404], 1
test edi, edi
jle 0x14007ed26
lea eax, [rdi - 1]
mov qword [rsp + 0x40], r12
lea r12, [0x140000000]
shr eax, 2
inc eax
mov ebx, eax
lea esi, [rax*4]
nop
movsxd rcx, dword [0x1405e3f60]
movsxd rdx, dword [0x14063b400]
mov r8d, 4
movzx eax, byte [rdx + r12 + 0x5e3f70]
lea rdx, [r12 + rdx*4 + 0x63b410]
mov dword [0x14063b400], eax
movzx eax, byte [rcx + r12 + 0x5e3f70]
mov dword [0x1405e3f60], eax
mov eax, dword [r12 + rcx*4 + 0x63b410]
mov rcx, rbp
xor dword [rdx], eax
call fcn.14006c950
dec rbx
jne 0x14007ecd0
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov byte [0x14063b404], 0
cmp esi, edi
jle 0x14007ed42
sub esi, edi
mov rcx, rbp
mov edx, esi
call fcn.14006ba90
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14007f1e0
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1900
call fcn.1403622f0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x18f0], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400b2c20
nop
lea rcx, [rsp + 0x30]
call fcn.1400b2c60
mov ecx, 0x800
test al, al
jne 0x14007f242
lea rdx, [rsp + 0x8e0]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14007f262
mov ecx, 0x800
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1400657e0
jmp 0x14007f273
lea rdx, [rsp + 0x8e0]
mov rcx, rbx
call fcn.140066ce0
nop
lea rcx, [rsp + 0x30]
call fcn.1400b2c50
mov rcx, qword [rsp + 0x18f0]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x1900
pop rbx
ret
Function at 0x14007f2a0
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1900
call fcn.1403622f0
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x18f0], rax
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400b2c20
nop
lea rcx, [rsp + 0x30]
call fcn.1400b2c60
mov ecx, 0x800
test al, al
je 0x14007f30c
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1400657e0
nop
jmp 0x14007f36a
lea rdx, [rsp + 0x8e0]
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14007f359
lea rdx, [rsp + 0xd0]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
movzx ecx, byte [rsp + 0xd0]
xor edx, edx
test eax, eax
cmove ecx, edx
mov byte [rsp + 0xd0], cl
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.1400657e0
jmp 0x14007f36a
lea rdx, [rsp + 0x8e0]
mov rcx, rbx
call fcn.140066ce0
nop
lea rcx, [rsp + 0x30]
call fcn.1400b2c50
mov rcx, qword [rsp + 0x18f0]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x1900
pop rbx
ret
Function at 0x14007f460
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rdx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.1400654e0
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140067170
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.140066980
lea rcx, [rbp + 0x110]
call fcn.1400b2c20
nop
lea rcx, [rbp + 0x110]
call fcn.1400b2c60
lea rcx, [rsp + 0x30]
test al, al
je 0x14007f50b
call fcn.140065f20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
lea rcx, [rbp + 0x110]
call fcn.1400b2c50
nop
jmp 0x14007f61e
call fcn.140066c30
cmp eax, 0x104
jle 0x14007f5b3
lea rcx, [rbp + 0x70]
call fcn.1400654e0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14007f0c0
lea rcx, [rbp - 0x30]
call fcn.1400654e0
nop
lea rdx, [0x1404a58ac]
lea rcx, [rbp - 0x30]
call fcn.140066fe0
lea rcx, [rbp + 0x70]
call fcn.140066310
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140066fe0
lea rcx, [rbp - 0x30]
call fcn.140066cf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x14007f58b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rbp - 0x30]
call fcn.1400655a0
nop
lea rcx, [rbp + 0x70]
call fcn.1400655a0
nop
lea rcx, [rbp + 0x110]
call fcn.1400b2c50
nop
jmp 0x14007f61e
lea rcx, [rsp + 0x30]
call fcn.140066cf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test eax, eax
jne 0x14007f60c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test r12, r12
je 0x14007f601
mov edx, eax
mov rcx, r12
call fcn.1400aab30
mov rbx, qword [r12]
lea rcx, [rsp + 0x30]
call fcn.140066310
mov r8, rax
lea rdx, str.failedToDeleteFilepath
mov rcx, r12
call qword [rbx + 0x50]
mov ecx, 1
cmp esi, 2
cmove edi, ecx
test edi, edi
setne bl
lea rcx, [rbp + 0x110]
call fcn.1400b2c50
nop
lea rcx, [rsp + 0x30]
call fcn.1400655a0
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140360fe0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x14007fee0
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x180
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov edi, edx
mov rbx, rcx
lea rcx, [rsp + 0xd0]
call fcn.1400b2c20
nop
lea rcx, [rsp + 0xd0]
call fcn.1400b2c60
test al, al
je 0x14007ff42
mov edx, edi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne bl
jmp 0x14007ff7f
lea rcx, [rsp + 0x30]
call fcn.1400654e0
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140065850
lea rcx, [rsp + 0x30]
call fcn.140066cf0
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
lea rcx, [rsp + 0x30]
call fcn.1400655a0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400b2c50
movzx eax, bl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140360fe0
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
ret

Function at 0x14007ffb0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
lea rcx, [rsp + 0xd0]
call fcn.1400b2c20
nop
lea rcx, [rsp + 0xd0]
call fcn.1400b2c60
test al, al
je 0x140080003
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
jmp 0x14008003b
lea rcx, [rsp + 0x30]
call fcn.1400654e0
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140065850
lea rcx, [rsp + 0x30]
call fcn.140066cf0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.1400655a0
nop
lea rcx, [rsp + 0xd0]
call fcn.1400b2c50
mov eax, ebx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x180
pop rbx
ret
Function at 0x140080440
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov dword [r8], 0
mov dword [rdx], 0xffffffff
call fcn.140066c30
test eax, eax
jne 0x1400804ae
test rbx, rbx
je 0x1400804a7
mov rax, qword [rbx]
lea rdx, str.GetAttributes:_filename_is_empty
mov rcx, rbx
call qword [rax + 0x20]
xor al, al
jmp 0x140080639
lea rcx, [rsp + 0x30]
call fcn.1400654e0
nop
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.140067170
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.140066980
lea rcx, [rsp + 0x30]
call fcn.140066c30
mov ebx, eax
lea rcx, [rbp + 0x110]
call fcn.1400b2c20
nop
cmp ebx, 0x104
jge 0x140080531
lea rcx, [rsp + 0x30]
call fcn.140065cf0
test al, al
jne 0x140080514
lea rcx, [rbp + 0x110]
call fcn.1400b2c60
test al, al
je 0x140080531
lea rcx, [rsp + 0x30]
call fcn.140065f20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rdi], eax
cmp eax, 0xffffffff
jmp 0x14008060f
test ebx, ebx
jle 0x1400805f7
lea rcx, [rbp - 0x30]
call fcn.1400654e0
nop
lea rcx, [rbp + 0x70]
call fcn.1400654e0
nop
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.14007f0c0
lea rdx, [0x1404a58ac]
lea rcx, [rbp + 0x70]
call fcn.140066f80
test al, al
jne 0x1400805b0
lea rdx, [0x1404a58a8]
lea rcx, [rbp + 0x70]
call fcn.140066f80
lea rcx, [rbp - 0x30]
test al, al
je 0x1400805a2
lea rdx, str._UNC
call fcn.140065850
lea rcx, [rbp + 0x70]
call fcn.140066310
lea rdx, [rax + 1]
jmp 0x1400805c5
lea rdx, [0x1404a58ac]
call fcn.140065850
jmp 0x1400805b9
lea rcx, [rbp - 0x30]
call fcn.140065760
lea rcx, [rbp + 0x70]
call fcn.140066310
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.140066fe0
nop
lea rcx, [rbp + 0x70]
call fcn.1400655a0
lea rcx, [rbp - 0x30]
call fcn.140065b50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
lea rcx, [rbp - 0x30]
call fcn.1400655a0
jmp 0x14008060c
lea rcx, [rsp + 0x30]
call fcn.140065b50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp dword [rdi], 0xffffffff
jne 0x140080619
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
cmp dword [rdi], 0xffffffff
setne bl
lea rcx, [rbp + 0x110]
call fcn.1400b2c50
nop
lea rcx, [rsp + 0x30]
call fcn.1400655a0
movzx eax, bl
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x2c0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140080660
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rsi, rdx
mov rbx, rcx
lea rcx, [rbp]
call fcn.1400654e0
nop
mov rdx, rbx
lea rcx, [rbp]
call fcn.140067170
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp]
call fcn.140066980
lea rcx, [rbp + 0x140]
call fcn.1400b2c20
nop
lea rcx, [rbp + 0x140]
call fcn.1400b2c60
lea rcx, [rbp]
test al, al
je 0x1400806f5
call fcn.140065f20
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x1400807f0
call fcn.140066c30
test eax, eax
jle 0x1400807dc
lea rcx, [rsp + 0x60]
call fcn.1400654e0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400654e0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp]
call fcn.14007f0c0
lea rdx, [0x1404a58ac]
lea rcx, [rbp + 0xa0]
call fcn.140066f80
test al, al
jne 0x140080789
lea rdx, [0x1404a58a8]
lea rcx, [rbp + 0xa0]
call fcn.140066f80
lea rcx, [rsp + 0x60]
test al, al
je 0x14008077b
lea rdx, str._UNC
call fcn.140065850
lea rcx, [rbp + 0xa0]
call fcn.140066310
lea rdx, [rax + 1]
jmp 0x1400807a2
lea rdx, [0x1404a58ac]
call fcn.140065850
jmp 0x140080793
lea rcx, [rsp + 0x60]
call fcn.140065760
lea rcx, [rbp + 0xa0]
call fcn.140066310
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140066fe0
nop
lea rcx, [rbp + 0xa0]
call fcn.1400655a0
lea rcx, [rsp + 0x60]
call fcn.140066cf0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
lea rcx, [rsp + 0x60]
call fcn.1400655a0
jmp 0x1400807f2
lea rcx, [rbp]
call fcn.140066cf0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
test edi, edi
jne 0x14008083a
test rsi, rsi
je 0x140080838
lea rcx, [rsp + 0x28]
call fcn.140068bf0
nop
lea rcx, [rsp + 0x28]
call fcn.14006b800
mov rbx, qword [rsi]
lea rcx, [rsp + 0x28]
call fcn.140098640
mov r8, rax
lea rdx, str.errorMsg
mov rcx, rsi
call qword [rbx + 0x50]
nop
lea rcx, [rsp + 0x28]
call fcn.140068e70
test edi, edi
setne bl
lea rcx, [rbp + 0x140]
call fcn.1400b2c50
nop
lea rcx, [rbp]
call fcn.1400655a0
movzx eax, bl
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140360fe0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140094cc0
Capabilities:
Encode data using base64

Disassembly:
test edx, edx
je 0x140094f22
mov r11, rsp
push rbx
push rbp
push rsi
sub rsp, 0x160
mov rax, qword [0x140634590]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rsi, r8
mov ebx, edx
mov rbp, rcx
test rcx, rcx
je 0x140094f08
lea edx, [rdx + rdx*4 + 0xa]
mov eax, 0x55555556
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x30], r14
mov rcx, rsi
imul edx
mov r8d, edx
mov qword [r11 - 0x38], r15
shr r8d, 0x1f
add r8d, edx
lea eax, [r8 + r8]
cdq
idiv ebx
lea edx, [rax + r8 + 3]
mov r8d, 0x3f0
call fcn.140068630
mov eax, 0x55555556
xor r14d, r14d
xor r10d, r10d
xor r11d, r11d
lea r15, [0x1404a8420]
imul ebx
mov r12d, edx
shr r12d, 0x1f
add r12d, edx
test r12d, r12d
jle 0x140094e39
mov qword [rsp + 0x150], r13
mov edi, r12d
mov r13, rbp
nop
movzx edx, byte [r13]
movzx r9d, byte [r13 + 1]
movzx r8d, byte [r13 + 2]
mov eax, edx
and edx, 3
mov ecx, r9d
sar rax, 2
sar rcx, 4
shl edx, 4
and eax, 0x3f
and ecx, 0xf
and r9d, 0xf
movzx eax, byte [rax + r15]
shl r9d, 2
add r10d, 4
mov byte [rsp + r11 + 0x20], al
movsxd rax, edx
mov edx, r8d
or rcx, rax
and edx, 0x3f
add r14d, 3
movzx eax, byte [rcx + r15]
movsxd rcx, r9d
add r11, 4
mov byte [rsp + r11 + 0x1d], al
mov eax, r8d
add r13, 3
sar rax, 6
and eax, 3
or rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rsp + r11 + 0x1e], al
movzx eax, byte [rdx + r15]
mov byte [rsp + r11 + 0x1f], al
cmp r10d, 0x100
jl 0x140094e13
lea rdx, [rsp + 0x20]
mov r8d, r10d
mov rcx, rsi
call fcn.140068990
xor r10d, r10d
xor r11d, r11d
dec rdi
jne 0x140094d70
mov r13, qword [rsp + 0x150]
test r10d, r10d
je 0x140094e39
lea rdx, [rsp + 0x20]
mov r8d, r10d
mov rcx, rsi
call fcn.140068990
lea eax, [r12 + r12*2]
mov r12, qword [rsp + 0x158]
sub ebx, eax
dec ebx
je 0x140094ea9
dec ebx
jne 0x140094ef0
movsxd rax, r14d
mov rcx, rsi
movzx ebx, byte [rax + rbp]
movzx edi, byte [rax + rbp + 1]
mov eax, ebx
sar rax, 2
and eax, 0x3f
movzx edx, byte [rax + r15]
call fcn.140068030
mov r11d, edi
and ebx, 3
sar r11, 4
shl ebx, 4
mov rcx, rsi
and r11d, 0xf
movsxd rax, ebx
or r11, rax
movzx edx, byte [r11 + r15]
call fcn.140068030
and edi, 0xf
shl edi, 2
movsxd rax, edi
movzx edx, byte [rax + r15]
jmp 0x140094ede
movsxd rax, r14d
mov rcx, rsi
movzx ebx, byte [rax + rbp]
mov eax, ebx
sar rax, 2
and eax, 0x3f
movzx edx, byte [rax + r15]
call fcn.140068030
and ebx, 3
mov rcx, rsi
shl ebx, 4
movsxd rax, ebx
movzx edx, byte [rax + r15]
call fcn.140068030
mov dl, 0x3d
mov rcx, rsi
call fcn.140068030
mov dl, 0x3d
mov rcx, rsi
call fcn.140068030
mov r14, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x198]
mov r15, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140360fe0
add rsp, 0x160
pop rsi
pop rbp
pop rbx
repz ret