joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140131610
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x70]
mov rbx, rcx
test byte [rax], 8
jne 0x140131631
mov dword [rcx + 0x60], 0x6f
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, rcx
call fcn.140131820
test eax, eax
je 0x140131629
lea rdx, [rbx + 4]
mov rcx, rbx
call fcn.140131820
test eax, eax
je 0x140131629
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14013166e
lea rdx, [rsp + 0x30]
mov r8d, 3
mov rcx, rbx
call rax
cdqe
jmp 0x140131686
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 2]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 3
je 0x1401316ac
mov rcx, qword [rbx + 0x18]
mov dword [rbx + 0x60], 0x66
call fcn.140132290
mov qword [rbx + 0x18], 0
xor eax, eax
add rsp, 0x20
pop rbx
ret
movzx edx, byte [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov eax, edx
mov ecx, edx
movzx edi, dl
shr eax, 4
shr dil, 3
and ecx, 7
and eax, 7
and dil, 1
inc ecx
inc eax
mov dword [rbx + 8], eax
movzx eax, byte [rsp + 0x31]
mov dword [rbx + 0xc], eax
movzx eax, byte [rsp + 0x32]
mov byte [rbx + 0x10], al
test dl, dl
jns 0x1401317ff
mov eax, 1
xor edx, edx
shl eax, cl
mov ecx, eax
call fcn.1401323d0
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140131722
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [rbx + 0x60], 0x6d
add rsp, 0x20
pop rbx
ret
mov byte [rax + 8], dil
mov rax, qword [rbx + 0x18]
xor esi, esi
cmp dword [rax], esi
jle 0x140131807
xor edi, edi
nop word [rax + rax]
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x140131761
lea rdx, [rsp + 0x30]
mov r8d, 3
mov rcx, rbx
call rax
cdqe
jmp 0x140131779
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 2]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 3
jne 0x1401317d5
mov rax, qword [rbx + 0x18]
inc esi
add rdi, 3
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x30]
mov byte [rdi + rcx - 3], al
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x31]
mov byte [rcx + rdi - 2], al
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax + 0x10]
movzx eax, byte [rsp + 0x32]
mov byte [rcx + rdi - 1], al
mov rax, qword [rbx + 0x18]
cmp esi, dword [rax]
jl 0x140131740
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rbx + 0x18]
call fcn.140132290
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov qword [rbx + 0x18], 0
mov dword [rbx + 0x60], 0x66
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rbx + 0x18], 0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140131820
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x70]
mov rdi, rdx
mov rbx, rcx
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x14013184e
lea rdx, [rsp + 0x30]
mov r8d, 2
call rax
cdqe
jmp 0x140131866
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 1]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 2
je 0x140131880
mov dword [rbx + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
shl edx, 8
mov eax, 1
or edx, ecx
mov dword [rdi], edx
add rsp, 0x20
pop rdi
ret

Function at 0x1401318b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ecx, 0x78
mov rbx, r8
mov rbp, rdx
call qword [sym.imp.msvcrt.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1401318f4
test rbx, rbx
je 0x1401318e4
mov dword [rbx], 0x6d
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
xor edx, edx
mov rcx, rax
mov qword [rsp + 0x40], rsi
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x48], r15
call sub.msvcrt.dll_memset
xor r15d, r15d
mov edx, 0x6160
lea ecx, [r15 + 1]
mov qword [rdi + 0x48], r15
mov qword [rdi + 0x18], r15
call qword [sym.imp.msvcrt.dll_calloc]
mov rsi, rax
test rax, rax
jne 0x14013194d
test rbx, rbx
je 0x1401319f5
mov rcx, rdi
mov dword [rbx], 0x6d
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x140131a44
xor edx, edx
mov r8d, 0x6160
mov rcx, rax
call sub.msvcrt.dll_memset
mov qword [rdi + 0x70], rsi
mov qword [rsi], 8
mov qword [rsi + 0x38], r15
mov qword [rsi + 0x40], rbp
mov r9, qword [rdi + 0x70]
mov qword [rdi + 0x68], r14
mov rax, qword [r9 + 0x40]
test rax, rax
je 0x140131995
lea rdx, [rsp + 0x58]
mov r8d, 6
mov rcx, rdi
call rax
cdqe
jmp 0x1401319ad
mov r9, qword [r9 + 0x38]
mov edx, 1
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 5]
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 6
je 0x1401319c0
test rbx, rbx
je 0x1401319ec
mov dword [rbx], 0x66
jmp 0x1401319ec
lea rdx, [rsp + 0x58]
lea rcx, str.GIFVER
mov r8d, 3
mov byte [rsp + 0x5e], r15b
call qword [sym.imp.msvcrt.dll_strncmp]
test eax, eax
je 0x140131a02
test rbx, rbx
je 0x1401319ec
mov dword [rbx], 0x67
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
xor eax, eax
jmp 0x140131a44
mov rcx, rdi
call fcn.140131610
test eax, eax
jne 0x140131a2f
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
test rbx, rbx
je 0x140131a2b
mov dword [rbx], 0x68
xor eax, eax
jmp 0x140131a44
mov dword [rdi + 0x60], r15d
cmp byte [rsp + 0x5b], 0x39
sete al
mov byte [rsi + 0x6158], al
mov rax, rdi
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140131d20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x70]
mov rdi, rcx
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x140131d4b
lea rdx, [rsp + 0x30]
mov r8d, 1
call rax
cdqe
jmp 0x140131d62
mov r9, qword [rbx + 0x38]
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, edx
call qword [sym.imp.msvcrt.dll_fread]
cmp rax, 1
jb 0x140131d79
movzx ecx, byte [rsp + 0x30]
cmp ecx, 8
jle 0x140131d86
mov dword [rdi + 0x60], 0x66
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, 1
mov dword [rbx + 8], ecx
mov byte [rbx + 0x50], 0
shl eax, cl
mov dword [rbx + 0x20], 0x1002
mov edx, 0x100
mov dword [rbx + 0xc], eax
inc eax
mov dword [rbx + 0x10], eax
inc eax
inc ecx
mov dword [rbx + 0x14], eax
mov eax, 1
mov dword [rbx + 0x18], ecx
shl eax, cl
lea rcx, [rbx + 0x2150]
mov dword [rbx + 0x1c], eax
xor eax, eax
mov qword [rbx + 0x28], rax
mov dword [rbx + 0x30], eax
movabs rax, 0x100200001002
nop word [rax + rax]
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
lea rcx, [rcx + 0x40]
mov qword [rcx - 0x28], rax
mov qword [rcx - 0x20], rax
mov qword [rcx - 0x18], rax
mov qword [rcx - 0x10], rax
mov qword [rcx - 8], rax
dec rdx
jne 0x140131de0
lea eax, [rdx + 1]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1401330fc
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14067fb80], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14067fb90]
jne 0x140133149
call qword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov rcx, rbx
mov dword [0x14067fbb8], eax
call qword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x14067fb80], 1
mov ecx, dword [0x14067fbb8]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14013321e
mov rcx, qword [0x14067c168]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140133249
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov rax, qword [0x14067fb88]
test rax, rax
je 0x140133199
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14067fb88], rbp
call qword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x140133264]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.DLL_RegisterWaitForSingleObject]
mov ecx, dword [0x14067fbb8]
mov rdx, rbp
call qword [sym.imp.KERNEL32.DLL_TlsSetValue]
mov rcx, qword [0x14067c168]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
test rax, rax
je 0x140133249
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1402ad420
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1402ad42d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1402ad43d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1402ad425
lea eax, [rcx + 1]
jmp 0x1402ad44b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1402ad45e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1402ad444
sub eax, 3
jb 0x1402ad47e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1402ad4cd
sar eax, 1
movsxd rbp, eax
jb 0x1402ad4b4
jmp 0x1402ad48c
add ebx, ebx
jne 0x1402ad48a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402ad4b4
inc ecx
add ebx, ebx
jne 0x1402ad49a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1402ad4b4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1402ad4ad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1402ad49c
add ecx, 2
jmp 0x1402ad4b9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1402ad3e2
jmp 0x1402ad42d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1b5c00
mov dl, 0x21
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1402ad51d
cmp rsi, rcx
jae 0x1402ad525
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1402ad504
cmp al, 0x8f
ja 0x1402ad504
cmp byte [rsi - 2], 0xf
je 0x1402ad50a
sub al, 0xe8
cmp al, 1
ja 0x1402ad4ee
cmp rsi, rcx
jae 0x1402ad525
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1402ad4f4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1402ad525
lodsb al, byte [rsi]
jmp 0x1402ad504
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x2a9000]
mov eax, dword [rdi]
or eax, eax
je 0x1402ad58e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2ad23c]
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 0x1402ad532
jns 0x1402ad567
movzx rdx, word [rdi]
add rdi, 2
jmp 0x1402ad571
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 0x1402ad588
mov qword [rbx], rax
add rbx, 8
jmp 0x1402ad552
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1402ad5d2
cmp al, 0xef
ja 0x1402ad5ba
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1402ad59a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1402ad5a9
mov eax, dword [rdi]
add rdi, 4
jmp 0x1402ad5a9
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 + 0x1a7]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1402ad626
sub rsp, 0xffffffffffffff80
jmp 0x140180c30
Function at 0x140002ec0
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.1400049b0
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.1400049b0
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 0x140002f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x140003060
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002f7b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140003005
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002f60
mov rcx, rbx
call fcn.140003980
mov rdi, rax
test rax, rax
je 0x140003082
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003ac0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003067
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002ffe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140003010
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002ec0
nop dword [rax]
xor esi, esi
jmp 0x140002f88
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002ec0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002ec0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400035f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x14000364c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140003643
test rsi, rsi
je 0x140003643
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003628
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140003980
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140006ae0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400039a0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400039a8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400039a0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400039fd
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 0x1400039f4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400039a0
add rax, 0x28
cmp rax, r9
jne 0x1400039e0
xor eax, eax
ret

Function at 0x140003a00
Capabilities:
Parse pe header

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

Function at 0x140003ac0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140006ae0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140003adf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003ae8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0xbca040
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xbca04d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xbca05d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xbca045
lea eax, [rcx + 1]
jmp 0xbca06b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xbca07e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xbca064
sub eax, 3
jb 0xbca09e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xbca0ed
sar eax, 1
movsxd rbp, eax
jb 0xbca0d4
jmp 0xbca0ac
add ebx, ebx
jne 0xbca0aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbca0d4
inc ecx
add ebx, ebx
jne 0xbca0ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xbca0d4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xbca0cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xbca0bc
add ecx, 2
jmp 0xbca0d9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00bca002
jmp 0xbca04d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x39fa00
mov dl, 0x64
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xbca139
cmp rsi, rcx
jae 0xbca141
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xbca120
cmp al, 0x8f
ja 0xbca120
cmp byte [rsi - 2], 0xf
je 0xbca126
sub al, 0xe8
cmp al, 1
ja 0xbca10a
cmp rsi, rcx
jae 0xbca141
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xbca110
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xbca141
lodsb al, byte [rsi]
jmp 0xbca120
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7bf000]
mov eax, dword [rdi]
or eax, eax
je 0xbca19e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x7ca000]
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 0xbca14e
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 0xbca198
mov qword [rbx], rax
add rbx, 8
jmp 0xbca16e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xbca1e2
cmp al, 0xef
ja 0xbca1ca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xbca1aa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xbca1b9
mov eax, dword [rdi]
add rdi, 4
jmp 0xbca1b9
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xbca236
sub rsp, 0xffffffffffffff80
jmp 0x45ca20
Function at 0x420e20
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
cmp byte [0x005d96f3], 0
jne 0x420f85
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
sub rdx, qword [rbx + 0x18]
nop
test rdx, rdx
jne 0x420f2e
xor eax, eax
nop
nop
nop
mov rcx, rax
shr rax, 3
and rcx, 7
mov edx, 1
shl edx, cl
nop
add rax, qword [rbx + 0x50]
lock or byte [rax], dl
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rdx, 0x800000000000
lea rax, [rdx + rcx]
mov rdx, rax
shr rax, 0x2a
cmp rax, 0x40
jae 0x420f7a
lea rbx, [0x005d0cc0]
mov rax, qword [rbx + rax*8]
shr rdx, 0x16
and rdx, 0xfffff
mov rdx, qword [rax + rdx*8]
test byte [rdx], al
test byte [rax], al
mov rax, rcx
shr rcx, 0x10
and rcx, 0x3f
movzx ebx, byte [rdx + rcx + 0x21040]
lea rdx, [rdx + rcx]
lea rdx, [rdx + 0x21040]
shr rax, 0xd
and rax, 7
mov rcx, rax
mov esi, 1
shl esi, cl
test sil, bl
jne 0x420eef
lock or byte [rdx], sil
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rax, qword [rax + 0xa0]
test byte [rax], al
mov rcx, qword [rsp + 0x30]
add qword [rax + 0x16a8], rcx
mov rcx, qword [rsp + 0x38]
add qword [rax + 0x16b0], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
cmp word [rbx + 0x5e], 0
je 0x420f4a
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
shr rdx, cl
and rax, rdx
jmp 0x420e55
movzx ecx, byte [rbx + 0x65]
cmp cl, 0x40
sbb rax, rax
movzx esi, byte [rbx + 0x66]
cmp sil, 0x40
sbb rdi, rdi
shr rdx, cl
and rax, rdx
movzx edx, word [rbx + 0x5c]
imul rax, rdx
mov ecx, esi
shr rax, cl
and rax, rdi
jmp 0x420e55
mov ecx, 0x40
nop
call fcn.004674a0
lea rax, [0x004fa990]
mov qword [rsp], rax
mov qword [rsp + 8], 0x2c
call fcn.00436a60
nop
int3
Function at 0x428720
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x42898e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x005d9670]
mov qword [rsp], rax
call fcn.0040b7e0
lea rax, [0x005d95e0]
mov qword [rsp], rax
call fcn.004190a0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x005d9670]
mov qword [rsp], rcx
call fcn.0040ba40
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x005d9940], 0
jne 0x42897f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x005d9940], 0
nop dword [rax]
jne 0x428958
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00428280
cmp byte [rsp + 0x10], 0
je 0x4288f6
cmp dword [0x005d9728], 0
jne 0x428814
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00414100
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.0041fc40
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x00590181]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.0041faa0
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x428802
cmp byte [rax + 0xb1], 0
je 0x428802
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x428802
nop
nop
lea rax, [0x005d9670]
mov qword [rsp], rax
call fcn.0040b7e0
nop
mov rax, qword [0x005d9610]
sub rax, qword [0x005d95e0]
mov qword [0x005d9610], rax
mov rax, qword [0x005d95f8]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x005d95f8], rcx
nop
nop
lea rax, [0x005d9670]
mov qword [rsp], rax
call fcn.0040ba40
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.00467120
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.004670e0
jmp 0x4287db
mov rcx, qword [rsp + 0x68]
call fcn.004670e0
jmp 0x4287a8
call fcn.00465380
jmp fcn.00428720