joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004970c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, qword [rcx]
cmp byte [rdi + 8], 0
je 0x140049733
call fcn.140049bdc
jmp 0x140049821
mov rax, qword [rdi]
mov rsi, qword [rax + 0x28]
mov rax, qword [rdx]
mov qword [rbp - 0x30], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x28], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x20], rax
and qword [rdx + 8], 0
and qword [rdx + 0x10], 0
movups xmm0, xmmword [rdx + 0x18]
movdqu xmmword [rbp - 0x18], xmm0
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140049783
mov rdx, qword [rax + 8]
jmp 0x140049785
xor edx, edx
mov r8d, 0x38
call fcn.140009eb0
lea rcx, [0x14004a690]
mov qword [rax], rcx
mov rcx, qword [rbp - 0x30]
mov qword [rax + 8], rcx
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rcx, qword [rbp - 0x28]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x20]
mov qword [rax + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [rax + 0x20], xmm0
mov qword [rbp + 0x30], rax
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x140049806
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140049806
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140049806
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rdx, [rbp + 0x30]
mov rcx, rdi
call rsi
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140049821
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400498e8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov rdi, qword [rcx]
cmp byte [rdi + 8], 0
je 0x14004990f
call fcn.140049e60
jmp 0x140049a10
mov rax, qword [rdi]
mov rsi, qword [rax + 0x28]
mov rax, qword [rdx]
mov qword [rbp - 0x30], rax
mov rax, qword [rdx + 8]
mov qword [rbp - 0x28], rax
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x20], rax
and qword [rdx + 8], 0
and qword [rdx + 0x10], 0
movups xmm0, xmmword [rdx + 0x18]
movdqu xmmword [rbp - 0x18], xmm0
mov rax, qword [rdx + 0x28]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x30]
mov qword [rbp + 0x20], rax
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140049967
mov rdx, qword [rax + 8]
jmp 0x140049969
xor edx, edx
mov r8d, 0x40
call fcn.140009eb0
mov rdx, rax
lea rax, [0x14004a3a8]
mov qword [rdx], rax
mov rcx, qword [rbp - 0x30]
mov qword [rdx + 8], rcx
and qword [rdx + 0x10], 0
and qword [rdx + 0x18], 0
mov rcx, qword [rbp - 0x28]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x20]
mov qword [rdx + 0x18], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rbp - 0x18]
movdqu xmmword [rdx + 0x20], xmm0
mov rax, qword [rbp - 8]
mov qword [rdx + 0x30], rax
mov qword [rbp + 0x30], rdx
mov rbx, qword [rbp - 0x20]
test rbx, rbx
je 0x1400499f5
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400499f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400499f5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rdx, [rbp + 0x30]
mov rcx, rdi
call rsi
nop
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x140049a10
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140049d30
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140049d65
mov rdx, qword [rax + 8]
jmp 0x140049d67
xor edx, edx
mov r8d, 0x50
call fcn.140009eb0
mov rdx, rax
lea rax, [0x14004a47c]
mov qword [rdx], rax
mov rcx, qword [rdi]
mov qword [rdx + 8], rcx
and qword [rdx + 0x10], 0
and qword [rdx + 0x18], 0
mov rcx, qword [rdi + 8]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rdx + 0x18], rcx
and qword [rdi + 8], 0
and qword [rdi + 0x10], 0
and qword [rdx + 0x20], 0
and qword [rdx + 0x28], 0
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x20], rax
mov rax, qword [rdi + 0x20]
mov qword [rdx + 0x28], rax
and qword [rdi + 0x18], 0
and qword [rdi + 0x20], 0
movups xmm0, xmmword [rdi + 0x28]
movdqu xmmword [rdx + 0x30], xmm0
mov rax, qword [rdi + 0x38]
mov qword [rdx + 0x40], rax
mov qword [rsi], rdx
mov rbx, qword [rdi + 0x20]
or ebp, 0xffffffff
test rbx, rbx
je 0x140049e15
mov eax, ebp
lock xadd dword [rbx + 8], eax
add eax, ebp
jne 0x140049e15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
add eax, ebp
jne 0x140049e15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140049e45
mov eax, ebp
lock xadd dword [rbx + 8], eax
add eax, ebp
jne 0x140049e45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
add eax, ebp
jne 0x140049e45
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140049fbc
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140049ff1
mov rdx, qword [rax + 8]
jmp 0x140049ff3
xor edx, edx
mov r8d, 0x50
call fcn.140009eb0
mov rdx, rax
lea rax, [0x14004a190]
mov qword [rdx], rax
mov rcx, qword [rdi]
mov qword [rdx + 8], rcx
and qword [rdx + 0x10], 0
and qword [rdx + 0x18], 0
mov rcx, qword [rdi + 8]
mov qword [rdx + 0x10], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rdx + 0x18], rcx
and qword [rdi + 8], 0
and qword [rdi + 0x10], 0
and qword [rdx + 0x20], 0
and qword [rdx + 0x28], 0
mov rax, qword [rdi + 0x18]
mov qword [rdx + 0x20], rax
mov rax, qword [rdi + 0x20]
mov qword [rdx + 0x28], rax
and qword [rdi + 0x18], 0
and qword [rdi + 0x20], 0
movups xmm0, xmmword [rdi + 0x28]
movdqu xmmword [rdx + 0x30], xmm0
mov rax, qword [rdi + 0x38]
mov qword [rdx + 0x40], rax
mov qword [rsi], rdx
mov rbx, qword [rdi + 0x20]
or ebp, 0xffffffff
test rbx, rbx
je 0x14004a0a1
mov eax, ebp
lock xadd dword [rbx + 8], eax
add eax, ebp
jne 0x14004a0a1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
add eax, ebp
jne 0x14004a0a1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14004a0d1
mov eax, ebp
lock xadd dword [rbx + 8], eax
add eax, ebp
jne 0x14004a0d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, ebp
lock xadd dword [rbx + 0xc], eax
add eax, ebp
jne 0x14004a0d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14004a0f4
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x10]
mov rdi, rcx
test rbx, rbx
je 0x14004a143
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x14004a13e
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004a13e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004a13e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
and qword [rdi + 0x10], 0
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004a185
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004a178
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14004a178
cmp qword [rcx + 0x10], 0
jne 0x14004a178
mov al, byte [rbx + 0x40]
mov byte [rbx], al
mov qword [rcx + 0x10], rbx
jmp 0x14004a180
mov rcx, rbx
call fcn.140052094
and qword [rdi + 8], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004fc64
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rsi, qword [rcx]
mov rax, qword [rsi]
mov r14, qword [rax + 0x30]
mov al, byte [rdx + 1]
mov byte [rbp - 0x28], al
mov byte [rdx + 1], 0
lea rbx, [rdx + 8]
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14004f5e0
movups xmm0, xmmword [rbx + 0x58]
movdqu xmmword [rbp + 0x37], xmm0
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004fcce
mov rdx, qword [rax + 8]
jmp 0x14004fcd0
xor edx, edx
mov r8d, 0x80
call fcn.140009eb0
mov rdi, rax
lea rax, [0x140050408]
mov qword [rdi], rax
mov cl, byte [rbp - 0x28]
mov byte [rdi + 9], cl
mov byte [rbp - 0x28], 0
lea rdx, [rbp - 0x21]
lea rcx, [rdi + 0x10]
call fcn.14004f5e0
movups xmm0, xmmword [rbp + 0x37]
movdqu xmmword [rdi + 0x68], xmm0
mov qword [rbp + 0x77], rdi
lea rcx, [rbp - 0x21]
call fcn.14003e9ac
nop
lea rdx, [rbp + 0x77]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14004fd32
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14004fd4c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rbx, rdx
mov rsi, qword [rcx]
cmp byte [rsi + 8], 0
je 0x14004fd76
call fcn.14004ff20
jmp 0x14004fe1d
mov rax, qword [rsi]
mov rbp, qword [rax + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14004f5e0
movups xmm0, xmmword [rbx + 0x58]
movdqu xmmword [rsp + 0x78], xmm0
lea rax, [rsp + 0x20]
mov qword [rsp + 0xb0], rax
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004fdb5
mov rdx, qword [rax + 8]
jmp 0x14004fdb7
xor edx, edx
mov r8d, 0x78
call fcn.140009eb0
mov rdi, rax
lea rax, [0x1400502b0]
mov qword [rdi], rax
lea rdx, [rsp + 0x20]
lea rcx, [rdi + 8]
call fcn.14004f5e0
movups xmm0, xmmword [rsp + 0x78]
movdqu xmmword [rdi + 0x60], xmm0
mov qword [rsp + 0xc0], rdi
lea rcx, [rsp + 0x20]
call fcn.14003e9ac
nop
lea rdx, [rsp + 0xc0]
mov rcx, rsi
call rbp
nop
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x14004fe1d
mov rax, qword [rcx]
xor edx, edx
call rax
nop
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004fe30
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rbx, rdx
mov rsi, qword [rcx]
cmp byte [rsi + 8], 0
je 0x14004fe64
call fcn.14004ff88
jmp 0x14004ff06
mov rax, qword [rsi]
mov r14, qword [rax + 0x28]
lea rcx, [rbp - 0x29]
call fcn.14004f5e0
movups xmm0, xmmword [rbx + 0x58]
movdqu xmmword [rbp + 0x2f], xmm0
mov rax, qword [rbx + 0x68]
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
mov ecx, dword [0x1400afa44]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14004fea4
mov rdx, qword [rax + 8]
jmp 0x14004fea6
xor edx, edx
mov r8d, 0x80
call fcn.140009eb0
mov rdi, rax
lea rax, [0x140050158]
mov qword [rdi], rax
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 8]
call fcn.14004f5e0
movups xmm0, xmmword [rbp + 0x2f]
movdqu xmmword [rdi + 0x60], xmm0
mov rdx, qword [rbp + 0x3f]
mov qword [rdi + 0x70], rdx
mov qword [rbp + 0x77], rdi
lea rcx, [rbp - 0x29]
call fcn.14003e9ac
nop
lea rdx, [rbp + 0x77]
mov rcx, rsi
call r14
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14004ff06
mov rax, qword [rcx]
xor edx, edx
call rax
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140052db0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140053760
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140053760
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140053760
mov ecx, dword [0x14006f51c]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x14
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.140054c00
call fcn.140053760
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x140055e90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14006e030]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x140055ecc
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140052824
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140055f88
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140055fee
test ebx, ebx
jne 0x140055fee
lea ecx, [rax + 2]
call fcn.140052824
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140051b80
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140058e00
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x250
mov rax, qword [0x14006e030]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140061ff8]
mov rbp, rcx
call sub.msvcrt.dll_wcspbrk
test rax, rax
je 0x140058fc1
mov qword [rsp + 0x268], rbx
xor ebx, ebx
mov qword [rsp + 0x270], rsi
mov qword [rsp + 0x278], rdi
call sub.msvcrt.dll__errno
mov esi, dword [rax]
call sub.msvcrt.dll__errno
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], ebx
call sub.msvcrt.dll__wfullpath
mov rdi, rax
test rax, rax
je 0x140058e7f
call sub.msvcrt.dll__errno
mov dword [rax], esi
jmp 0x140058eb0
call sub.msvcrt.dll__errno
cmp dword [rax], 0x22
jne 0x140058f9f
call sub.msvcrt.dll__errno
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], esi
call sub.msvcrt.dll__wfullpath
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x140058f9f
mov rax, 0xffffffffffffffff
mov rcx, rax
nop word [rax + rax]
inc rcx
cmp word [rdi + rcx*2], 0
jne 0x140058ec0
cmp rcx, 3
je 0x140058f85
inc rax
cmp word [rdi + rax*2], 0
jne 0x140058ed4
cmp rax, 5
jb 0x140058f9f
movzx eax, word [rdi]
cmp ax, 0x5c
je 0x140058efb
cmp ax, 0x2f
jne 0x140058f9f
movzx eax, word [rdi + 2]
cmp ax, 0x5c
je 0x140058f0f
cmp ax, 0x2f
jne 0x140058f9f
movzx eax, word [rdi + 4]
cmp ax, 0x5c
je 0x140058f9f
cmp ax, 0x2f
je 0x140058f9f
movzx eax, word [rdi + 6]
lea rcx, [rdi + 6]
test ax, ax
je 0x140058f9f
cmp ax, 0x5c
je 0x140058f49
cmp ax, 0x2f
je 0x140058f49
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140058f30
test ax, ax
je 0x140058f9f
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
je 0x140058f9f
nop dword [rax + rax]
cmp ax, 0x5c
je 0x140058f79
cmp ax, 0x2f
je 0x140058f79
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x140058f60
test ax, ax
je 0x140058f85
cmp word [rcx + 2], 0
jne 0x140058f9f
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
cmp eax, 1
jbe 0x140058fa2
call fcn.1400592e8
mov al, 1
jmp 0x140058fa9
mov rcx, rbx
call fcn.1400592e8
xor al, al
mov rsi, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x268]
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140051b80
add rsp, 0x250
pop rbp
ret

