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

Disassembly:
mov rax, rsp
sub rsp, 0x108
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov rax, qword [0x00469048]
mov qword [rsp + 0xd0], rax
movzx ebx, dl
mov rsi, rcx
add rcx, 0x90
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
mov byte [rsi + 0xc0], bl
mov dl, 1
movzx ecx, bl
call fcn.00441090
mov qword [rsi + 0xb8], rax
mov ebp, dword [rsi + 0x78]
cmp byte [rsi + 0x88], 0
jne 0x445ecd
xor edi, edi
test ebp, ebp
jle 0x445efe
mov r12, rdi
lea r13, [0x00455da0]
nop
nop
mov rax, qword [rsi + 0x70]
mov rbx, qword [r12 + rax]
mov qword [rsp + 0x30], r13
mov eax, dword [rbx + 8]
mov dword [rsp + 0x38], eax
movzx eax, word [rbx + 0xc]
mov word [rsp + 0x3c], ax
movzx eax, word [rbx + 0xe]
mov word [rsp + 0x3e], ax
movzx eax, word [rbx + 0x10]
mov word [rsp + 0x40], ax
movzx eax, word [rbx + 0x12]
mov word [rsp + 0x42], ax
movzx eax, word [rbx + 0x14]
mov word [rsp + 0x44], ax
movzx eax, word [rbx + 0x16]
mov word [rsp + 0x46], ax
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x48], eax
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0x50], eax
movzx eax, word [rbx + 0x24]
mov word [rsp + 0x54], ax
movzx eax, word [rbx + 0x26]
mov word [rsp + 0x56], ax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x58], eax
movzx eax, word [rbx + 0x2c]
mov word [rsp + 0x5c], ax
movzx eax, word [rbx + 0x2e]
mov word [rsp + 0x5e], ax
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x60], eax
lea rdx, [rbx + 0x38]
lea rcx, [rsp + 0x68]
call fcn.00440a10
nop
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x88]
call fcn.00440a10
nop
lea rdx, [rbx + 0x78]
lea rcx, [rsp + 0xa8]
call fcn.00440a10
nop
cmp byte [rsi + 0x88], 0
jne 0x445ea1
movzx r8d, byte [rsi + 0x89]
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.00440f10
movzx r8d, di
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.004451e0
nop
lea rcx, [rsp + 0x30]
call fcn.0043f200
inc edi
add r12, 8
cmp edi, ebp
jl 0x445dc0
jmp 0x445efe
xor edi, edi
test ebp, ebp
jle 0x445efe
mov rbx, rdi
nop
nop
nop
mov rdx, qword [rsi + 0x70]
movzx r8d, di
mov rdx, qword [rbx + rdx]
mov rcx, rsi
call fcn.004451e0
inc edi
add rbx, 8
cmp edi, ebp
jl 0x445ee0
mov rcx, qword [rsp + 0xd0]
call fcn.00450790
mov rbx, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xe8]
add rsp, 0x108
ret

Function at 0x446b80
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x446db0
Capabilities:
Get disk size

Disassembly:
push rbx
sub rsp, 0x110
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.0043d070
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.00446ca0
nop
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x446f2f
mov edx, dword [rsp + 0x40]
test edx, edx
jle 0x446e60
mov r9, qword [rsp + 0x38]
movsxd rax, edx
movzx r8d, byte [rax + r9 - 1]
mov al, 0x5c
lea rcx, [0x00452cd0]
cmp al, r8b
je 0x446e56
inc rcx
movzx eax, byte [rcx]
test al, al
je 0x446e60
jmp 0x446e45
dec edx
mov dword [rsp + 0x40], edx
test edx, edx
jg 0x446e33
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
movsxd rbx, dword [rsp + 0x40]
lea edx, [rbx + 1]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
cmp ebx, ebx
jge 0x446e9e
mov rdx, qword [rsp + 0x38]
add rdx, rbx
lea rcx, [rdx + 1]
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.004286b0
mov rax, rbx
add rax, qword [rsp + 0x38]
mov byte [rax], 0x5c
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
lea r11, [rsp + 0x50]
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x138]
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x128]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x446f2f
lea rax, [0x00451660]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x446f15
call fcn.004289f0
lea rax, [0x00451630]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.00447390
xor eax, eax
jmp 0x446f88
mov ebx, dword [rsp + 0x128]
imul ebx, dword [rsp + 0x130]
imul ebx, dword [rsp + 0x138]
lea rax, [0x00451660]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], eax
test rcx, rcx
je 0x446f70
call fcn.004289f0
lea rax, [0x00451630]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.00447390
mov eax, ebx
add rsp, 0x110
pop rbx
ret

