joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404719a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
cmp byte [0x1404dd5a9], 0
mov rbp, rcx
mov r12, rdx
mov rdi, r8
je 0x140471a28
lea rdx, [0x1404a27b2]
mov rcx, rdi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x140471a90
mov rbx, qword [0x1404dd460]
jmp 0x1404719e5
lea rbx, [rdx + rax + 4]
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_strcmp
mov rcx, rbx
mov esi, eax
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax + 1]
mov eax, dword [rdx]
test esi, esi
jne 0x1404719e0
movzx r9d, word [rdx + 4]
lea r8, [rdx + 6]
mov rcx, rbp
mov rdx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140460b50
mov r8d, 0xa
xor ecx, ecx
mov edx, 3
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
lea rdx, [rax + 4]
mov qword [0x1404dd460], rax
mov ebx, dword [rax]
mov qword [0x1404dd460], rdx
mov r8d, dword [rax + 4]
lea rdx, [rax + 8]
mov qword [0x1404dd460], rdx
call fcn.140470ad0
cmp eax, ebx
jne 0x140471af8
mov byte [0x1404dd5a9], 1
jmp 0x1404719bc
cmp byte [0x1404dd5a8], 0
jne 0x1404719d3
mov rbx, qword [sym.imp.python311.dll_PyDict_New]
call rbx
mov qword [0x1404ddf08], rax
call rbx
mov qword [0x1404ddf00], rax
call rbx
mov qword [0x1404ddef8], rax
call rbx
mov qword [0x1404ddef0], rax
call rbx
mov qword [0x1404ddee8], rax
call rbx
mov qword [0x1404ddee0], rax
call rbx
mov qword [0x1404dded8], rax
call rbx
mov byte [0x1404dd5a8], 1
mov qword [0x1404dded0], rax
jmp 0x1404719d3
lea rcx, str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x14047b1a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14048c920
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14048c920
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x14047be72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1404de3c8]
test eax, eax
je 0x14047bf0a
lea rax, [0x1404de3a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1404de3d0]
mov qword [rbp - 8], rax
jmp 0x14047beee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x14047bee2
cmp qword [rbp - 0x10], 0
je 0x14047bee2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x14047bea8
lea rax, [0x1404de3a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14047bf0b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14047c010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x14047c038
mov eax, 0
jmp 0x14047c086
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14047c061
mov eax, 0
jmp 0x14047c086
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x14047c081
mov eax, 0
jmp 0x14047c086
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14047c08c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14047c10a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14047c101
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x14047c101
mov rax, qword [rbp - 8]
jmp 0x14047c11f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x14047c0d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001000
Capabilities:
Identify system language via api

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x58]
cmp eax, 0x804
je 0x140001039
mov eax, 1
jmp 0x140001121
mov ecx, 0x1000
call fcn.140001c40
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [0x14000d230], rax
mov r9d, 0x64
lea r8, [0x14000d130]
mov edx, 0x67
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, 0x64
lea r8, [0x14000d060]
mov edx, 0x6d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, qword [rsp + 0x80]
call fcn.1400012c0
mov edx, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
call fcn.140001440
test eax, eax
jne 0x1400010bd
xor eax, eax
jmp 0x140001121
mov edx, 0x6d
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x14000111d
lea r8, [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14000111b
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400010d5
mov eax, dword [rsp + 0x38]
add rsp, 0x78
ret
Function at 0x140002188
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000336c
nop
cmp dword [0x14000c130], 1
je 0x140002134
mov dword [0x14000c12c], 1
mov byte [0x14000c128], r12b
test ebx, ebx
jne 0x140002120
mov rcx, qword [0x14000d480]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000210d
mov rcx, qword [0x14000d478]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400020ac
call fcn.140002838
cmp qword [rdi], rax
jne 0x1400020ac
jmp 0x140002092
cmp rdi, rsi
jb 0x14000210d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140002838
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14000d480]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14000d478]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400020eb
cmp r13, rax
je 0x14000210b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x140002092
lea rdx, [0x1400082d8]
lea rcx, [0x1400082d0]
call fcn.140001edc
lea rdx, [0x1400082e8]
lea rcx, [0x1400082e0]
call fcn.140001edc
nop
test r12d, r12d
je 0x140002143
mov ecx, 8
call fcn.14000326c
test r12d, r12d
jne 0x14000216e
mov dword [0x14000c130], 1
lea ecx, [r12 + 8]
call fcn.14000326c
mov ecx, r15d
call fcn.140001e70
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x140001ffc

Function at 0x140002194
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x140001ffc
Function at 0x1400024bb
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000b068]
jne 0x140001bca
rol rcx, 0x10
test cx, 0xffff
jne 0x140001bc6
repz ret
ror rcx, 0x10
jmp 0x140002414
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000c1f0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000c2e8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140002499
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000c1f0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400024bb
mov rax, qword [rsp + 0x88]
mov qword [0x14000c2e8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000c288], rax
mov rax, qword [0x14000c2e8]
mov qword [0x14000c160], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000c270], rax
mov dword [0x14000c150], 0xc0000409
mov dword [0x14000c154], 1
mov rax, qword [0x14000b068]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000b070]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000c1e8], eax
mov ecx, 1
call fcn.140004544
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140008360]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000c1e8], 0
jne 0x140002542
mov ecx, 1
call fcn.140004544
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400059c4
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002838
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000cef0], rbx
jne 0x140005aca
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140005b9f
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005b9f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000cef0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000cef8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14000cf00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000cf10], rax
test rax, rax
je 0x140005ac1
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000cf08], rax
jmp 0x140005ad1
mov rax, qword [0x14000cf08]
jmp 0x140005ad8
mov rax, qword [0x14000cf08]
mov r11, qword [0x14000cf10]
cmp rax, rdi
je 0x140005b40
cmp r11, rdi
je 0x140005b40
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000cf10]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x140005b40
test rax, rax
je 0x140005b40
call rsi
test rax, rax
je 0x140005b3a
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140005b3a
test byte [rsp + 0x38], 1
jne 0x140005b40
bts ebp, 0x15
jmp 0x140005b7e
mov rcx, qword [0x14000cef8]
cmp rcx, rdi
je 0x140005b7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005b7e
call rax
mov rbx, rax
test rax, rax
je 0x140005b7e
mov rcx, qword [0x14000cf00]
cmp rcx, rdi
je 0x140005b7e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005b7e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000cef0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140005b9f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140005ba1
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x100411cb0
Capabilities:
Packed with generic packer

Disassembly:
mov edx, 0x9b4000e
int 0x21
mov eax, 0x21cd4c01
push rsp
push 0x70207369
jb 0x100411d33
jb 0x100411d28
insd dword [rdi], dx
and byte [rbx + 0x61], ah
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsd dx, dword [rsi]
je fcn.100411cf0
add byte [rax], al
add byte [rdx], al
add byte [rax], al
add al, 0
add byte [rax], al
add byte [0x100411f3b], al

Function at 0x100411ce0
Capabilities:
Packed with generic packer

Disassembly:
or eax, 0x240a0d
add byte [rax], al
add byte [rax], al
add byte [rax], al
push rax
add byte [r8], r8b
add byte [rax], al

Function at 0x100411cf0
Capabilities:
Packed with generic packer

Disassembly:
or eax, 0x240a0d
add byte [rax], al
add byte [rax], al
add byte [rax], al
push rax
add byte [r8], r8b
add byte [rax], al
Function at 0x100411d93
Capabilities:
Packed with generic packer

Disassembly:
sub rsp, 0x28
lea rcx, [0x100412270]
call fcn.100411cb0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cd0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411ce0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.100411cf0
xor r8d, r8d
xor edx, edx
xor ecx, ecx
add rsp, 0x28
jmp 0x100411d00
add byte [rax], al
lock add byte [rdi], ch
add byte [rbx], cl
add al, byte [rdx]
and al, byte [rax]
add byte [rax], r8b
add byte [rax + rax], bh
add byte [rdx], al
add byte [rax], al
add byte [rax], dl
add byte [rax], al
add byte [rax], dl
add byte [rax], al
add byte [rax], al
add byte [rcx], al
add byte [rax], al
add byte [rax], al
adc byte [rax], al
add byte [rax], al
add al, byte [rax]
add byte [rax + rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add eax, 0x200
add byte [rax], al
add byte [rax], al
adc byte [rcx], al
add byte [rax], al
add al, 0
add byte [rbp + 0x30000f1], ch
add byte [rax], al
add byte [rax], 0
and byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], dl
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
adc byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], dl
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
adc byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add al, dl
add byte [rax], al
mov esp, 0x10
lock add byte [rax], al
call 0x100411d93
movabs al, byte [0x3300000]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x1c0000], dl
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
clc
rol dword [rax], cl
add byte [rax + 3], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rsi], ch
je 0x100411e5e
js 0x100411e6f
add byte [rax], al
add byte [rax], bl
add byte [r8], al
add byte [rax], dl
add byte [rax], al
add byte [rax + rax], al
add byte [rax + rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], ah
push rax
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax + 0x40], spl
invalid
invalid
Function at 0x140003380
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x20], 1
mov rsi, qword [rdx]
mov r12, qword [rdx + 8]
mov qword [rsp + 0x28], r12
cmp rsi, r12
je 0x1400035b7
movabs rdx, 0x2aaaaaaaaaaaaaab
mov ebp, 0x5a4d
cmp qword [rsi], 5
jne 0x1400035aa
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, rdx
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1400035b7
mov edi, r13d
cmp qword [rsi + 0x18], rdi
jbe 0x140003569
mov r12d, 0x4550
nop
mov r15d, edi
shl r15d, 0xc
mov r14, qword [rsi + 8]
add r14, r15
mov rcx, qword [0x140035e88]
mov rax, qword [rcx]
mov r9d, 2
lea r8, [rsp + 0x50]
mov rdx, r14
call qword [rax + 0x10]
test eax, eax
jne 0x140003468
mov word [rsp + 0x50], r13w
jmp 0x140003556
cmp word [rsp + 0x50], bp
jne 0x140003556
mov rcx, qword [0x140035e88]
mov rax, qword [rcx]
lea rdx, [r14 + 0x3c]
mov r9d, 4
lea r8, [rsp + 0x58]
call qword [rax + 0x10]
test eax, eax
jne 0x14000349c
mov eax, r13d
mov dword [rsp + 0x58], eax
jmp 0x1400034a0
mov eax, dword [rsp + 0x58]
mov ebp, eax
add rbp, r14
mov rcx, qword [0x140035e88]
mov rax, qword [rcx]
mov r9d, 2
lea r8, [rsp + 0x54]
mov rdx, rbp
call qword [rax + 0x10]
test eax, eax
jne 0x1400034cf
mov word [rsp + 0x54], r13w
jmp 0x140003551
cmp word [rsp + 0x54], r12w
jne 0x140003551
mov rcx, qword [rsi + 0x10]
add rcx, r15
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsi + 8]
add rcx, r15
mov qword [rsp + 0x38], rcx
mov rcx, qword [0x140035e88]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
mov r9d, 4
lea r8, [rsp + 0x5c]
call qword [rax + 0x10]
test eax, eax
jne 0x140003518
mov eax, r13d
mov dword [rsp + 0x5c], eax
jmp 0x14000351c
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x40], eax
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140003544
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movsd xmm1, qword [rsp + 0x40]
movsd qword [rdx + 0x10], xmm1
add qword [rbx + 8], 0x18
jmp 0x140003551
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.140003dd0
mov ebp, 0x5a4d
inc edi
mov eax, edi
cmp rax, qword [rsi + 0x18]
jb 0x140003430
mov r12, qword [rsp + 0x28]
mov r9, qword [rbx + 8]
mov r8, qword [rbx]
mov rcx, r9
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 4
movabs rdx, 0x2aaaaaaaaaaaaaab
jae 0x1400035aa
cmp r8, r9
je 0x1400035aa
mov qword [rbx + 8], r8
add rsi, 0x28
cmp rsi, r12
jne 0x1400033f0
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000ac50
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b908
Capabilities:
Parse pe header

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

Function at 0x140013d28
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400241b0
sub rsp, rax
mov rax, qword [0x140034040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400182a4
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140013d77
mov rax, rbp
jmp 0x140013e7f
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x35780]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001a69c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x35780]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140013e7b
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140013e7b
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001a69c
test rax, rax
js 0x140013e7b
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140013e7b
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140013e6d
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140013e6d
cmp byte [rcx], 0xd
jne 0x140013e53
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140013e62
cmp byte [rcx + 1], 0xa
jne 0x140013e62
inc rcx
jmp 0x140013e62
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x343a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140013e35
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140013e7f
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000ac50
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400148e0
Capabilities:
Parse pe header

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

Function at 0x140014ae4
Capabilities:
Parse pe header

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