Function at 0x140059690
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400596f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400596f2
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x1400596f2
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x1400596f2
cmp dword [rdx + 0x84], 0xe
jbe 0x1400596f2
cmp dword [rdx + 0xf8], 0
je 0x1400596f2
mov ecx, ebx
call fcn.140059550
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14006f5a0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400593e0
cmp dword [rsp + 0x60], 0
jne 0x140059735
mov ecx, ebx
call fcn.140059510
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140059780
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400597dc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400597dc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400597dc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400597dc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400597dc
cmp dword [rcx + 0xf8], 0
je 0x1400597dc
mov ecx, ebx
call fcn.140059550
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x14006f5a0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.1400593e0
cmp dword [rsp + 0x60], 0
jne 0x14005981f
mov ecx, ebx
call fcn.140059510
int3
add rsp, 0x40
pop rbx
ret
Function at 0x140011343
Capabilities:
Terminate process

Disassembly:
jmp 0x140016e50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001143d
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400181a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400181c0
xor al, al
jmp 0x140018241
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400181d3
xor al, al
jmp 0x140018241
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400181fd
xor al, al
jmp 0x140018241
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018211
xor al, al
jmp 0x140018241
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018223
xor al, al
jmp 0x140018241
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001823f
xor al, al
jmp 0x140018241
mov al, 1
add rsp, 0x38
ret
Function at 0x180006df0
Capabilities:
Hash data with md5

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rbp + 0x47], rax
xorps xmm0, xmm0
mov dword [rbp - 0x29], ecx
xor eax, eax
mov dword [rbp - 0x19], 0x67452301
lea rcx, [rbp - 0x19]
mov dword [rbp - 5], eax
lea rdx, [rbp - 0x29]
mov dword [rbp - 0x15], 0xefcdab89
movups xmmword [rbp - 1], xmm0
mov dword [rbp - 0x11], 0x98badcfe
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp - 0xd], 0x10325476
movups xmmword [rbp + 0x1f], xmm0
movups xmmword [rbp + 0x2f], xmm0
call fcn.180006cf0
mov edx, dword [rbp - 9]
lea rcx, [rbp - 1]
shr edx, 3
and edx, 0x3f
mov eax, edx
add rcx, rax
mov eax, 0x3f
sub eax, edx
xor edx, edx
mov byte [rcx], 0x80
inc rcx
cmp eax, 8
jae 0x180006ea3
mov r8d, eax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x19]
call fcn.180006500
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0x2f], rax
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
jmp 0x180006eae
add eax, 0xfffffff8
mov r8d, eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rbp - 9]
lea rdx, [rbp - 1]
mov dword [rbp + 0x37], eax
lea rcx, [rbp - 0x19]
mov eax, dword [rbp - 5]
mov dword [rbp + 0x3b], eax
call fcn.180006500
mov eax, dword [rbp - 0x13]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18007bb70
add rsp, 0xa0
pop rbp
ret