Function at 0x446fe0
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x38], rbp
mov rbp, rcx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
mov esi, eax
jne 0x447010
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x28
ret
mov rcx, rsi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
call fcn.00429de0
mov ecx, esi
mov bl, 1
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x44703a
xor bl, bl
jmp 0x447045
mov rdx, rdi
mov rcx, rbp
call fcn.004143e0
mov rcx, rdi
call fcn.004285e0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov al, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x447070
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x100
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.0043d070
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.00446ca0
mov rbx, rax
mov r8, qword [rax]
mov edx, dword [rax + 0x10]
mov rcx, rax
call qword [r8 + 8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
sete bl
lea rax, [0x00451660]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x28]
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x38], eax
test rcx, rcx
je 0x4470e9
call fcn.004289f0
lea rax, [0x00451630]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.00447390
mov al, bl
add rsp, 0x100
pop rbx
ret

Function at 0x4472e0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rcx
movzx ebx, dl
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44731f
test bl, bl
je 0x44730e
lea ecx, [rax + 0x71]
mov rdx, rdi
call fcn.0043be30
int3
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x28
ret

Function at 0x447330
Capabilities:
Move file

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rcx
movzx ebx, r8b
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x447370
test bl, bl
je 0x44735f
lea ecx, [rax + 0x72]
mov rdx, rdi
call fcn.0043be30
int3
xor al, al
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x28
ret
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x28
ret
Function at 0x44a770
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x58], rdi
mov edi, dword [rcx + 0x44]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov rbp, rcx
nop
nop
mov edx, dword [rbp + 0x94]
mov ebx, dword [rbp + 0x58]
mov eax, dword [rbp + 0x44]
sub ebx, dword [rbp + 0x9c]
lea ecx, [rdi + rax - 0x106]
sub ebx, edx
cmp edx, ecx
jb 0x44a83c
mov rcx, qword [rbp + 0x50]
mov r8, rdi
lea rdx, [rcx + rdi]
call fcn.004286b0
mov r8d, dword [rbp + 0x74]
mov rax, qword [rbp + 0x68]
sub dword [rbp + 0x98], edi
sub dword [rbp + 0x94], edi
sub dword [rbp + 0x84], edi
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, edi
jb 0x44a800
sub eax, edi
jmp 0x44a802
xor eax, eax
add r8d, 0xffffffff
mov word [rdx], ax
jne 0x44a7f0
mov rax, qword [rbp + 0x60]
mov edx, edi
lea rcx, [rax + rdi*2]
nop
nop
nop
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, edi
jb 0x44a830
sub eax, edi
jmp 0x44a832
xor eax, eax
add edx, 0xffffffff
mov word [rcx], ax
jne 0x44a820
add ebx, edi
mov rsi, qword [rbp]
cmp dword [rsi + 8], 0
je 0x44a91a
mov eax, dword [rbp + 0x94]
mov r13d, dword [rbp + 0x9c]
add r13, rax
mov eax, dword [rsi + 8]
add r13, qword [rbp + 0x50]
cmp eax, ebx
mov r12d, eax
cmova r12d, ebx
test r12d, r12d
je 0x44a8c2
sub eax, r12d
mov dword [rsi + 8], eax
mov rax, qword [rsi + 0x28]
mov ecx, dword [rax + 0x2c]
cmp ecx, 1
jne 0x44a894
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.0044c3c0
mov dword [rsi + 0x4c], eax
jmp 0x44a8aa
cmp ecx, 2
jne 0x44a8aa
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.004413e0
mov dword [rsi + 0x4c], eax
mov rdx, qword [rsi]
mov r8d, r12d
mov rcx, r13
mov ebx, r12d
call fcn.004286b0
add qword [rsi], rbx
add dword [rsi + 0xc], r12d
add dword [rbp + 0x9c], r12d
mov r9d, dword [rbp + 0x9c]
cmp r9d, 3
jb 0x44a903
mov eax, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x50]
mov ecx, dword [rbp + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rbp + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbp + 0x7c]
mov dword [rbp + 0x70], r8d
cmp r9d, 0x106
jae 0x44a91a
mov rax, qword [rbp]
cmp dword [rax + 8], 0
jne 0x44a7a0
mov r13, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x38
ret
Function at 0x44e640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44e66b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00432170
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
test al, 1
je 0x44e695
test bl, 2
je 0x44e695
call fcn.00432110
mov dword [rax], 0xd
call fcn.00432140
mov dword [rax], 5
mov eax, 0xffffffff
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x44ec10
Capabilities:
Timestomp file

Disassembly:
sub rsp, 0x58
test rdx, rdx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov edi, ecx
mov rbx, rdx
jne 0x44ec41
lea rcx, [rsp + 0x48]
call fcn.0042a9d0
mov r11, qword [rsp + 0x48]
lea rbx, [rsp + 0x40]
mov qword [rsp + 0x40], r11
lea rcx, [rbx + 8]
call fcn.0044e940
test rax, rax
mov r11, rax
je 0x44ed83
movzx eax, word [rax + 0x14]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
add ax, 0x76c
mov word [rsp + 0x30], ax
movzx eax, word [r11 + 0x10]
inc ax
mov word [rsp + 0x32], ax
movzx eax, word [r11 + 0xc]
mov word [rsp + 0x36], ax
movzx eax, word [r11 + 8]
mov word [rsp + 0x38], ax
movzx eax, word [r11 + 4]
mov word [rsp + 0x3a], ax
movzx eax, word [r11]
mov word [rsp + 0x3e], 0
mov word [rsp + 0x3c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x44ed83
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x44ed83
mov rcx, rbx
call fcn.0044e940
test rax, rax
mov r11, rax
je 0x44ed83
movzx eax, word [rax + 0x14]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
add ax, 0x76c
mov word [rsp + 0x30], ax
movzx eax, word [r11 + 0x10]
inc ax
mov word [rsp + 0x32], ax
movzx eax, word [r11 + 0xc]
mov word [rsp + 0x36], ax
movzx eax, word [r11 + 8]
mov word [rsp + 0x38], ax
movzx eax, word [r11 + 4]
mov word [rsp + 0x3a], ax
movzx eax, word [r11]
mov word [rsp + 0x3e], 0
mov word [rsp + 0x3c], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x44ed83
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x44ed83
mov ecx, edi
call fcn.0042d350
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x44ed83
xor eax, eax
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x58
ret
call fcn.00432110
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov dword [rax], 0x16
mov eax, 0xffffffff
add rsp, 0x58
ret
Function at 0x44ee10
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push rbp
sub rsp, 0x170
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x170], rsi
mov qword [rbp + 0x178], rdi
mov qword [rbp + 0x148], r12
mov qword [rbp + 0x140], r13
mov rax, qword [0x00469048]
mov qword [rbp + 0x130], rax
lea rdi, [rbp + 0x20]
xor r12d, r12d
mov esi, r12d
mov r13d, 0xffffffff
mov dword [rbp + 8], r13d
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x44ef36
lea rdx, [rbp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
mov dword [rbp + 0xc], eax
cmp eax, 0x104
jle 0x44eef3
inc eax
cdqe
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.004507c0
sub rsp, rax
lea rdi, [rsp + 0x20]
mov qword [rbp + 0x10], rdi
jmp 0x44eee1
test ebx, ebx
je 0x44eef3
lea ecx, [rbx + 1]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
test ebx, ebx
je 0x44ef36
movzx eax, byte [rdi]
cmp al, 0x5c
je 0x44ef02
cmp al, 0x2f
jne 0x44ef0c
cmp al, byte [rdi + 1]
jne 0x44ef0c
mov r13d, r12d
jmp 0x44ef36
mov byte [rbp], 0x3d
movzx ecx, byte [rdi]
call fcn.0044fd20
mov byte [rbp + 1], al
mov byte [rbp + 2], 0x3a
mov byte [rbp + 3], 0
mov rdx, rdi
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
cmovne r13d, r12d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00432170
test esi, esi
je 0x44ef4f
mov rcx, rdi
call fcn.004289f0
mov eax, r13d
mov rcx, qword [rbp + 0x130]
call fcn.00450790
mov rbx, qword [rbp + 0x168]
mov rsi, qword [rbp + 0x170]
mov rdi, qword [rbp + 0x178]
mov r12, qword [rbp + 0x148]
mov r13, qword [rbp + 0x140]
lea rsp, [rbp + 0x150]
pop rbp
ret
Function at 0x44fde0
Capabilities:
Clear file content

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov ebp, edx
xor edi, edi
xor edx, edx
lea r8d, [rdi + 1]
mov qword [rsp + 0x28], r13
mov esi, ecx
call fcn.00437f20
cmp eax, 0xffffffff
mov r13d, eax
je 0x44ff53
lea r8d, [rdi + 2]
xor edx, edx
mov ecx, esi
call fcn.00437f20
cmp eax, 0xffffffff
je 0x44ff53
mov qword [rsp + 0x40], rbx
mov ebx, ebp
mov qword [rsp + 0x20], r14
sub ebx, eax
test ebx, ebx
jle 0x44fef0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r14d, 0x1000
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rbp, rax
jne 0x44fe77
call fcn.00432110
lea edi, [rbp - 1]
mov dword [rax], 0xc
jmp 0x44ff38
mov edx, 0x8000
mov ecx, esi
mov qword [rsp + 0x30], r12
call fcn.004502f0
mov r12d, eax
nop
nop
mov r8d, ebx
cmp ebx, r14d
mov rdx, rbp
cmovge r8d, r14d
mov ecx, esi
call fcn.00438100
cmp eax, 0xffffffff
je 0x44feb1
sub ebx, eax
test ebx, ebx
jg 0x44fe90
jmp 0x44fecb
call fcn.00432140
cmp dword [rax], 5
jne 0x44fec6
call fcn.00432110
mov dword [rax], 0xd
mov edi, 0xffffffff
mov edx, r12d
mov ecx, esi
call fcn.004502f0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r12, qword [rsp + 0x30]
jmp 0x44ff38
test ebx, ebx
jns 0x44ff38
xor r8d, r8d
mov edx, ebp
mov ecx, esi
call fcn.00437f20
mov ecx, esi
call fcn.0042d350
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb edi, edi
neg edi
dec edi
cmp edi, 0xffffffff
jne 0x44ff38
call fcn.00432110
mov dword [rax], 0xd
call fcn.00432140
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
xor r8d, r8d
mov edx, r13d
mov ecx, esi
call fcn.00437f20
mov r14, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x40]
mov eax, edi
jmp 0x44ff58
mov eax, 0xffffffff
mov r13, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140001480
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400a6630]
mov dword [rax], 1
mov rax, qword [0x1400a6640]
mov dword [rax], 1
mov rax, qword [0x1400a6650]
mov dword [rax], 1
mov rax, qword [0x1400a6620]
mov dword [rax], 1
mov rax, qword [0x1400a64b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140006230
Capabilities:
Read file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x20
mov r13, rcx
mov rcx, rdx
mov edx, 1
mov rbx, r8
mov r9, r13
call sym.fread
mov r12, rax
cmp rbx, rax
je 0x140006263
mov rcx, r13
call sym.ferror
test eax, eax
jne 0x140006270
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
mov rcx, r13
call sym.checkErr__stdZsyncio_u165.part.0
mov rax, r12
add rsp, 0x20
pop rbx
pop r12
pop r13
ret
Function at 0x1400062c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, [0x14007a350]
mov r14, rcx
mov r13, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
call sym.mnewString
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
mov rbx, rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
test rbx, rbx
jle 0x140006450
mov rcx, qword [0x1400a6490]
lea rdi, [rsp + 0x30]
movabs r15, 0x7fffffffffffffff
movabs rbp, 0x8000000000000000
call sym.__emutls_get_address
mov rsi, rax
nop dword [rax]
mov rax, qword [rsp + 0x48]
mov r9, r13
mov r8d, 0xfa0
mov edx, 1
lea rcx, [rax + 8]
call sym.fread
mov r12, rax
cmp rax, 0xfa0
je 0x1400063d0
mov rcx, r13
call sym.ferror
test eax, eax
je 0x140006393
mov rcx, r13
call sym.checkErr__stdZsyncio_u165.part.0
cmp byte [rsi], 0
je 0x140006490
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400063b0
test byte [rcx + 7], 0x40
je 0x140006470
movdqa xmm0, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi], 0
jne 0x14000639c
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call sym.prepareAdd
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x140006450
lea r8, [rbx + 1]
mov rax, r8
xor rax, rbx
test r8, rax
js 0x140006468
test r8, r8
js 0x140006480
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea rcx, [rcx + rax + 8]
call sym.memcpy
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rbx]
xor rax, rdx
xor rbx, rdx
test rax, rbx
js 0x140006468
mov qword [rsp + 0x30], rdx
nop word cs:[rax + rax]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jg 0x140006358
nop
xor ecx, ecx
lea rdx, [rbx - 1]
call sym.raiseIndexError2
mov rcx, qword [rsp + 0x48]
jmp 0x1400063a1
call sym.raiseOverflow
jmp 0x140006440
call sym.deallocShared
jmp 0x1400063b0
mov r8, r15
xor edx, edx
mov rcx, rbp
call sym.raiseRangeErrorI
jmp 0x140006440
test r12, r12
js 0x140006528
lea rcx, [rsp + 0x40]
mov rdx, r12
call sym.setLengthStrV2
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call sym.prepareAdd
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rbx, rbx
jle 0x1400063a1
lea r8, [rbx + 1]
mov rax, rbx
xor rax, r8
test r8, rax
js 0x140006515
test r8, r8
js 0x140006546
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea r9, [rdx + rax + 8]
lea rdx, [rcx + 8]
mov rcx, r9
call sym.memcpy
mov rax, qword [rsp + 0x30]
lea rdx, [rax + rbx]
xor rax, rdx
xor rbx, rdx
test rax, rbx
js 0x140006515
mov qword [rsp + 0x30], rdx
jmp 0x14000639c
call sym.raiseOverflow
mov rcx, qword [rsp + 0x48]
jmp 0x1400063a1
movabs r8, 0x7fffffffffffffff
mov rcx, r12
xor edx, edx
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x1400063a1
movabs rcx, 0x8000000000000000
xor edx, edx
movabs r8, 0x7fffffffffffffff
call sym.raiseRangeErrorI
mov rcx, qword [rsp + 0x48]
jmp 0x1400063a1