joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b368c
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400b36d6
call fcn.14009b8d0
mov dword [rax], 0xf
call fcn.14009b8b0
mov dword [rax], 0xd
call fcn.14009dbe4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400870e0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400b36e1
lea eax, [rbx + 1]
jmp 0x1400b36c3
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400b36c1
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400b36c3

Function at 0x1400b3cac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400b3cc2
mov al, 1
jmp 0x1400b3d22
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400b3cd3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400b3d20
mov ecx, dword [rcx + 0x18]
nop
call fcn.14009c13c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400b3d20
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b3d20
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400b3d20
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400b3d22
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400b8548
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140093344
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400b85d2
cmp byte [rbp - 0x21], r15b
je 0x1400b85cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400b8608
call fcn.1400a95f4
test eax, eax
jne 0x1400b85f4
cmp byte [rbp - 0x21], r15b
je 0x1400b85ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400b8608
cmp byte [rbp - 0x21], r15b
je 0x1400b8605
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14009895c
test eax, eax
jne 0x1400b86a8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140093344
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400b8647
cmp byte [rbp - 0x21], r15b
je 0x1400b867c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400b867c
call fcn.1400a95f4
test eax, eax
jne 0x1400b8668
cmp byte [rbp - 0x21], r15b
je 0x1400b8661
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400b867c
cmp byte [rbp - 0x21], r15b
je 0x1400b8679
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14009895c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400b86a8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400b86ab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400b86b9
mov rcx, rdi
call fcn.140034a40
cmp byte [rbp + 0x3f], r15b
je 0x1400b86c8
mov rcx, qword [rbp + 0x27]
call fcn.140034a40
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400d5600
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x14012fd38], 0
je 0x1400d5650
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x1400d5643
call fcn.1400870e0
int3
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x14012fd40]
test rdi, rdi
jne 0x1400d571d
mov ecx, 0x18
call fcn.140085d40
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400bad40
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400f7a90]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140065ce0
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x1400d56ca
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1400d5701
add rax, rax
test rax, rax
je 0x1400d5701
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1400d56d2
cmp rdx, 0xfffffffffffffffe
je 0x1400d5701
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1400610b0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400670e0
mov qword [0x14012fd40], rdi
test byte [0x140120130], 1
je 0x1400d5629
cmp byte [rdi + 0x17], 0
jns 0x1400d5733
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14012fd38], rax
inc rax
cmp rax, 1
ja 0x1400d5629
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400bad40
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1400d586f
mov rcx, qword [0x14012fd40]
lea rdx, [rsp + 0x40]
call fcn.140024d20
mov rcx, qword [0x14012fd40]
movsx rax, byte [rcx + 0x17]
test rax, rax
js 0x1400d5876
test al, al
je 0x1400d5887
mov rdx, rcx
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400d5801
lea rdx, [0x1400fb0ea]
mov r8d, 1
call fcn.1400670e0
mov rcx, qword [0x14012fd40]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400670e0
mov rcx, qword [0x14012fd40]
cmp byte [rcx + 0x17], 0
jns 0x1400d5823
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14012fd38], rax
inc rax
cmp rax, 1
ja 0x1400d5629
mov qword [0x14012fd38], 0
xor esi, esi
jmp 0x1400d5629
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400d5887
mov rdx, qword [rcx]
jmp 0x1400d57e0
ud2

Function at 0x1400d8150
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400d815d
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x1400d9ac0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x140130680]
test rax, rax
jne 0x1400d9b04
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x140130680]
test rax, rax
je 0x1400d9af1
cmp eax, 2
je 0x1400d9ba2
mov eax, 1
lock xadd qword [0x1401306b8], rax
inc rax
cmp rax, 2
jl 0x1400d9b31
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140130640], eax
mov qword [0x140130638], rsi
mov rcx, qword [0x1401201e0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14006e000
test al, al
je 0x1400d9bef
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140029e20
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x1400d9be2
mov ecx, 2
call fcn.14006e000
test al, al
je 0x1400d9bef
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140029e20
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400599a0
mov rcx, rsi
call fcn.14002a420
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x1400d9c1d
call fcn.1400870e0
int3
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x1400e9040
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e906a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e9089
mov ecx, eax
shr ecx, 0xa
xor bl, 1
test cl, bl
jne 0x1400e90ea
and eax, 0x10
shr eax, 4
jmp 0x1400e90ec
mov ecx, 2
call fcn.14006e000
test al, al
je 0x1400e90ea
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1400d5e90
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400599a0
mov rcx, rax
mov rdx, rsi
call fcn.1400d6f40
mov rcx, rdi
call fcn.1400d5f00
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x1400e9106
call fcn.1400870e0
int3
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14011e040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1400e9147
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400e917e
test eax, 0x410
sete al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x14011e040]
je 0x1400e9174
call fcn.1400870e0
int3
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006e000
test al, al
je 0x1400e91df
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1400d5e90
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400599a0
mov rcx, rax
mov rdx, rsi
call fcn.1400d6f40
mov rcx, rdi
call fcn.1400d5f00
xor eax, eax
jmp 0x1400e915a
Function at 0x180001340
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180001368
xor eax, eax
lea r8, [0x180001220]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x180002b00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180059080]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r14d, r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp - 0x50]
call fcn.180038d50
lea rdx, [rbp - 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x104
ja 0x180002ba3
lea rcx, [rbp - 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], r14w
jne 0x180002b70
cmp word [rbp + rax*2 - 0x52], 0x5c
jne 0x180002b9d
lea rax, [rax*2 - 2]
cmp rax, 0x20a
jae 0x180002da2
mov word [rbp + rax - 0x50], r14w
lea rdx, [rbp - 0x50]
jmp 0x180002bc5
lea rdx, str.Failed_to_get_temp_path
lea rcx, [0x18005e1b0]
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
lea rdx, [0x180046810]
lea rcx, [rbp - 0x70]
call fcn.1800078d0
nop
mov rbx, qword [rbp - 0x60]
test rbx, rbx
jne 0x180002c30
lea rdx, [0x180046810]
mov rcx, rdi
call fcn.1800078d0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x180002d6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002d67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002d9c
jmp 0x180002d67
lea rcx, [rsp + 0x48]
call fcn.1800028e0
mov rsi, rax
movabs rcx, 0x7ffffffffffffffe
sub rcx, rbx
cmp rcx, 1
jb 0x180002da8
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], 1
lea rax, [0x180046814]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea rcx, [rsp + 0x70]
call fcn.18000e690
nop
mov r9, rsi
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.18000e480
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x180002cda
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002cd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002dae
call fcn.1800166c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x180002d1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002d17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002db4
call fcn.1800166c0
movdqa xmm0, xmmword [0x180051b80]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r14w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x180002d6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002d67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002d96
call fcn.1800166c0
mov rax, rdi
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800166a0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180020fbc
int3
call fcn.180020fbc
int3
call fcn.180016968
nop
call fcn.180001590
nop
call fcn.180020fbc
nop
call fcn.180020fbc
int3
Function at 0x1800057c0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.1800172d0
sub rsp, rax
mov rax, qword [0x180059080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor r14d, r14d
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
je 0x18000583a
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.180003c90
test al, al
jne 0x180005842
lea rdx, str.Cant_read_module_headers
lea rcx, [0x18005e1b0]
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
mov rdx, r14
jmp 0x180005926
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [rdi + rbp], r14b
jne 0x180005870
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, r14d
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp r14w, r15w
jae 0x1800058e8
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, rbp
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.180039100
test eax, eax
jne 0x1800058e1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x1800058d3
cmp rdi, rax
je 0x180005960
inc esi
cmp esi, r15d
jb 0x1800058b0
lea rdx, str.Cant_find_section
lea rcx, [0x18005e1b0]
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
mov rdx, r14
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov qword [rsp + 0x20], rax
call fcn.180005640
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1800166a0
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1800058e8
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x1800058e8
test edx, edx
je 0x1800058e8
lea rax, [rsp + 0x50]
mov r14d, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x180005906
Function at 0x180006600
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x180006624
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x1800066b2
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180006680
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180006680
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1800386b0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18000669d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1800066a5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180006641
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x180006790
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x1800066c9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800066cb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800066fd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1800386b0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18000678d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180006738
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x18000676e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.180020798
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x18000678d
cmp rsi, rax
ja 0x180006741
test rsi, rsi
je 0x18000678d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.180020798
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x18000f8c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov eax, 0x5a4d
mov r8, rdx
cmp word [rcx], ax
jne 0x18000f9f2
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x18000f9f2
test rax, rax
je 0x18000f9f2
mov edx, dword [rax + 0xd8]
test edx, edx
jne 0x18000f91d
lea rdx, str.Load_config_directory_wasnt_found__probably_StackCookie_not_defined__fix_cookie_skipped
lea rcx, [0x18005e1b0]
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
mov al, 1
add rsp, 0x28
ret
mov qword [rsp + 0x20], rdi
mov rdi, qword [rdx + rcx + 0x58]
test rdi, rdi
jne 0x18000f953
lea rdx, str.StackCookie_not_defined__fix_cookie_skipped
lea rcx, [0x18005e1b0]
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
mov rdi, qword [rsp + 0x20]
mov al, 1
add rsp, 0x28
ret
sub rcx, r8
mov qword [rsp + 0x38], rsi
add rdi, rcx
movabs rsi, 0x2b992ddfa232
lea rcx, [0x18005e1b0]
cmp qword [rdi], rsi
je 0x18000f999
lea rdx, str.StackCookie_already_fixed___this_probably_wrong
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
mov rsi, qword [rsp + 0x38]
xor al, al
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
lea rdx, str.Fixing_stack_cookie
mov qword [rsp + 0x30], rbx
call fcn.18000a0f0
mov rcx, rax
call fcn.18000a3b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
movabs rax, 0x2b992ddfa233
xor rcx, rbx
mov rbx, qword [rsp + 0x30]
xor rcx, rsi
cmp rcx, rsi
mov rsi, qword [rsp + 0x38]
cmove rcx, rax
mov al, 1
mov qword [rdi], rcx
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x180011f70
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x180059080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180012096
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x180012096
test rax, rax
je 0x180012096
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x180011ff3
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x1800120a1
lea rbx, [rcx + rdx]
mov esi, dword [rax + 0xb4]
add rsi, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rsi
jae 0x180012084
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x180012084
mov eax, dword [rbx]
add rax, rbp
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x18001205d
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rsp + 0x50]
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x180012074
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180012610
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
mov r8, qword [rsp + 0x58]
cmp rbx, rsi
jb 0x180012010
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x1800120a1
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800166a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret