joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180079040
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1802bfd58]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800790a4
mov eax, 0xa
jmp 0x180079137
test esi, esi
je 0x1800790c6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800790e9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800790e9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800790e2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800790e9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180079150
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1802bfd64]
mov ebx, edi
test ecx, ecx
je 0x18007928d
mov rax, qword [0x1802bfd58]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800791a8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180079180
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18007928d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180078e30
mov r8d, dword [0x1802bfd64]
cmp ebx, r8d
jae 0x180079218
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1802bfd58]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180079211
mov edx, esi
mov ecx, ebx
call fcn.180079040
mov edi, eax
test eax, eax
jne 0x180079218
mov r8d, dword [0x1802bfd64]
inc ebx
cmp ebx, r8d
jb 0x1800791e0
cmp qword [rsp + 0x20], 0
je 0x18007928d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180079279
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007926a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180079240
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1802bfd68]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18007d760
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18007d980
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18007d867
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18007d7c4
mov rax, qword [0x180286008]
cmp qword [rsp + 0x20], rax
ja 0x18007d7c4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18007d786
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18007d7f3
jmp 0x18007d867
cmp dword [rsp + 0x50], 0x10000
jne 0x18007d84a
cmp qword [rsp + 0x48], 0x10000
jb 0x18007d84a
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18007d838
mov rax, qword [rsp + 0x28]
jmp 0x18007d869
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18007d862
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18007d980
mov qword [rsp + 0x20], rax
jmp 0x18007d786
xor eax, eax
add rsp, 0x68
ret

Function at 0x18007d870
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18007d9c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18007d973
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18007d8cb
mov rax, qword [0x180286008]
cmp qword [rsp + 0x20], rax
ja 0x18007d8cb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18007d88d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18007d8fa
jmp 0x18007d973
cmp dword [rsp + 0x50], 0x10000
jne 0x18007d951
cmp qword [rsp + 0x48], 0x10000
jb 0x18007d951
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18007d93f
mov rax, qword [rsp + 0x28]
jmp 0x18007d975
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18007d96e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18007d9c0
mov qword [rsp + 0x20], rax
jmp 0x18007d88d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18007da10
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18007dfa0
mov qword [rsp + 0x28], 0
cmp qword [0x1802bf448], 0
jne 0x18007da58
cmp qword [0x1802bf440], 0
je 0x18007da58
mov rax, qword [0x1802bf440]
mov qword [0x1802bf448], rax
cmp qword [0x1802bf448], 0
je 0x18007dafe
mov rax, qword [0x1802bf448]
cmp qword [rax + 0x10], 0
je 0x18007dafe
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18007dafe
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18007dafe
mov rax, qword [0x1802bf448]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18007dac4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18007dacb
xor eax, eax
jmp 0x18007dc79
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18007dc79
mov rax, qword [0x1802bf440]
mov qword [0x1802bf448], rax
jmp 0x18007db20
mov rax, qword [0x1802bf448]
mov rax, qword [rax + 8]
mov qword [0x1802bf448], rax
cmp qword [0x1802bf448], 0
je 0x18007db6d
cmp qword [0x1802bf448], 0
je 0x18007db6b
mov rax, qword [0x1802bf448]
cmp qword [rax + 0x10], 0
je 0x18007db6b
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18007db6b
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18007db6b
jmp 0x18007da9c
jmp 0x18007db0e
mov rcx, qword [rsp + 0x60]
call fcn.18007fbd0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18007dc80
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18007dc77
mov rax, qword [rsp + 0x48]
mov qword [0x1802bf448], rax
mov rax, qword [0x1802bf448]
mov dword [rax], 0x52727464
mov rax, qword [0x1802bf448]
mov qword [rax + 0x10], 0
mov rax, qword [0x1802bf448]
mov rcx, qword [0x1802bf440]
mov qword [rax + 8], rcx
mov rax, qword [0x1802bf448]
mov qword [0x1802bf440], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1802bf448]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18007dc28
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18007dc62
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18007dc1e
mov rax, qword [0x1802bf448]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18007da9c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800e0360
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 [0x180286040]
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 0x1800e04fc
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1800e04fc
cmp r10d, r14d
jne 0x1800e0400
sub rbx, 0x10
jmp 0x1800e0544
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1800e0472
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1800e0434
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1800e043c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1800e045b
movzx edx, r11b
mov rcx, rsi
call fcn.1800e1510
test al, al
jne 0x1800e0555
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1800e1b80
test al, al
jne 0x1800e0555
mov edx, dword [rsi + 0x64]
lea r9, [0x1800e1ee0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1800e049e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1800e01e0
jmp 0x1800e04f2
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.1800e01e0
test dil, dil
je 0x1800e04ea
cmp byte [rsi + 0x6a], 0
jne 0x1800e04ea
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 0x1800e0555
sub rbx, 0x10
jmp 0x1800e0544
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 0x1800e0559
mov ebp, dword [rbx]
jmp 0x1800e03c0
mov al, 1
jmp 0x1800e0562
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.180081890
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x10105a560
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10105a56d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10105a57d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x10105a565
lea eax, [rcx + 1]
jmp 0x10105a58b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x10105a59e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x10105a584
sub eax, 3
jb 0x10105a5be
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10105a60d
sar eax, 1
movsxd rbp, eax
jb 0x10105a5f4
jmp 0x10105a5cc
add ebx, ebx
jne 0x10105a5ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10105a5f4
inc ecx
add ebx, ebx
jne 0x10105a5da
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x10105a5f4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10105a5ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x10105a5dc
add ecx, 2
jmp 0x10105a5f9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.10105a522
jmp 0x10105a56d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1056000]
mov eax, dword [rdi]
or eax, eax
je 0x10105a669
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10622a4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10105a619
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x10105a663
mov qword [rbx], rax
add rbx, 8
jmp 0x10105a639
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.10105a6ec], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.10105a6ec
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x10105a6dc
sub rsp, 0xffffffffffffff80
jmp 0x1000034b0

Function at 0x180001000
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
mov eax, 0x2030
call fcn.1800010b0
sub rsp, rax
mov rbx, rcx
sub edx, 1
je 0x180001045
cmp edx, 1
jne 0x180001091
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x11]
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
test eax, eax
jns 0x180001091
int3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8d, 0x1004
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x180001091
call qword [sym.imp.ntdll.dll_RtlGetLastWin32Error]
test eax, eax
jne 0x180001091
mov ebx, 2
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
dec ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test ebx, ebx
jg 0x180001080
mov eax, 1
add rsp, 0x2030
pop rbx
ret
Function at 0x1400031e0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x88
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x78], 0
jg 0x14000321d
mov qword [rsp + 0x80], 0
jmp 0x1400033e9
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x68], 0
je 0x14000324e
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
call fcn.140003fc0
mov qword [rsp + 0x80], rax
jmp 0x1400033e9
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x58], rax
call fcn.140004380
mov qword [rsp + 0x50], rax
xor eax, eax
cmp rax, qword [rsp + 0x50]
jae 0x1400032ed
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.140005030
mov rcx, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
call fcn.140004410
mov r8, qword [rsp + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.1400043d0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x48]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x60]
sub rax, rdx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
mov edx, eax
call fcn.140004430
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x1400033d7
mov rcx, qword [rsp + 0x30]
call fcn.140002670
mov qword [rsp + 0x40], 0xfff
mov eax, 0xfff
cmp rax, qword [rsp + 0x60]
jae 0x140003395
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov rcx, qword [rsp + 0x70]
mov edx, 1
mov r8d, 0xfff
call fcn.140012490
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x38], 0xfff
je 0x140003390
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
jmp 0x1400033e9
jmp 0x140003313
xor eax, eax
cmp rax, qword [rsp + 0x60]
jae 0x1400033d2
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov edx, 1
call fcn.140012490
mov rcx, rax
mov rax, qword [rsp + 0x60]
sub rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x1400033d7
mov rax, qword [rsp + 0x58]
sub rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
add rsp, 0x88
ret
Function at 0x140003400
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x68], 0
je 0x140003446
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
call fcn.140004110
mov qword [rsp + 0x60], rax
jmp 0x140003554
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
call fcn.140004480
mov qword [rsp + 0x38], rax
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x1400034f5
xor eax, eax
cmp rax, qword [rsp + 0x38]
jge 0x1400034f5
mov rax, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x38]
jge 0x140003493
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1400044d0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
mov rcx, rax
call fcn.1400043d0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
sub rax, rdx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x38]
mov edx, eax
call fcn.1400044f0
xor eax, eax
cmp rax, qword [rsp + 0x58]
jge 0x140003545
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x80], 0
je 0x140003545
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call fcn.140011ee0
mov rcx, rax
mov rax, qword [rsp + 0x58]
sub rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x1400039f0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x98
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
cmp qword [rax + 0x68], 0
je 0x140003a26
mov rax, qword [rsp + 0x38]
test byte [rax + 0x71], 1
jne 0x140003a33
mov byte [rsp + 0x97], 1
jmp 0x140003b95
call fcn.140003cc0
mov rcx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rcx]
call qword [rax + 0x18]
mov dword [rsp + 0x84], eax
call fcn.140003cc0
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0x84]
call fcn.140003c90
test al, 1
jne 0x140003a7a
jmp 0x140003a87
mov byte [rsp + 0x97], 0
jmp 0x140003b95
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x78], 0x20
mov rcx, qword [rdx + 0x68]
lea r9, [rsp + 0x70]
add rdx, 0x74
mov rax, rsp
lea r8, [rsp + 0x48]
mov qword [rax + 0x20], r8
lea r8, [rsp + 0x50]
call fcn.140003cd0
mov ecx, eax
mov dword [rsp + 0x34], ecx
test eax, eax
je 0x140003aef
jmp 0x140003acb
mov eax, dword [rsp + 0x34]
sub eax, 1
je 0x140003af8
jmp 0x140003add
mov eax, dword [rsp + 0x34]
sub eax, 3
je 0x140003b77
jmp 0x140003b8d
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
sub rax, rcx
mov qword [rsp + 0x40], rax
xor eax, eax
cmp rax, qword [rsp + 0x40]
jae 0x140003b5f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
mov edx, 1
call fcn.140011ee0
mov rcx, rax
mov rax, qword [rsp + 0x28]
cmp rax, rcx
je 0x140003b5f
mov byte [rsp + 0x97], 0
jmp 0x140003b95
mov rax, qword [rsp + 0x38]
mov al, byte [rax + 0x71]
xor al, 0xff
and al, 1
mov byte [rsp + 0x97], al
jmp 0x140003b95
mov rax, qword [rsp + 0x38]
mov byte [rax + 0x71], 0
mov byte [rsp + 0x97], 1
jmp 0x140003b95
mov byte [rsp + 0x97], 0
mov al, byte [rsp + 0x97]
and al, 1
movzx eax, al
add rsp, 0x98
ret

Function at 0x14000b1fc
Capabilities:
Parse pe header

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

Function at 0x140013608
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013434
Function at 0x140003650
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400036ad
lea rbx, [0x140139480]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003694
cmp r10, 2
jb 0x140003694
cmp byte [r9], r8b
jne 0x140003694
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003670
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400036ef
lea rbx, [0x140139480]
cmp r8b, 0x23
jne 0x1400036d3
cmp byte [r9], r8b
jne 0x1400036d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400036c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400038b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1400038ca
mov qword [r8], 0
lea rdx, [0x140138680]
call fcn.140003700
mov rbx, rax
test rax, rax
jne 0x1400038ea
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.1400e6104
mov esi, eax
cmp eax, 0xffffffff
je 0x1400039b7
xor edx, edx
mov r8d, 2
mov rcx, rbx
call fcn.1400e6c0c
test eax, eax
jne 0x1400039b7
mov rcx, rbx
call fcn.1400e6104
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400039b7
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400e6c0c
test eax, eax
jne 0x1400039b7
cmp rdi, 0xffffffffffffffff
je 0x1400039b7
mov rcx, rdi
call fcn.1400efb80
mov rdx, qword [0x1402f8248]
mov rsi, rax
test rdx, rdx
je 0x140003976
lea rcx, [rdx + 0x6330]
mov r9, rdi
mov edx, dword [rdx + 0x4098]
call fcn.140008470
test rsi, rsi
je 0x1400039b7
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.1400ea564
mov rcx, rbx
cmp rax, rdi
je 0x1400039a5
call fcn.1400e68f0
mov rcx, rsi
call fcn.1400083f0
jmp 0x1400039bf
call fcn.1400e68f0
test r14, r14
je 0x1400039b2
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400039c1
mov rcx, rbx
call fcn.1400e68f0
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret