joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a1ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.140090d90
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400a1d36
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400a1d8d
mov ebp, 0x4b0000
jmp 0x1400a1d9b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1400931d0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1400a1db1
mov eax, r12d
jmp 0x1400a1dba
mov edx, edi
mov ecx, ebp
call fcn.1400931d0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1400a1dd6
shl esi, 0x10
mov ecx, esi
jmp 0x1400a1ec5
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400a1e34
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.140090d90
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1400a1e24
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1400930a0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.140090d90
add ebx, eax
jmp 0x1400a1ece
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400a1e41
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400a1e80
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.140090d90
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400a1e85
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1400930a0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.140090d90
add ebx, eax
jmp 0x1400a1ece
cmp eax, r12d
jge 0x1400a1ebe
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.140090d90
sub ebp, eax
sub r15d, esi
je 0x1400a1ebe
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1400930a0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.140090d90
add ebx, eax
jmp 0x1400a1ece
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.140090d90
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.140090d90
Function at 0x1400edf10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140328040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400ee0ac
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400ee0ac
cmp r10d, r14d
jne 0x1400edfb0
sub rbx, 0x10
jmp 0x1400ee0f4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400ee022
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400edfe4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400edfec
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400ee00b
movzx edx, r11b
mov rcx, rsi
call fcn.1400ef0c0
test al, al
jne 0x1400ee105
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400ef730
test al, al
jne 0x1400ee105
mov edx, dword [rsi + 0x64]
lea r9, [0x1400efa90]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400ee04e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400edd90
jmp 0x1400ee0a2
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400edd90
test dil, dil
je 0x1400ee09a
cmp byte [rsi + 0x6a], 0
jne 0x1400ee09a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400ee105
sub rbx, 0x10
jmp 0x1400ee0f4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400ee109
mov ebp, dword [rbx]
jmp 0x1400edf70
mov al, 1
jmp 0x1400ee112
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f9830
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x1400f4460
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400f447c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400f44d0
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400f45f5
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x1400f45f5
test rax, rax
je 0x1400f45f5
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x1400f45f5
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x1400f456a
lea rax, [0x1400f4650]
jmp 0x1400f45c3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x1400f45f5
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400f45e3
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1400f4590
lea rax, [0x1400f4620]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x1400f460a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x1400f5350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400f535b
xor eax, eax
ret
lea r11, [0x14011b360]
not ecx
cmp r8d, 8
jb 0x1400f5431
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400f5380
test r8d, r8d
je 0x1400f545d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400f5440
not ecx
mov eax, ecx
ret
Function at 0x1400f902c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400f9066
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400f906b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400f90b4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14011bab0]
cmp byte [rcx + rax], 0
je 0x1400f90b4
dec r8
sub rdx, 1
jne 0x1400f909a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400fa67c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fa6c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fa6c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fa6c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fa6c6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fa6c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fa6c8
xor al, al
add rsp, 0x28
ret
Function at 0x140074798
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140116b80
mov rax, rcx
neg rcx
test rax, 7
je 0x140116b9d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140116bf8
test al, 7
jne 0x140116b90
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140116bb1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140116c22
test dh, dh
je 0x140116c1c
shr rdx, 0x10
test dl, dl
je 0x140116c16
test dh, dh
je 0x140116c10
shr rdx, 0x10
test dl, dl
je 0x140116c0a
test dh, dh
je 0x140116c04
shr edx, 0x10
test dl, dl
je 0x140116bfe
test dh, dh
jne 0x140116bb1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret
Function at 0x140074af9
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400aa120
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400a9aa0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400aa15f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b1020]
jmp 0x1400aa169
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x140074c61
Capabilities:
Query environment variable

Disassembly:
jmp 0x140128310
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140128140
lea rcx, [rsp + 0x40]
call fcn.1401282c0
movzx eax, al
test eax, eax
jne 0x140128358
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.140128170
mov rax, qword [rsp + 0x70]
jmp 0x140128529
lea rcx, [rsp + 0x40]
call fcn.140128290
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140128230
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.140128290
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.14007576a
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1401283fe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.140128170
mov rax, qword [rsp + 0x80]
jmp 0x140128529
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400749e6
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400748b0
lea rcx, [rsp + 0x48]
call fcn.14007454a
movzx eax, al
test eax, eax
jne 0x140128465
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140073811
lea rcx, [rsp + 0x40]
call fcn.140128170
mov rax, qword [rsp + 0x88]
jmp 0x140128529
lea rcx, [rsp + 0x48]
call fcn.140074f81
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.140128290
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.14007576a
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1401284fb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140073811
lea rcx, [rsp + 0x40]
call fcn.140128170
mov rax, qword [rsp + 0xa0]
jmp 0x140128529
lea rcx, [rsp + 0x48]
call fcn.140074888
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140073811
lea rcx, [rsp + 0x40]
call fcn.140128170
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x140074c6b
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400aa050
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400a9a20
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400aa091
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1401b1020]
jmp 0x1400aa097
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140074cf7
Capabilities:
Get geographical location

Disassembly:
jmp 0x14011ff30
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14011ee60
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14011ff97
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1401b1030]
jmp 0x14011ffb9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400744e6
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x140074d0b
Capabilities:
Terminate process

Disassembly:
jmp 0x140088430
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]
nop
add rsp, 0x28
ret
Function at 0x140074f27
Capabilities:
Print debug messages

Disassembly:
jmp 0x14013fc20
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x14019e040]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14013fc46
jmp 0x14013fcc3
mov rcx, qword [rbp + 0x30]
call fcn.140074798
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14013fc5f
jmp 0x14013fcc3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14013fc7c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140073974
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.140073d84
test eax, eax
jne 0x14013fcc3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.140074973
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x140075274
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x140081100
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x588
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xfa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5a8]
mov rax, qword [0x14019e040]
xor rax, rbp
mov qword [rbp + 0x558], rax
lea rcx, [0x1401b00d7]
call fcn.1400764b7
nop
lea r8, [0x140169294]
mov rdx, qword [rbp + 0x580]
lea rcx, [rbp + 0x498]
call fcn.140075de6
mov qword [rbp + 0x548], rax
mov rcx, qword [rbp + 0x548]
call fcn.140074257
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x498]
call fcn.140075ce7
nop
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x1400811a9
xor al, al
jmp 0x140081367
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x298]
call fcn.140074220
nop
lea rdx, [0x14016929c]
lea rcx, [rbp + 0x298]
call fcn.14007469e
movzx eax, al
test eax, eax
je 0x140081303
lea rdx, [0x1401692a0]
lea rcx, [rbp + 0x298]
call fcn.14007469e
movzx eax, al
test eax, eax
je 0x140081303
lea r8, [0x1401692a8]
mov rdx, qword [rbp + 0x580]
lea rcx, [rbp + 0x4d8]
call fcn.140075de6
mov qword [rbp + 0x548], rax
mov rax, qword [rbp + 0x548]
mov qword [rbp + 0x550], rax
lea r8, [rbp + 0x298]
mov rdx, qword [rbp + 0x550]
lea rcx, [rbp + 0x2d8]
call fcn.1400767be
nop
lea rcx, [rbp + 0x4d8]
call fcn.140075ce7
nop
mov eax, dword [rbp + 0x10]
and eax, 0x10
test eax, eax
je 0x1400812a6
lea rcx, [rbp + 0x2d8]
call fcn.140075274
movzx eax, al
test eax, eax
jne 0x1400812a4
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [rbp + 0x514], 0
lea rcx, [rbp + 0x2d8]
call fcn.140075ce7
nop
lea rcx, [rbp + 0x298]
call fcn.140075ce7
movzx eax, byte [rbp + 0x514]
jmp 0x140081367
jmp 0x1400812f6
lea rcx, [rbp + 0x2d8]
call fcn.140074257
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400812f6
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov byte [rbp + 0x534], 0
lea rcx, [rbp + 0x2d8]
call fcn.140075ce7
nop
lea rcx, [rbp + 0x298]
call fcn.140075ce7
movzx eax, byte [rbp + 0x534]
jmp 0x140081367
lea rcx, [rbp + 0x2d8]
call fcn.140075ce7
nop
lea rcx, [rbp + 0x298]
call fcn.140075ce7
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400811a9
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rcx, qword [rbp + 0x580]
call fcn.140074257
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140081359
mov byte [rbp + 0x544], 1
jmp 0x140081360
mov byte [rbp + 0x544], 0
movzx eax, byte [rbp + 0x544]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1401686a0]
call fcn.140075b5c
mov rax, rdi
mov rcx, qword [rbp + 0x558]
xor rcx, rbp
call fcn.140074973
lea rsp, [rbp + 0x568]
pop rdi
pop rbp
ret
Function at 0x140075404
Capabilities:
Parse pe header

Disassembly:
jmp 0x140088f60
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140088f80
xor al, al
jmp 0x140089001
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140088f93
xor al, al
jmp 0x140089001
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 0x140088fbd
xor al, al
jmp 0x140089001
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140088fd1
xor al, al
jmp 0x140089001
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140088fe3
xor al, al
jmp 0x140089001
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140088fff
xor al, al
jmp 0x140089001
mov al, 1
add rsp, 0x38
ret

Function at 0x1400755a3
Capabilities:
Get disk information

Disassembly:
jmp 0x140084700
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xda8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x272
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xdc8]
mov rax, qword [0x14019e040]
xor rax, rbp
mov qword [rbp + 0xd78], rax
lea rcx, [0x1401b00d7]
call fcn.1400764b7
nop
lea rdx, [rbp + 0x10]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [rbp + 0x824], eax
cmp dword [rbp + 0x824], 0
jne 0x140084781
mov eax, 1
jmp 0x1400848ca
mov edx, 0x20
lea rcx, [rbp + 0x848]
call fcn.14007620f
lea rcx, [rbp + 0x848]
call fcn.14007342e
nop
lea rax, [rbp + 0x10]
mov qword [rbp + 0x888], rax
mov rax, qword [rbp + 0x888]
movzx eax, word [rax]
test eax, eax
je 0x140084812
mov rdx, qword [rbp + 0x888]
lea rcx, [rbp + 0x8a8]
call fcn.140074220
nop
lea rdx, [rbp + 0x8a8]
lea rcx, [rbp + 0x848]
call fcn.140075a30
nop
mov rcx, qword [rbp + 0x888]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
mov rcx, qword [rbp + 0x888]
lea rax, [rcx + rax*2]
mov qword [rbp + 0x888], rax
lea rcx, [rbp + 0x8a8]
call fcn.140075ce7
nop
jmp 0x1400847aa
lea rdx, str.dota_2_beta
lea rcx, [rbp + 0x8e8]
call fcn.140074220
nop
lea rax, [rbp + 0x848]
mov qword [rbp + 0x928], rax
mov rcx, qword [rbp + 0x928]
call fcn.140074978
mov qword [rbp + 0x948], rax
mov rcx, qword [rbp + 0x928]
call fcn.14007672d
mov qword [rbp + 0x968], rax
jmp 0x14008486e
mov rax, qword [rbp + 0x948]
add rax, 0x28
mov qword [rbp + 0x948], rax
mov rax, qword [rbp + 0x968]
cmp qword [rbp + 0x948], rax
je 0x1400848a2
mov rax, qword [rbp + 0x948]
mov qword [rbp + 0x988], rax
lea rdx, [rbp + 0x8e8]
mov rcx, qword [rbp + 0x988]
call fcn.140073690
nop
jmp 0x14008485c
mov dword [rbp + 0xd64], 0
lea rcx, [rbp + 0x8e8]
call fcn.140075ce7
lea rcx, [rbp + 0x848]
call fcn.14007540e
mov eax, dword [rbp + 0xd64]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140168160]
call fcn.140075b5c
mov rax, rdi
mov rcx, qword [rbp + 0xd78]
xor rcx, rbp
call fcn.140074973
lea rsp, [rbp + 0xd88]
pop rdi
pop rbp
ret