joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140121b58]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140035e37
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, [0x1400fdb20]
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400faa70]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov rax, r13
shl rax, 4
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rax + r12]
mov rbp, qword [rax + r12 + 8]
mov byte [rsp + 0x77], bpl
mov r8, rbp
add r8, rbp
mov r15, rsi
mov rcx, rsi
call fcn.1400890c0
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x140035d59
mov rcx, qword [rsp + 0x68]
cmp rcx, rdi
ja 0x140035e91
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x140035e9c
mov rdx, rsi
test al, al
jns 0x140035d7d
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x140035dce
inc rbp
cmp rcx, rbp
jne 0x140035d7f
mov rbp, rcx
test al, al
js 0x140035ea3
test r14b, r14b
jne 0x140035dd8
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x140121b58]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x140035d11
jmp 0x140035e37
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x140035d94
test rbp, rbp
je 0x140035e37
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x140035e37
lea rax, [0x1400fdb50]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.140071e70
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x140035eb5
mov rcx, qword [rdi + 8]
sub rax, rbp
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x140035e64
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140087640
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x140035e39
mov rax, qword [rdi]
add rbp, rbp
add rbp, qword [rsi]
xor edx, edx
mov rdi, rbp
movzx ebp, word [rbp + rdx*2]
cmp bp, word [rax + rdx*2]
jne 0x140035e37
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x140035e76
jmp 0x140035e39
xor r14d, r14d
mov rsi, r15
jmp 0x140035dd1
xor ebp, ebp
jmp 0x140035d94
mov rcx, qword [rsp + 0x60]
call fcn.140086158
mov rsi, r15
jmp 0x140035d9c
int3
Function at 0x14003a120
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x4c
call fcn.140077670
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.1400776a0
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x14003a1b4
mov rbx, qword [rbx]
lea rdx, [rsp + 0x24]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14003a2fa
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.14008611c
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140089770
mov edx, dword [rsp + 0x24]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14003a303
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a303
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x14003a303
add rsi, rdi
mov ecx, 0x38
call fcn.14008611c
mov rbx, rax
movzx r15d, word [rbp]
movzx ebp, word [rbp + 2]
lea rax, fcn.14003a6e0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movabs rax, 0xfffffffe00000000
and rax, rdi
cmp rax, qword [0x140114e88]
jne 0x14003a289
mov rcx, rdi
call fcn.140070eb0
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r15w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1400fdfd2]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a319
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x30], rax
mov qword [r14], rbx
lea rcx, [rsp + 0x50]
call fcn.140077700
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140087640
mov rax, r14
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [r14], 0
jmp 0x14003a2cd
mov qword [r14], 0
test rdi, rdi
je 0x14003a2cd
mov rcx, rdi
call fcn.140086158
jmp 0x14003a2cd
int3
Function at 0x14003a3b0
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov r15, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx r14d, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov ebp, eax
movzx ebx, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call rsi
mov word [rsp + 0x3e], ax
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140089770
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r14d
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14003a650
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a4b4
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14003a4b4
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x14003a4b4
dec r8d
mov rcx, r15
call fcn.14006d550
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140087640
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140089770
movzx eax, bp
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14003a650
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a533
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14003a533
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14003a480
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140089770
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14003a650
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a5b7
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14003a5b7
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14003a480
lea rsi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140089770
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14003a650
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003a63c
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14003a63c
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x14003a480
xor esi, esi
jmp 0x14003a48e
Function at 0x14003ab00
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b0
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x450]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, [0x1400fe00d]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x240]
mov rcx, rsi
mov r9d, 0x17c
call fcn.140077670
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.1400776a0
lea rbp, [rsp + 0x240]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140089770
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003abaf
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, rbp
call fcn.140071950
mov rcx, rbp
call fcn.14005f3b0
lea rbp, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140089770
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x14003abe6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, rbp
call fcn.140071950
mov rcx, rbp
call fcn.14005f3b0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14003ac08
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x14003ac14
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14003ac7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140047830
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14003ac47
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x14003ac50
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test r14, r14
je 0x14003ac81
test eax, eax
jne 0x14003ac81
cmp ebp, 0xfffffffc
jne 0x14003ac77
call fcn.1400dc510
mov ebp, eax
mov dword [r14], ebp
xor edi, edi
jmp 0x14003ac81
mov dil, 1
lea rcx, [rsp + 0x450]
call fcn.140077700
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.140087640
mov eax, edi
add rsp, 0x4b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1af
call fcn.140077670
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400776a0
cmp byte [rdi + 0x17], 0
jns 0x14003ad34
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140077700
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140087640
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003ad70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1d7
call fcn.140077670
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400776a0
cmp byte [rdi + 0x17], 0
jns 0x14003adf4
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140077700
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140087640
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003ae40
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140089770
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x14003aee3
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1400a5a90
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140068cb0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140037860
mov rcx, r14
mov rdx, rsi
call fcn.140068da0
mov rcx, rsi
call fcn.140068d90
mov rcx, rbx
call fcn.140068d90
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140087640
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14003af10
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140089770
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14003afa5
cmp word [rsp + 0x70], 0
je 0x14003afa5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400a5a90
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140068cb0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140087640
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140068c30
mov rcx, rdi
call fcn.14003ae40
test al, al
je 0x14003afe5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140068c90
jmp 0x14003b004
lea rax, [0x1400fe036]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140068cb0
lea rcx, [rsp + 0x40]
call fcn.140068d90
jmp 0x14003af87
Function at 0x14003b7c0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov r14d, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rbx, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140089770
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140048440
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rdi], xmm0
mov rcx, rbx
mov rdx, rdi
call fcn.140048620
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14003b856
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14003b96c
lea rbx, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, rbx
mov dl, 0xaa
call fcn.140089770
mov rcx, r15
mov rdx, rbx
call fcn.140048590
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x14003b9b0
mov rcx, rbx
call fcn.140048410
test al, al
jne 0x14003b923
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x14003b8b9
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x14003b91f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, rbx
call fcn.140019e90
mov rcx, r15
mov rdx, rbx
call fcn.140048620
mov rcx, rdi
mov rdx, rbx
call fcn.140068da0
mov rcx, rbx
call fcn.140068d90
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x14003b911
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x14003b876
jmp 0x14003b96c
xor ebp, ebp
jmp 0x14003b8d6
xor ebp, ebp
test r14b, r14b
je 0x14003b8d6
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.14003b7c0
test eax, eax
jne 0x14003ba01
cmp byte [rsp + 0x47], 0
mov rcx, rdi
js 0x14003b9a9
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14003b8d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14003b8d6
lea rcx, [rsp + 0x30]
call fcn.140068d90
lea rcx, [rsp + 0x298]
call fcn.140048520
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140087640
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
jmp 0x14003b94a
test r14b, r14b
je 0x14003b9c6
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x14003b9eb
mov rcx, qword [rsp + 0x30]
jmp 0x14003b9f0
lea rcx, [rsp + 0x48]
call fcn.140048410
test al, al
je 0x14003b9fb
lea rcx, [rsp + 0x48]
call fcn.140048410
test al, al
je 0x14003b8aa
jmp 0x14003b91f
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14003b89e
mov edx, dword [rsp + 0x48]
jmp 0x14003b9b5
mov ebp, eax
jmp 0x14003b8d6
Function at 0x14003bcf0
Capabilities:
Create thread

Disassembly:
jmp 0x14003bcf0
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
test rcx, rcx
setne bl
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffe00000000
shl ebx, 0x10
mov ecx, 0x10
call fcn.14008611c
mov r15, rax
mov rax, rsi
and rax, r12
cmp rax, qword [0x140114e88]
jne 0x14003bd54
mov rcx, rsi
call fcn.140070eb0
mov qword [r15], rsi
test rdi, rdi
setne byte [r15 + 8]
mov dword [r15 + 0xc], ebp
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
lea r8, [0x14003c0d0]
xor ecx, ecx
mov rdx, r13
mov r9, r15
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
test rax, rax
je 0x14003bdbb
test rdi, rdi
je 0x14003bdff
mov qword [rdi], r14
test r14, r14
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140087640
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003bdd4
mov edi, eax
cmp eax, 0x5af
je 0x14003bdd4
cmp edi, 0xe
jne 0x14003be0a
mov rcx, r13
call fcn.1400d63c0
test r15, r15
je 0x14003bd95
mov rcx, qword [r15]
and r12, rcx
cmp r12, qword [0x140114e88]
jne 0x14003bdf5
call fcn.140070ff0
mov rcx, r15
call fcn.140086158
jmp 0x14003bd95
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003bd95
mov eax, dword [0x140121c60]
mov ecx, dword [0x14011d780]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003be7d
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov edx, edi
call fcn.140047fa0
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
cmovs rax, qword [rsi + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov qword [rdx + 8], rax
mov rcx, qword [0x140121c58]
call fcn.140079260
cmp byte [rsi + 0x17], 0
jns 0x14003bddc
mov rcx, qword [rsp + 0x38]
call fcn.140086158
jmp 0x14003bddc
lea rcx, [0x140121c60]
call fcn.140086270
cmp dword [0x140121c60], 0xffffffff
jne 0x14003be2b
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.14004c1c0
mov qword [0x140121c58], rax
lea rcx, [0x140121c60]
call fcn.140086308
jmp 0x14003be2b
Function at 0x14003ec70
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov r15, rdx
mov r14, rcx
mov rax, qword [0x140114038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14003ecd3
mov ebx, eax
mov r12d, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [0x1400faa70]
movaps xmmword [rsp + 0x20], xmm0
cmp ebx, 0xa
ja 0x14003ece7
lea rsi, [rsp + 0x20]
mov byte [rsi + 0x17], bl
jmp 0x14003ed10
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
jmp 0x14003eda2
lea rdi, [r12 + 8]
and rdi, 0xfffffffffffffff8
lea rcx, [rdi + rdi]
call fcn.14008611c
mov rsi, rax
mov qword [rsp + 0x20], rax
bts rdi, 0x3f
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
lea r8, [r12 + r12]
mov rcx, rsi
xor edx, edx
call fcn.140089770
mov word [rsi + r12*2], 0
cmp byte [rsp + 0x37], 0
jns 0x14003ed33
mov rdx, qword [rsp + 0x20]
jmp 0x14003ed38
lea rdx, [rsp + 0x20]
mov rcx, r15
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14003ed81
mov edx, eax
movzx eax, byte [rsp + 0x37]
mov rcx, rax
test al, al
jns 0x14003ed5b
mov rcx, qword [rsp + 0x28]
cmp rcx, rdx
jbe 0x14003ed85
lea rsi, [rsp + 0x20]
mov rcx, rsi
xor r8d, r8d
call fcn.140068120
mov rax, qword [rsi + 0x10]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [rsi]
movups xmmword [r14], xmm0
jmp 0x14003eda2
mov al, byte [rsp + 0x37]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
test al, al
jns 0x14003eda2
mov rcx, qword [rsp + 0x20]
call fcn.140086158
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140087640
mov rax, r14
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret