joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ed2e0
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov ebx, r8d
mov rdi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
call fcn.1400f2bb0
mov r14, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r15, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r15
movsxd r12, eax
lea rcx, [r12 + r12]
call fcn.140023440
mov rsi, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r15
test bl, bl
je 0x1400ed3ce
mov ecx, 0x8000
mov edx, 2
call fcn.1400233e0
mov rdi, rax
mov qword [rsp + 0x30], rax
lea r8, [0x1402a04e2]
mov edx, 0x7fff
mov rcx, rax
mov r9, rsi
call fcn.140016800
mov word [rdi + 0xfffe], 0
cmp eax, 0x7fff
ja 0x1400ed3f1
movsxd rbx, eax
mov edx, 0x8000
mov rcx, rsi
call fcn.1402793e0
cmp rax, rbx
jne 0x1400ed3f1
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x30]
call fcn.1400ed440
mov ebx, eax
jmp 0x1400ed3fe
mov rcx, rdi
mov rdx, r14
mov r8b, 1
call fcn.1400f3840
cmp eax, 1
jne 0x1400ed408
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
jmp 0x1400ed415
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov rcx, rdi
call fcn.14026e508
jmp 0x1400ed415
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
mov rcx, rsi
call fcn.14026e508
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140265fe0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400ed750
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, r8
mov rcx, rdx
call fcn.1400f2bb0
mov rbx, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023440
mov rsi, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ed897
test al, 0x10
je 0x1400ed89d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400ed89d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1400f2bb0
mov rdi, rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rax
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023440
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call r14
mov rcx, rsi
mov rdx, rbx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, rbx
call fcn.14026e508
jmp 0x1400ed8aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, rsi
call fcn.14026e508
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400ed8c0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rdx]
mov rax, qword [rdx + 8]
mov ebx, 0x7fff
mov edx, 0x7fff
sub rdx, rax
lea rcx, [r14 + rax*2]
lea r8, [0x1402a04e2]
mov r9, rdi
call fcn.140016800
mov word [r14 + 0xfffe], 0
test eax, eax
js 0x1400ed97b
movsxd r14, eax
sub rbx, qword [rsi + 8]
cmp rbx, r14
jl 0x1400ed97b
mov edx, 0x8000
mov rcx, rdi
call fcn.1402793e0
cmp rax, r14
jne 0x1400ed97b
add qword [rsi + 8], r14
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x1400ed988
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400ed986
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
xor eax, eax
cmp edx, 0xffffffff
je 0x1400ed988
mov ecx, edx
and ecx, 1
je 0x1400ed988
and edx, 0xfffffffe
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400ed986
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
jmp 0x1400ed988
mov ecx, reloc.WS2_32.dll_WSAGetLastError
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400f26d0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14027b01c
cdqe
add rsp, 0x28
ret
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
jmp 0x140024f50

Function at 0x1400f26e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rdi, r8
mov rsi, rdx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
call fcn.140284ae8
mov rbx, rax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov rcx, rax
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f27be
mov edi, dword [rsp + 0x44]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x1400f27c5
mov ecx, dword [rsp + 0x44]
add rcx, rcx
call fcn.140266008
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov ebx, eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov ecx, ebx
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9d, dword [rsp + 0x44]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, ebx
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
mov rcx, rdi
call fcn.14026629c
movsxd rdi, esi
jmp 0x1400f27c5
mov rdi, 0xffffffffffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140265fe0
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f2920
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov ecx, dword [rax]
call fcn.140284ae8
xor edi, edi
mov rcx, rax
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400f296a
mov rax, qword [rsi + 0x10]
mov ecx, dword [rax]
call fcn.140284ae8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne dil
mov eax, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f3840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
mov ebp, r8d
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rax, [0x1402fe100]
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x38]
mov r8b, 1
call fcn.1400f2c10
mov rsi, qword [rsp + 0x40]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rbx, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call rbx
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.140023440
mov rdi, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f3901
mov ebx, eax
test eax, 0x400
jne 0x1400f3908
shr ebx, 4
and ebx, 1
jmp 0x1400f3975
mov ebx, 5
jmp 0x1400f3975
mov ebx, 2
test bpl, bpl
je 0x1400f3975
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
xor edx, edx
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400f3975
mov r14, rax
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
shr eax, 4
and eax, 1
test ebx, ebx
mov ebx, 2
cmovne ebx, eax
mov rcx, rdi
call fcn.14026e508
cmp byte [rsp + 0x38], 0
je 0x1400f398c
mov rcx, rsi
call fcn.14026e508
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140265fe0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [0x1402fe130]
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x78], r9
lea rcx, [rsp + 0x30]
mov r8b, 1
call fcn.1400f2c10
mov rdi, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rbx, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call rbx
movsxd r14, eax
lea rcx, [r14 + r14]
call fcn.140023440
mov rsi, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rdi
mov r9d, 0xffffffff
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400f3c22
mov ecx, eax
and ecx, 0x400
je 0x1400f3c22
mov rcx, rsi
test al, 0x10
jne 0x1400f3c31
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400f3c37
mov ecx, 0x1126
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
jmp 0x1400f3c3d
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, rsi
call fcn.14026e508
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140265fe0
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400f3c70
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea r14, [0x1402fe130]
mov qword [rsp + 0x48], r14
lea rdi, [rsp + 0x48]
mov qword [rsp + 0x80], rdi
lea rcx, [rsp + 0x38]
mov r8b, 1
mov r9, rdi
call fcn.1400f2c10
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
xor r8d, r8d
call fcn.1400f3840
test eax, eax
je 0x1400f3ce2
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400f3dd6
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x80], rdi
lea rcx, [rsp + 0x38]
mov rdx, rsi
mov r8b, 1
mov r9, rdi
call fcn.1400f2c10
mov rsi, qword [rsp + 0x40]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023440
mov rdi, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r14
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call r14
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023440
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rsi
mov r9d, 0xffffffff
call r14
mov rcx, rdi
mov rdx, rbx
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne sil
mov rcx, rbx
call fcn.14026e508
mov rcx, rdi
call fcn.14026e508
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140265fe0
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400f3e00
Capabilities:
Move file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rbx, r8
mov rdi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea r13, [0x1402fe130]
mov qword [rsp + 0x40], r13
lea r14, [rsp + 0x40]
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x30]
mov r8b, 1
mov r9, r14
call fcn.1400f2c10
mov r15, qword [rsp + 0x38]
mov rdx, r15
xor r8d, r8d
call fcn.1400f3840
cmp eax, 2
jne 0x1400f3f8c
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r12, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 0xfde9
xor edx, edx
mov r8, r15
mov r9d, 0xffffffff
call r12
movsxd rbp, eax
lea rcx, [rbp*2]
call fcn.140023440
mov rsi, rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r15
mov r9d, 0xffffffff
call r12
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x78], r14
lea rcx, [rsp + 0x30]
mov rdx, rbx
mov r8b, 1
mov r9, r14
call fcn.1400f2c10
mov r14, qword [rsp + 0x38]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r12
movsxd r15, eax
lea rcx, [r15 + r15]
call fcn.140023440
mov rbx, rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, r14
mov r9d, 0xffffffff
call r12
mov rcx, rdi
mov rdx, r14
call fcn.1400ecc40
cmp eax, 1
jne 0x1400f3f62
mov rdx, r14
xor r8d, r8d
call fcn.1400f3840
cmp eax, 2
jne 0x1400f3f62
mov rdx, r14
call fcn.1400f3b60
test al, al
je 0x1400f3fbf
mov rcx, rsi
mov rdx, rbx
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
mov rcx, rbx
call fcn.14026e508
mov rcx, rsi
call fcn.14026e508
jmp 0x1400f3f99
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140265fe0
mov eax, edi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
jmp 0x1400f3f7a
Function at 0x1400f57d0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0x18
call fcn.140266260
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rsi
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea r8, [0x1400f5870]
xor esi, esi
xor ecx, ecx
mov edx, 0x100000
mov r9, rax
call fcn.140285490
lea rcx, [rax + 1]
cmp rcx, 1
ja 0x1400f5841
call fcn.140278958
mov esi, dword [rax]
jmp 0x1400f584a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140265fe0
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f5ef0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
test rax, rax
je 0x1400f5fd7
mov eax, dword [rsp + 0x44]
cmp eax, ebx
jle 0x1400f5f46
mov dword [rsp + 0x44], ebx
mov eax, ebx
test eax, eax
jle 0x1400f5fce
xor r12d, r12d
xorps xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov rbx, qword [rdi + r12*8]
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
movsxd r14, eax
mov rcx, r14
call fcn.140023440
mov r15, rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
mov qword [rsi + r12*8], r15
inc r12
movsxd rax, dword [rsp + 0x44]
cmp r12, rax
jl 0x1400f5f60
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140265fe0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401011b0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, qword [rdx + 0x18]
lea rcx, [rsp + 0x50]
mov edx, 8
xor r8d, r8d
call fcn.140154f10
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140101560
mov r15, rax
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x30]
mov rcx, r14
mov rdx, r15
mov r9d, ebx
call fcn.1401c4f50
lea rcx, [rsp + 0x60]
mov rdx, r15
xor r8d, r8d
call fcn.140166b20
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400f9980
mov rbx, rax
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x58]
mov edx, 0x92
xor r9d, r9d
call fcn.140170720
mov rdx, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1401017a0
mov rdi, rax
mov rax, qword [rax]
mov rcx, qword [rdi + 8]
mov rdx, qword [rcx + 7]
mov rcx, rdi
call qword [rax + 0x308]
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
shl r8, 3
mov rcx, rax
call fcn.1402689f0
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
xor r9d, r9d
call fcn.14017e340
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140265fe0
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140115440
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
mov eax, 0x2038
call fcn.1402662c0
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x2030], rax
cmp qword [0x1403a21c8], 0
jne 0x140115493
mov ecx, 8
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [0x1403a21c8], rax
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x410
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x14011551f
mov rbx, rax
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rax
mov r8d, 0x2000
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x140115500
cmp dword [rsp + 0x2c], 8
jb 0x140115500
xor r15d, r15d
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
mov rcx, qword [rsp + r15*8 + 0x30]
mov rdx, rdi
call r12
test rax, rax
jne 0x140115557
inc r15
mov eax, dword [rsp + 0x2c]
shr rax, 3
cmp r15, rax
jb 0x1401154e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.None_of_the_loaded_modules_contained_the_requested_symbol__s.
xor r14d, r14d
xor ecx, ecx
mov r8, rdi
call fcn.140196a40
jmp 0x140115530
lea rdx, str.Failed_to_open_current_process.
xor r14d, r14d
xor ecx, ecx
call fcn.140196a40
mov qword [rsi], rax
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.140265fe0
mov rax, r14
add rsp, 0x2038
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140115533
Function at 0x1401294c0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
cmp byte [0x1403a2405], 0
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r15, [rax + 8]
je 0x14012953e
mov r12, qword [r15]
mov rax, qword [r12 + 0x680]
mov rcx, qword [r12 + 0x688]
mov rcx, qword [rcx + 0x20]
mov rcx, qword [rcx + 0x4e8]
mov qword [r12 + 0x6e8], rcx
mov rax, qword [rax + 0x58]
mov rcx, qword [rax + 0x3c0]
test rcx, rcx
je 0x14012953e
call fcn.14012baa0
mov qword [r12 + 0x58], rax
mov r15, qword [r15]
mov r13, qword [r15 + 0x18]
mov r12, qword [r15 + 0x690]
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140129570
cmp byte [rax + 8], 0
jne 0x140129575
mov rcx, rax
call fcn.14006e790
test rax, rax
jne 0x140129575
call fcn.140195d30
mov rdx, qword [rax + 0x58]
add rdx, qword [rax + 0x50]
mov rcx, r15
call fcn.1401cbf10
mov rax, qword [r14 + 8]
mov rdx, qword [rax + 0x3f]
mov rcx, r13
call fcn.1400ff1e0
mov rcx, qword [r14 + 8]
mov r8, qword [rcx + 7]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbx
mov rcx, rsi
mov rdx, rax
mov r9, rdi
call fcn.1401295e0
mov rcx, r15
mov rdx, r12
call fcn.1401cbf10
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401327a0
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebp, r9d
mov rsi, r8
mov r14, rdx
mov rbx, rcx
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401327e4
mov rdi, rax
cmp byte [rax + 8], 0
jne 0x1401327f5
mov rcx, rdi
call fcn.14006e790
mov rdi, rax
test rax, rax
jne 0x1401327f5
call fcn.140195d30
mov rdi, rax
test rax, rax
je 0x14013288f
movzx r15d, byte [rsp + 0x88]
movzx r12d, byte [rsp + 0x80]
test r15b, r15b
je 0x14013281b
jmp 0x140132844
mov rcx, qword [r14 + 8]
xor edx, edx
call fcn.1401962f0
mov rax, qword [rbx + 0x3a0]
mov rcx, qword [rax + 8]
cmp dword [rcx + 0x28], 0
jle 0x140132833
cmp qword [rcx + 0x20], 0
jne 0x140132810
mov rax, qword [rax + 0x10]
cmp dword [rax + 0x28], 0
jle 0x140132844
cmp qword [rax + 0x20], 0
jne 0x140132810
test r12b, r12b
je 0x14013285f
mov rcx, qword [rbx + 0x398]
test rsi, rsi
je 0x140132896
mov rdx, rsi
call fcn.1401cde00
jmp 0x1401328a0
mov rcx, qword [rbx + 0x398]
mov edx, ebp
call fcn.1401cdda0
mov rsi, rax
mov qword [rax + 0x680], 0
mov qword [rax + 0x688], rbx
mov qword [rax + 0x60], 0
jmp 0x1401329be
xor esi, esi
jmp 0x140132a09
mov edx, ebp
call fcn.1401cdda0
mov rsi, rax
mov qword [rsi + 0x680], 0
mov qword [rsi + 0x688], rbx
mov qword [rsi + 0x60], 0
mov rax, qword [rbx + 0x20]
test rax, rax
je 0x1401329be
test r12b, r12b
je 0x1401329be
mov rax, qword [rax + 0x440]
mov rax, qword [rax + 7]
mov qword [rsi + 0x628], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x448]
mov rax, qword [rax + 7]
mov qword [rsi + 0x630], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x450]
mov rax, qword [rax + 7]
mov qword [rsi + 0x638], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x458]
mov rax, qword [rax + 7]
mov qword [rsi + 0x640], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x460]
mov rax, qword [rax + 7]
mov qword [rsi + 0x648], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x468]
mov rax, qword [rax + 7]
mov qword [rsi + 0x650], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x470]
mov rax, qword [rax + 7]
mov qword [rsi + 0x658], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x478]
mov rax, qword [rax + 7]
mov qword [rsi + 0x660], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x480]
mov rax, qword [rax + 7]
mov qword [rsi + 0x668], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x488]
mov rax, qword [rax + 7]
mov qword [rsi + 0x670], rax
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 0x490]
mov rax, qword [rax + 7]
mov qword [rsi + 0x678], rax
mov rax, qword [rbx + 0x3b8]
mov qword [rsi + 0x750], rax
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x700], 0
movzx eax, r15b
shl rax, 5
xchg qword [rsi + 0x708], rax
mov qword [rsi + 0x6c0], 3
mov qword [rdi + 0x60], rsi
mov rcx, rsi
call fcn.140195e40
mov rcx, rdi
call fcn.140195b70
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret