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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x14003e470]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x14001d326
cmp word [rdx], r9w
jne 0x14001d326
or byte [rax + rbp*8 + 0x38], 4
jmp 0x14001d32b
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x14001d4aa
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x14001d475
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x14001d373
cmp rcx, r8
jae 0x14001d393
cmp word [rcx], r9w
jne 0x14001d373
add rax, 4
mov edx, r9d
jmp 0x14001d376
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x14001d348
jmp 0x14001d4aa
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001d46e
cmp dword [rsp + 0x80], edi
je 0x14001d46e
lea r9, [0x14003e470]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x14001d448
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x14001d3fb
mov word [rbx], bp
jmp 0x14001d4a7
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x14001d416
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x14001d4a7
cmp word [rsp + 0x70], bp
jne 0x14001d454
cmp rbx, rsi
je 0x14001d3f3
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001dff0
cmp word [rsp + 0x70], bp
je 0x14001d4aa
mov word [rbx], 0xd
jmp 0x14001d4a7
mov rcx, r15
lea r9, [0x14003e470]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001d4a4
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001d4aa
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400212b4
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400212e4
xor eax, eax
jmp 0x1400213a7
mov rbp, rbx
cmp word [rax], si
je 0x140021309
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400212f0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400212ec
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.14001f864
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x14002134a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400212dd
call fcn.1400182b0
mov rdi, rax
test rax, rax
jne 0x140021360
xor ecx, ecx
call fcn.140018250
jmp 0x14002133f
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.14001f864
test eax, eax
jne 0x140021391
mov rcx, rdi
call fcn.140018250
jmp 0x14002139b
xor ecx, ecx
call fcn.140018250
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 0x140024014
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x140024087
cmp word [rcx], si
je 0x140024087
lea rdx, [0x1400314b8]
call fcn.140027278
test eax, eax
je 0x140024087
lea rdx, [0x1400314d0]
mov rcx, rbx
call fcn.140027278
test eax, eax
jne 0x14002407d
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1400240a4
mov eax, dword [rsp + 0x30]
jmp 0x1400240b6
mov rcx, rbx
call fcn.1400180ec
jmp 0x1400240b6
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1400240a8
xor eax, eax
jmp 0x1400240b6
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400240b6
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400240c8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.140019f68
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14002416b
cmp edi, dword [rsp + 0x30]
je 0x140024164
test ebp, ebp
je 0x140024164
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x140024140
sub dx, 0x61
cmp dx, 0x19
ja 0x14002414c
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x14002412d
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x140024150
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x14002416d
mov eax, 1
jmp 0x14002416d
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 0x140026d90
Capabilities:
Set environment variable

Disassembly:
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.140013fc8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140026e1a
cmp byte [rbp - 0x21], r15b
je 0x140026e15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140026e50
call fcn.14001b118
test eax, eax
jne 0x140026e3c
cmp byte [rbp - 0x21], r15b
je 0x140026e34
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140026e50
cmp byte [rbp - 0x21], r15b
je 0x140026e4d
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.14001459c
test eax, eax
jne 0x140026ef0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140013fc8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140026e8f
cmp byte [rbp - 0x21], r15b
je 0x140026ec4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140026ec4
call fcn.14001b118
test eax, eax
jne 0x140026eb0
cmp byte [rbp - 0x21], r15b
je 0x140026ea9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140026ec4
cmp byte [rbp - 0x21], r15b
je 0x140026ec1
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.14001459c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140026ef0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140026ef3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140026f01
mov rcx, rdi
call fcn.140018250
cmp byte [rbp + 0x3f], r15b
je 0x140026f10
mov rcx, qword [rbp + 0x27]
call fcn.140018250
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 0x1400289b0
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140004d80]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004d90]
mov dword [rax], 1
mov rax, qword [0x140004da0]
mov dword [rax], 1
mov rax, qword [0x140004d30]
cmp word [rax], 0x5a4d
jne 0x14000105e
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c8
mov rax, qword [0x140004d70]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b8
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x140004e40]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140004e20]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140004cb0]
cmp dword [rax], 1
je 0x140001100
xor eax, eax
add rsp, 0x20
pop rbp
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x14000107b
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001118
cmp dx, 0x20b
jne 0x14000105e
cmp dword [rax + 0x84], 0xe
jbe 0x14000105e
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105e
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x20
pop rbp
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105e
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105e
Function at 0x140001a90
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x1400080a4]
mov rbx, rcx
test esi, esi
jle 0x140001c30
mov rax, qword [0x1400080a8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001b4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001bd3
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001b30
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001c52
mov rax, qword [0x1400080a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400080a8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001c37
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001bcc
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001be0
add dword [0x1400080a4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400080a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001bcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop word [rax + rax]
xor esi, esi
jmp 0x140001b58
mov rax, qword [0x1400080a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1400021e0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x140008100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400080e0]
test rbx, rbx
je 0x140002245
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000223c
test eax, eax
jne 0x14000223c
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002220
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002480
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002498
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400024a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400024b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400024fd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400024f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400024ff
add rax, 0x28
cmp rax, r9
jne 0x1400024e0
xor eax, eax
ret

Function at 0x140002500
Capabilities:
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002598
mov rdx, qword [0x140004d30]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140002586
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140002586
cmp word [rax + 0x18], 0x20b
jne 0x140002586
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002598
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002571
add rbx, 0x28
cmp rbx, rdi
je 0x140002598
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002568
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x1400025b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004d30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400025d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400025d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025d0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000262d
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 0x140002624
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400025d0
add rax, 0x28
cmp rax, r9
jne 0x140002610
xor eax, eax
ret
Function at 0x140002630
Capabilities:
Parse pe header

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

Function at 0x140002670
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140004d30]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002690
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002698
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002690
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400026e0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400026d7
test rcx, rcx
je 0x140002690
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x1400026c8
xor eax, eax
ret

Function at 0x1400026f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004d30]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000270f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002718
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002730
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004d30]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002750
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002758
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002750
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002750
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400027a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400027b0
add rdx, 0x28
cmp rdx, r9
jne 0x140002790
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x1400027c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140004d30]
xor r8d, r8d
cmp word [r11], 0x5a4d
mov r10d, ecx
jne 0x1400027e4
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
cmp dword [rcx], 0x4550
je 0x1400027f0
mov rax, r8
ret
cmp word [rcx + 0x18], 0x20b
jne 0x1400027e4
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x1400027e4
movzx edx, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rdx, [rcx + rdx + 0x18]
test r9w, r9w
je 0x1400027e4
lea ecx, [r9 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rdx + 0xc]
mov rcx, r8
cmp rax, r8
jb 0x14000283c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002850
add rdx, 0x28
cmp r9, rdx
jne 0x140002828
xor r8d, r8d
mov rax, r8
ret
add rax, r11
jmp 0x140002860
sub r10d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x14000286e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002845
test r10d, r10d
jg 0x140002858
mov r8d, dword [rax + 0xc]
add r8, r11
mov rax, r8
ret
Function at 0x140001b04
Capabilities:
Parse pe header

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

Function at 0x140004e30
Capabilities:
Parse pe header

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

Function at 0x1400124b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400124d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400124d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140132496
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
cmp eax, edi
jmp rcx
mov dword [rbp + rcx*4 - 0x79], 0xe14d
popf
or r9d, 0xff8869a6
je 0x1401324cb
jne 0x1401324cb
rcr r15d, 0xf4
xor r10d, 0x577697d5
add edx, 0xdba4a97f
js 0x14013265f
ror r9d, 0xe
div r12
movabs r10, 0x5aee06000000f3e9
call rcx
int3
jmp 0x1401325c3
or ebp, 0xcfc4a8a1
lea ecx, [rdx + 0xed9f]
call rax
lea ebp, [rcx + 0xbfa2]
jmp 0x14013288c
and ch, byte [0x188d6e15a]
bswap ebp
movabs rsi, 0xd14cf664ae433eb
call rax
lea r15d, [rdx - 0x6029]
ror r11d, 3
mul r11
call fcn.140132942
mov r9d, 0x20
or eax, 0x20000020
mov dword [rsp + 0x58], r9d
mov dword [rbx + 0x24], eax
jmp 0x140132a48
jle 0x140132048
je 0x140131cb3
lea r8d, [rdi - 0xaad1]
jne 0x14013169c
int3
jmp 0x140132a52
lea rax, [rsp + 0x58]
mov rcx, 0xffffffffffffffff
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
jmp 0x140132dc5
test ecx, ecx
je 0x1401339cb
cmp dword [rax + 4], r15d
je 0x1401339cb
mov rax, qword gs:[0x60]
lea r14, [rdi + rcx]
jmp 0x140132ff6
jb 0x140132069
lea rdi, [0x140000000]
mov r9d, dword [rbp + 0x110]
lea rax, [rbp + 0x110]
lea r8, [rbp + 0x150]
jmp 0x140132dde
movzx eax, word [r13 + 6]
add rbx, 0x28
lea rdx, [rax + rax*4]
lea rax, [r13 + 0x108]
lea rax, [rax + rdx*8]
cmp rbx, rax
jmp 0x140132ba5
call r12
cmp eax, 0xc0000096
jne 0x140132d8d
nop
jmp 0x1401321ca
xchg r10, rax
mov qword [rsp + 0x20], r10
xchg r10, rax
lea rdx, [rbp + 0x158]
jmp 0x140133091
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
jmp fcn.140132dad
mov rcx, 0xffffffffffffffff
call r12
lea rax, [0x140134360]
mov ecx, dword [rax]
jmp 0x140132b6f
Function at 0x140132942
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov edx, 0x6ad32511
bswap rcx
rcr r9d, 0xa0
cmp rdx, rcx
or ebp, 0x611459c8
mov ebp, 0x8940f014
jmp 0x1401327b7
test al, 0x40
je 0x140132a4d
and eax, 0xffffffbf
jmp 0x140132686
std
invalid
lea edx, [rcx - 0xc9f]
jl 0x140131b05
inc rdi
inc rdi
popfq
jae 0x140130fa5
jmp 0x140132606
nop
neg rsi
sub r12d, 0xedee99c5
js 0x14013246e
rcr r11d, 0x83
jns 0x140131981
pause
jmp 0x1401325b2
call rcx
pushfq
mul rcx
and ebx, 0x48ccb614
jmp 0x1401323e6
mov qword [rsp + 0x30], r14
call r12
cmp eax, 0xc000008c
jne 0x1401328d9
jmp 0x14013250a
jmp rcx
in al, 0x4a
iret
mov dword [rsp + 0x58], r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rax
jmp 0x1401325dc
cmp ebx, 0x503bfa87
lea r13d, [rdi - 0x5e5b]
call rcx
rcl r11d, 0xf3
jmp 0x1401324ec
mov esi, dword [rbx + 0xc]
mov r9d, 0x40
cmovae eax, dword [rbx + 0x10]
jne 0x140132870
je 0x140132870
popfq
syscall
or r10d, 0x522c82b1
ror r8d, 0x52
jnp 0x140132dd4
ror edi, 0xac
rcl r10d, 0x9d
rcl ebx, 0xdc
lea r15d, [rdi + 0xc7b2]
bswap r14
jmp 0x140131b11
jmp 0x140132a09
xchg rbx, rcx
call fcn.140134090
test dil, dil
jne 0x140132d8d
mov eax, dword [rbx + 0x24]
test eax, eax
js 0x140132a4d
jmp 0x140132405
lea r9, [rbp + 0x1b0]
mov dword [rsp + 0x20], 2
lea r8, [rbp + 0x230]
mov edx, r14d
xchg rbx, rcx
mov rbx, rsi
jne 0x140132923
je 0x140132923
jo 0x14013266b
lea edx, [rbp - 0x13f6]
jne 0x140132aa2
test r13, rbx
dec rbp
popfq
cmp r8d, 0xfbdc1d5c
bswap r10
call rax
movabs rdi, 0x7192f9ad532293eb
mul r13
call 0x140133795
mov eax, dword [rbx + 8]
lea r8, [rsp + 0x30]
cmp eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x40]
jmp 0x140132830
jmp 0x1401328b8
jmp 0x140132830
mov rcx, 0xffffffffffffffff
mov r14d, eax
lea rax, [0x140000000]
add rsi, rax
jmp 0x14013279e
mov r9d, dword [rsp + 0x58]
int 0x97
lea r12d, [rbx + 0x8e3b]
rcr r10d, 0x49
rcl ecx, 0x9f
jne 0x140132adb
je 0x140132adb
popfq
sub ecx, 0x3f0e267b
rol r14d, 0xee
rcr ebx, 0x56
lea ebp, [rdx - 0xb41f]
syscall
rcr r13d, 0xad
test rdi, rdi
jae 0x140133957
movabs r15, 0x2a733f0000012fe9
and ebx, 0xf1acf60f
rcr r14d, 0x35
lea r10d, [rcx + 0xcb59]
and ebp, 0x80b4d139
lea r14d, [rcx - 0x8134]
add esi, 0x43c7ff38
call 0x1401332f8
jmp rcx
jmp 0x140132c0f
cmp r8, rbp
pushf
int3
invalid