joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ab70
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400189d0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400189d0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14001acc0
cmp rax, 0xffffffffffffffff
je 0x14001acc0
xor edi, edi
test rbp, rbp
jle 0x14001ac6b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400111d0
mov rbx, rax
test rax, rax
jne 0x14001abf8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14001ac61
mov edx, 0x8000
mov ecx, r14d
call fcn.14000e15c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140012458
cmp eax, 0xffffffff
je 0x14001ac41
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001ac08
mov edx, r15d
mov ecx, r14d
call fcn.14000e15c
jmp 0x14001ac61
cmp byte [rsi + 0x38], dil
je 0x14001ac58
cmp dword [rsi + 0x34], 5
jne 0x14001ac58
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14001ac61
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000f0dc
jmp 0x14001acd4
jns 0x14001acd4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400189d0
cmp rax, 0xffffffffffffffff
jne 0x14001ac8c
cmp byte [rsi + 0x30], dil
je 0x14001acd4
mov edi, dword [rsi + 0x2c]
jmp 0x14001acd4
mov ecx, r14d
call fcn.140015750
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001acd4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14001acd4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001accd
mov eax, dword [rsi + 0x2c]
jmp 0x14001acd2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400189d0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14001b9c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001b9e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001b9e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001389
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001ee3c
xor r8d, r8d
xor edx, edx
jmp 0x14001eb20

Function at 0x140002126
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1400734e0
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140096040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, qword [rsp + 0xa0]
lea r10, [0x140098b10]
xor r11d, r11d
lea rdi, [0x1400818c4]
test r9, r9
mov rax, rdx
mov r12, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r15d, ebp
cmovne r15, r8
neg rax
sbb r14, r14
and r14, rcx
test r15, r15
jne 0x140073550
mov rax, 0xfffffffffffffffe
jmp 0x14007369d
cmp word [r10 + 6], r11w
jne 0x1400735bf
movzx r9d, byte [rdi]
inc rdi
test r9b, r9b
js 0x14007357a
test r14, r14
je 0x14007356b
mov dword [r14], r9d
test r9b, r9b
setne r11b
mov rax, r11
jmp 0x14007369d
mov al, r9b
and al, 0xe0
cmp al, 0xc0
jne 0x140073588
mov r8b, 2
jmp 0x1400735a6
mov al, r9b
and al, 0xf0
cmp al, 0xe0
jne 0x140073596
mov r8b, 3
jmp 0x1400735a6
mov al, r9b
and al, 0xf8
cmp al, 0xf0
jne 0x140073692
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov bl, r8b
sub edx, ebp
and edx, r9d
jmp 0x1400735e8
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
mov bl, byte [r10 + 6]
lea eax, [r8 - 2]
cmp al, 2
ja 0x140073692
cmp bl, bpl
jb 0x140073692
cmp bl, r8b
jae 0x140073692
movzx ebp, bl
cmp rbp, r15
mov r9d, ebp
cmovae r9, r15
jmp 0x140073615
movzx ecx, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x140073692
mov eax, edx
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r12
cmp rax, r9
jb 0x1400735f7
cmp r9, rbp
jae 0x140073641
movzx eax, r8b
sub bl, r9b
mov word [r10 + 4], ax
movzx eax, bl
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x140073544
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x140073692
cmp edx, 0x110000
jae 0x140073692
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x140073692
test r14, r14
je 0x140073680
mov dword [r14], edx
neg edx
mov rdx, r10
sbb rcx, rcx
and rcx, rbp
call fcn.140003922
jmp 0x14007369d
mov rdx, rsi
mov rcx, r10
call fcn.140003f58
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000257c
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000216c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000789c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140007929
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140007929
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007929
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140007910
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000790a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140007912
add rdx, 0x28
jmp 0x1400078ef
xor edx, edx
test rdx, rdx
jne 0x14000791b
xor al, al
jmp 0x14000792f
cmp dword [rdx + 0x24], 0
jge 0x140007925
xor al, al
jmp 0x14000792f
mov al, 1
jmp 0x14000792f
xor al, al
jmp 0x14000792f
add rsp, 0x18
ret

Function at 0x1400026ad
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400151b8
push rbx
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x140082888]
mov ecx, 2
lea r8, [0x140082880]
lea rdx, str.FlsGetValue
call fcn.140014c88
mov ecx, ebx
test rax, rax
je 0x1400151f2
add rsp, 0x20
pop rbx
jmp qword [0x1400a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1400027f2
Capabilities:
Query environment variable

Disassembly:
jmp 0x140057328
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140057358
xor eax, eax
jmp 0x14005741b
mov rbp, rbx
cmp word [rax], si
je 0x14005737d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140057364
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140057360
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000313e
movsxd r14, eax
test eax, eax
jne 0x1400573bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140057351
mov rcx, r14
call fcn.140001037
mov rdi, rax
test rax, rax
jne 0x1400573d4
xor ecx, ecx
call fcn.14000116d
jmp 0x1400573b0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000313e
test eax, eax
jne 0x140057405
mov rcx, rdi
call fcn.14000116d
jmp 0x14005740f
xor ecx, ecx
call fcn.14000116d
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400027fc
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140015108
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r9, [0x140082848]
xor ecx, ecx
lea r8, [0x140082840]
lea rdx, str.FlsAlloc
call fcn.140014c88
test rax, rax
je 0x140015141
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [0x1400a0020]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x140002874
Capabilities:
Get geographical location

Disassembly:
jmp 0x14005fd04
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov ebx, r9d
mov rdi, r8
mov esi, edx
lea r9, [0x140086318]
mov rbp, rcx
lea r8, [0x140086310]
lea rdx, str.GetLocaleInfoEx
mov ecx, 7
call fcn.14005f220
test rax, rax
je 0x14005fd64
movabs r10, 0xe375262d7cd44270
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call qword [0x1400a0030]
jmp 0x14005fd7e
xor edx, edx
mov rcx, rbp
call fcn.1400021c1
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000287e
Capabilities:
Terminate process

Disassembly:
jmp 0x1400766cc
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400029b9
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001edd4
xor r8d, r8d
lea edx, [r8 + 2]
jmp 0x14001eb20

Function at 0x140002b44
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400764c0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400764e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400764e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140002e4b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140007e58
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007ea2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007ea2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007ea2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007ea2
cmp dword [rcx + 0x84], 0xe
jbe 0x140007ea2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007ea4
xor al, al
add rsp, 0x28
ret

Function at 0x1400030bc
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140076400
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x140076441
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x140076435
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x140076443
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x140076423
xor eax, eax
ret
Function at 0x1400032a1
Capabilities:
Terminate process

Disassembly:
jmp 0x1400526b4
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1400526ce
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140003931
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140003a12
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x140015210
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1400828a8]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1400828a0]
call fcn.140014c88
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x140015250
call qword [0x1400a0020]
jmp 0x140015256
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140003aa8
Capabilities:
Set environment variable

Disassembly:
jmp 0x14006664c
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.1400020fe
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400666d6
cmp byte [rbp - 0x21], r15b
je 0x1400666d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14006670c
call fcn.140003e45
test eax, eax
jne 0x1400666f8
cmp byte [rbp - 0x21], r15b
je 0x1400666f0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14006670c
cmp byte [rbp - 0x21], r15b
je 0x140066709
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.14000400c
test eax, eax
jne 0x1400667ac
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400020fe
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14006674b
cmp byte [rbp - 0x21], r15b
je 0x140066780
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140066780
call fcn.140003e45
test eax, eax
jne 0x14006676c
cmp byte [rbp - 0x21], r15b
je 0x140066765
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140066780
cmp byte [rbp - 0x21], r15b
je 0x14006677d
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.14000400c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400667ac
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400667af
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400667bd
mov rcx, rdi
call fcn.14000116d
cmp byte [rbp + 0x3f], r15b
je 0x1400667cc
mov rcx, qword [rbp + 0x27]
call fcn.14000116d
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 0x140003b98
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001edc4
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001eb8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001eb8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001eb8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001eb8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001eb8f
cmp dword [rcx + 0x84], 0xe
jbe 0x14001eb8f
cmp dword [rcx + 0xf8], 0
je 0x14001eb8f
mov ecx, ebx
call fcn.14001ed08
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001e870
nop
cmp dword [rbp + 0x20], 0
je 0x14001ebdd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001ec18
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001eb20

Function at 0x140007e58
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x1597011b
call fcn.1400028c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001570
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc8543c3d
call fcn.1400028c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400015b0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xc3750e2
call fcn.1400028c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x1400015f0
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0xa92aa0b6
call fcn.1400028c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001630
Capabilities:
Execute syscall

Disassembly:
push rcx
push rdx
push r8
push r9
mov ecx, 0x4351a843
call fcn.1400028c0
pop r9
pop r8
pop rdx
pop rcx
mov r10, rcx
syscall
ret

Function at 0x14000164c
Capabilities:
Execute syscall

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, 0x3983d1f
call fcn.1400028c0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140001950
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002780
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002780
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140002410
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400057b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002430
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002438
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002430
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000248d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002484
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002430
add rax, 0x28
cmp rax, r9
jne 0x140002470
xor eax, eax
ret

Function at 0x140002490
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400057b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400024af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400024b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400024af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002550
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400057b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000256f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002578
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x18000d600
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18000d628
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18000d64e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000d650
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000d6a9
test ecx, ecx
jle 0x18000d689
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18000d6a9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000d6a9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18000d6d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18000d701
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18000d71f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18000d73b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000d73d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18000d779
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000d80e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18000d7b4
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18000d7ee
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18000d80e
cmp rbx, rax
ja 0x18000d7c0
test rbx, rbx
je 0x18000d80e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret