joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026a30
Capabilities:
Parse pe header

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

Function at 0x140de9160
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140de92e7
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140de9191
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140de9177
add dl, dl
jne 0x140de919e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140de91fe
xor eax, eax
add dl, dl
jne 0x140de91ad
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140de92b5
add dl, dl
jne 0x140de91be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140de91cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140de91d8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140de91e5
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140de91f2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140de9186
mov eax, 1
add dl, dl
jne 0x140de920e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140de921b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140de9203
sub eax, ebx
mov ebx, 1
jne 0x140de9254
mov ecx, 1
add dl, dl
jne 0x140de9236
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140de9243
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140de922b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140de9186
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140de9270
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140de927d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140de9265
cmp eax, 0x7d00
jae 0x140de92a3
cmp eax, 0x500
jb 0x140de929e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140de9186
cmp eax, 0x7f
ja 0x140de92a6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140de9186
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140de92da
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140de9186
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x141285514
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14128551e
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141285547
pop rbp
sub rbp, 0x33
sub rbp, 0x1285514
sub rsp, 0x20
jmp 0x141285566
mov rax, 0x1285514
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x3e4db84d
xor byte [rax], dl
inc rax
dec rcx
jne 0x141285585
jmp 0x14128559c
add eax, 0xc4c6a4c4
jno 0x1412855f0
add rax, 0x4c458ccc
add rax, 0xffffffff8a05a44c
lea ecx, [rdx + 0x4d]
add rax, 0x4d658f8a
add rax, 0x4c05afba
mov esi, es
int3
movsb byte [rdi], byte [rsi]
pop rbx
mov word [r13 + 0x55c7c4f], fs
int3
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013120
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014460
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014480
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014493
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400144bd
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400144d1
xor al, al
jmp 0x140014501
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400144e3
xor al, al
jmp 0x140014501
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400144ff
xor al, al
jmp 0x140014501
mov al, 1
add rsp, 0x38
ret
Function at 0x140012350
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113ac
movzx eax, al
test eax, eax
jne 0x140012370
mov ecx, 7
call fcn.14001132a
nop
mov byte [rsp + 0x20], 0
call fcn.14001133e
mov byte [rsp + 0x21], al
cmp dword [0x14001d878], 1
jne 0x140012394
mov ecx, 7
call fcn.14001132a
nop
jmp 0x1400123ec
cmp dword [0x14001d878], 0
jne 0x1400123e7
mov dword [0x14001d878], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a4
test eax, eax
je 0x1400123c8
mov eax, 0xff
jmp 0x1400124f1
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011334
mov dword [0x14001d878], 2
jmp 0x1400123ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011316
call fcn.1400112ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140012449
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x140012449
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140023020]
nop
call fcn.1400112df
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001247d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001247d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001136b
nop
call fcn.1400125a0
mov dword [rsp + 0x28], eax
call fcn.14001128a
movzx eax, al
test eax, eax
jne 0x14001249c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400124ab
call fcn.140011375
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x1400124f1
add rsp, 0x68
ret
Function at 0x140004884
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.140012b50
mov r15, qword [0x140020514]
cmp r15, 1
jne 0x140004953
push qword [0x140020604]
pop rcx
call fcn.14000dd04
mov r15, rax
and r15, r15
jle 0x1400048e9
mov rcx, qword [0x140020604]
call fcn.14000dd0c
mov rcx, qword [0x140020604]
call fcn.14000dd20
or rax, rax
je 0x1400048e9
mov rbp, qword [0x14002060c]
push qword [rbp + 0x10]
pop rcx
call fcn.14000e1bc
jmp 0x1400048c6
push qword [0x1400205f4]
pop rcx
call fcn.14000dd04
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x28]
and r15, r15
jle 0x140004953
push 5
push 0
push 1
push qword [0x1400205f4]
pop rcx
pop rdx
pop r8
pop r9
call fcn.140009060
mov rcx, qword [0x1400205f4]
call fcn.14000dd0c
mov rcx, qword [0x1400205f4]
call fcn.14000dd20
or rax, rax
je 0x140004953
mov rbp, qword [0x1400205fc]
push qword [rbp + 0x14]
pop rcx
call sub.KERNEL32.dll_RemoveDirectoryW
jmp 0x140004930
mov rax, 1
jmp 0x14000495f
add rsp, 0x38
pop r15
pop rbp
ret

Function at 0x140006b38
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
call sub.KERNEL32.dll_GetLastError
mov qword [rsp + 0x38], rax
mov rcx, qword [0x14001f190]
call sub.KERNEL32.dll_TlsGetValue
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x38]
call sub.KERNEL32.dll_SetLastError
mov rax, qword [rsp + 0x28]
add rsp, 0x48
ret

Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
outsb dx, byte [rsi]
jp 0x14003f686
pop rcx
imul ecx, dword [rbp], 0xffffff8c
or byte [rcx + rdi*4], bl
out 0x52, al
push rdx
call 0xddd98d72
cmp eax, 0x16394ba1
invalid
push rcx
int1
invalid
invalid
cmp eax, dword [rcx]
movabs eax, dword cs:[0x502b34d436fcd99d]
enter 0x842, 0x2d
clc
sti
add cl, byte [rdx + 0x1d9df6f9]
mov bh, cl
invalid
popfq
invalid
insb byte [rdi], dx
invalid
mov bh, cl
neg byte [rbp - 0x747093e3]
invalid
push r14
sahf
xchg edi, eax
sub eax, 0xa895cf29
adc ah, cl
pop rcx
fcomp dword [rbp - 0x6d]
out 0x1d, al
sbb eax, 0xf59e98b
sti
sbb eax, 0xf59e98b
sti
cmp eax, 0xf62ef8e1
fcomi st(3)
xchg ebx, eax
jae 0x14003f69e
test al, 0xf5
cmpsb byte [rsi], byte [rdi]
in al, dx
leave
cmp ah, byte [rcx]
sar byte [rbp + 0x56], 0xe6
clc
sub dword [rdi], edi
sbb eax, 0x37a4e4d6
movsb byte [rdi], byte [rsi]
mov ebx, 0x1c1cfd96
invalid
leave
jg 0x14003f729
pop rdi
push rcx
xchg ecx, eax
invalid
rol byte [rcx - 0x4c], cl
stosb byte [rdi], al
invalid
invalid
Function at 0x140017724
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 [0x1400211b8], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1400211c8]
jne 0x140017771
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x1400211f0], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1400211b8], 1
mov ecx, dword [0x1400211f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x140017846
mov rcx, qword [0x1400204cc]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140017871
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400211c0]
test rax, rax
je 0x1400177c1
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1400211c0], 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, [0x14001788c]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x1400211f0]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1400204cc]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x140017871
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 0x140f6f0b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6f0be
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6f0e7
pop rbp
sub rbp, 0x33
sub rbp, 0xf6f0b4
sub rsp, 0x20
jmp 0x140f6f106
mov rax, 0xf6f0b4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x2591f5d2
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6f125
jmp 0x140f6f13c
invalid
Function at 0x140002010
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x14000202f
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x140002037
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret

Function at 0x14000a5a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x40], 0
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.140001df0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001990
nop
lea rcx, [rsp + 0x60]
call fcn.1400019b0
movzx eax, al
test eax, eax
jne 0x14000a646
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x60]
call fcn.1400019f0
movzx eax, byte [rsp + 0x41]
jmp 0x14000a78d
lea rcx, [rsp + 0x60]
call fcn.140001690
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14000a67b
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x60]
call fcn.1400019f0
movzx eax, byte [rsp + 0x42]
jmp 0x14000a78d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
inc rax
mov rcx, rax
call fcn.140001910
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
mov rax, qword [rsp + 0x98]
cmp qword [rax], 0
jne 0x14000a6d3
mov byte [rsp + 0x43], 0
lea rcx, [rsp + 0x60]
call fcn.1400019f0
movzx eax, byte [rsp + 0x43]
jmp 0x14000a78d
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x60]
call fcn.140001690
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000a747
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xa0]
cmp rax, qword [rcx]
jne 0x14000a747
mov byte [rsp + 0x40], 1
jmp 0x14000a775
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax]
call fcn.140001950
mov rax, qword [rsp + 0x98]
mov qword [rax], 0
mov rax, qword [rsp + 0xa0]
mov qword [rax], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x44], al
lea rcx, [rsp + 0x60]
call fcn.1400019f0
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400105d0
add rsp, 0x88
ret
Function at 0x14000d320
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2f0]
cmp dword [rax + 0x18], 0
jne 0x14000d358
xor eax, eax
jmp 0x14000d4e9
movzx eax, byte [0x140036ec8]
test eax, eax
jne 0x14000d46d
mov byte [0x140036ec8], 1
mov eax, 2
imul rax, rax, 0
lea rax, [rsp + rax + 0xc0]
mov rdx, rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
call fcn.14000f2c0
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x2f0]
call fcn.14000d690
lea rcx, [rsp + 0x98]
call fcn.14000ba50
movzx eax, al
test eax, eax
je 0x14000d3fa
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x98]
call fcn.14000bad0
mov eax, dword [rsp + 0x40]
jmp 0x14000d4e9
lea rcx, [rsp + 0x98]
call fcn.14000ba80
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0x10000000
xor r9d, r9d
mov r8, qword [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.dbghelp.dll_SymLoadModuleExW]
mov rcx, qword [rsp + 0x2f0]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x98]
call fcn.14000bad0
mov rax, qword [rsp + 0x2f0]
cmp qword [rax + 8], 0
jne 0x14000d480
xor eax, eax
jmp 0x14000d4e9
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x14000d510]
xor r8d, r8d
mov rax, qword [rsp + 0x2f0]
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.dbghelp.dll_SymEnumSymbols]
test eax, eax
je 0x14000d4e7
cmp dword [rsp + 0x90], 0
je 0x14000d4e7
mov eax, dword [rsp + 0x90]
jmp 0x14000d4e9
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1400105d0
add rsp, 0x2e8
ret
Function at 0x14000d590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x18], rax
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x10], eax
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rsp + 0x18]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x10]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov dword [rsp], 0
jmp 0x14000d622
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x14]
xor edx, edx
mov eax, ecx
mov ecx, 0x1c
div rcx
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
jae 0x14000d682
mov eax, dword [rsp]
imul rax, rax, 0x1c
mov rcx, qword [rsp + 0x20]
cmp dword [rcx + rax + 0xc], 2
je 0x14000d659
jmp 0x14000d61a
mov eax, dword [rsp]
imul rax, rax, 0x1c
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
jmp 0x14000d684
xor eax, eax
add rsp, 0x48
ret
Function at 0x140011088
Capabilities:
Parse pe header

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

Function at 0x14001b2a4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001b0d0

Function at 0x1400278e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140027908
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140027908
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
xor eax, eax
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
lea rdx, [0x14002d5b0]
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0x58]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov rsi, r9
mov ebp, eax
call fcn.14000acd0
mov r15d, eax
test eax, eax
je 0x1400010d3
lea rdx, [rbx + 0x12]
mov r8d, eax
lea rcx, [0x14002d5c0]
call fcn.140002000
lea eax, [rbp - 1]
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x2000
mov qword [rsp + 0x80], r13
call fcn.14001591c
mov r13, rax
test rax, rax
jne 0x140001109
lea r8, [rbx + 0x12]
lea rdx, [0x14002d610]
lea rcx, [0x14002d654]
call fcn.140001fc0
jmp 0x140001264
mov ecx, 0x2000
call fcn.14001591c
mov rbp, rax
test rax, rax
jne 0x140001137
lea r8, [rbx + 0x12]
lea rdx, [0x14002d660]
lea rcx, [0x14002d654]
call fcn.140001fc0
jmp 0x140001264
mov qword [rsp + 0xd0], r12
mov r15d, 0xffffffff
mov r12d, dword [rbx + 8]
nop dword [rax]
mov eax, 0x2000
mov rbx, r12
cmp r12, rax
mov r9, rdi
mov edx, 1
mov rcx, r13
cmova rbx, rax
mov r8, rbx
call fcn.14001012c
cmp rax, rbx
jne 0x14000125c
mov rcx, rdi
call fcn.14000fea0
test eax, eax
jne 0x14000125c
sub r12, rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r13
nop word [rax + rax]
mov ebx, 0x2000
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x38], ebx
lea rcx, [rsp + 0x20]
call fcn.140009110
mov edi, eax
mov r15d, 0xffffffff
lea ecx, [rax + 4]
cmp ecx, 2
jbe 0x140001241
cmp eax, 2
je 0x14000123c
mov ecx, dword [rsp + 0x38]
sub rbx, rcx
test r14, r14
je 0x140001203
mov r9, r14
lea edx, [r15 + 2]
mov r8, rbx
mov rcx, rbp
call fcn.14001086c
cmp rax, rbx
jne 0x1400011fe
mov rcx, r14
call fcn.14000fea0
test eax, eax
je 0x140001219
mov edi, r15d
jmp 0x140001241
test rsi, rsi
je 0x140001219
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.14002b070
add rsi, rbx
cmp dword [rsp + 0x38], 0
je 0x1400011a0
cmp edi, 1
je 0x140001237
test r12, r12
je 0x140001241
mov rdi, qword [rsp + 0xc0]
jmp 0x140001150
xor r15d, r15d
jmp 0x14000125c
mov edi, 0xfffffffd
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x14002d6b0]
add rdx, 0x12
mov r8d, edi
call fcn.140002000
mov r12, qword [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.14000a9b0
mov rcx, r13
call fcn.140015908
mov rcx, rbp
call fcn.140015908
mov r13, qword [rsp + 0x80]
mov eax, r15d
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret