joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008dcc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14002f6c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
xor ebx, ebx
cmp qword [rcx + 0x78], rbx
je 0x140008f2b
cmp byte [rcx + 0x82], bl
je 0x140008f2b
mov rax, qword [rcx]
mov esi, 0xffff
mov edx, esi
call qword [rax + 0x18]
cmp si, ax
jne 0x140008e31
xor al, al
jmp 0x140008f30
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
xor r8d, r8d
lea edx, [r8 + 8]
lea rcx, [rbp - 0x30]
call fcn.14000900c
nop
mov esi, 1
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea r8, [rbp - 0x30]
cmovae r8, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
mov ecx, eax
test eax, eax
je 0x140008e9b
dec ecx
jne 0x140008f07
jmp 0x140008ea1
mov byte [rdi + 0x82], bl
lea rax, [rbp - 0x30]
mov r9, qword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp r10, 0x10
cmovae rax, r9
mov r14, qword [rbp - 0x38]
sub r14, rax
je 0x140008ee1
lea rcx, [rbp - 0x30]
cmp r10, 0x10
cmovae rcx, r9
mov r9, qword [rdi + 0x90]
mov r8, r14
mov rdx, rsi
call fcn.14000e014
cmp r14, rax
jne 0x140008f11
cmp byte [rdi + 0x82], bl
je 0x140008f0e
test r14, r14
jne 0x140008e56
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140002d0c
jmp 0x140008e56
cmp ecx, 2
jne 0x140008f17
jmp 0x140008f14
mov bl, sil
mov sil, bl
mov bl, sil
cmp qword [rbp - 0x18], 0x10
jb 0x140008f27
mov rcx, qword [rbp - 0x30]
call fcn.1400071ec
mov al, bl
jmp 0x140008f30
mov eax, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000b170
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1000012f8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
xor ebx, ebx
test al, 2
je 0x10000136a
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
cmp eax, ebx
je 0x10000136a
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
lea r9, [rsp + 0x68]
mov rdx, rbp
not rcx
mov qword [rsp + 0x20], rbx
lea r8, [rcx - 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1000013fb
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
or r9d, 0xffffffff
mov r8, rbp
xor edx, edx
mov ecx, eax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r12, eax
mov rcx, r12
call qword [sym.imp.msvcrt.dll_malloc]
mov rdi, rax
cmp rax, rbx
je 0x1000013f9
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
or r9d, 0xffffffff
mov r8, rbp
xor edx, edx
mov ecx, eax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8d, [r12 - 1]
lea r9, [rsp + 0x68]
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.msvcrt.dll_free]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x1000014fc
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x240
mov rax, qword [0x100003110]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbp, rcx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
lea esi, [rax + 1]
mov ebx, 0x5a50
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov r13, rcx
movsxd r12, ecx
xor edx, edx
lea rax, [0x100003120]
cmp ebx, dword [rax]
je 0x10000159b
add edx, esi
add rax, 4
cmp edx, 2
jb 0x100001555
mov ecx, ebx
call fcn.100001414
mov rdi, rax
test rax, rax
je 0x100001632
mov r8d, r13d
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x100001592
cmp word [rdi + r12*2], 0x20
je 0x1000015fc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
add ebx, esi
cmp ebx, 0x5aa8
jbe 0x10000154c
mov rdx, rbp
mov ecx, 0x5a4e
call fcn.100001414
mov rdi, rax
test rax, rax
je 0x100001632
mov rcx, rax
call fcn.1000012f8
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.100001a70
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
mov ebx, 0x104
lea rcx, [rsp + 0x20]
mov r8, rbp
mov rdx, rbx
call sub.msvcrt.dll_wcscpy_s
lea r8, [0x100001268]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call sub.msvcrt.dll_wcscat_s
lea rcx, [rsp + 0x20]
call qword [sym.imp.msvcrt.dll__wsystem]
jmp 0x1000015c4
mov ecx, ebx
call fcn.100001478
xor eax, eax
jmp 0x1000015cf
Function at 0x100001a70
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100003110]
jne 0x100001a8b
rol rcx, 0x10
test cx, 0xffff
jne 0x100001a87
ret 0
ror rcx, 0x10
jmp 0x100001d8c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x100003210]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x100003308]
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 0x100001e11
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, [0x100003210]
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 0x100001e33
mov rax, qword [rsp + 0x88]
mov qword [0x100003308], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1000032a8], rax
mov rax, qword [0x100003308]
mov qword [0x100003180], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100003290], rax
mov dword [0x100003170], 0xc0000409
mov dword [0x100003174], 1
mov rax, qword [0x100003110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100003118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000011e0]
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]
add rsp, 0x88
ret

Function at 0x100001c28
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001c75
cmp rcx, 0xffffffffffffffff
je 0x100001c75
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100001c6d
cmp dword [rcx + 0x3c], edx
jl 0x100001c6d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100001c6d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100001c75
mov rax, rdx
add rsp, 0x18
ret
Function at 0x14000176c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400017fd
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400017fd
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400017fd
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400017e1
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400017db
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400017e3
add rdx, 0x28
jmp 0x1400017c0
xor edx, edx
test rdx, rdx
jne 0x1400017ec
xor al, al
jmp 0x140001803
test dword [rdx + 0x24], 0x80000000
je 0x1400017f9
xor al, al
jmp 0x140001803
mov al, 1
jmp 0x140001803
xor al, al
jmp 0x140001803
add rsp, 0x18
ret

Function at 0x1400037d8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400035ac
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400035ac
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400035ac
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400035ac
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400035ac
cmp dword [rcx + 0x84], 0xe
jbe 0x1400035ac
cmp dword [rcx + 0xf8], esi
je 0x1400035ac
mov ecx, r14d
call fcn.1400036f4
mov ecx, 2
call fcn.140005c44
nop
cmp byte [0x140015310], 0
jne 0x140003676
mov r15d, 1
mov eax, r15d
xchg dword [0x140015304], eax
test ebx, ebx
jne 0x14000361f
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140015308]
cmp rcx, rax
je 0x140003616
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000198c]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140015320]
jmp 0x14000362b
cmp ebx, r15d
jne 0x140003631
lea rcx, [0x140015338]
call fcn.140003ce8
nop
test ebx, ebx
jne 0x140003648
lea rdx, [0x14000b2a0]
lea rcx, [0x14000b280]
call fcn.14000346c
lea rdx, [0x14000b2b0]
lea rcx, [0x14000b2a8]
call fcn.14000346c
movzx eax, byte [0x140015310]
test esi, esi
cmove eax, r15d
mov byte [0x140015310], al
jmp 0x140003676
mov ecx, 2
call fcn.140005c98
test esi, esi
jne 0x14000368d
mov ecx, r14d
call fcn.1400036a8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000353c
Function at 0x1400063e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rbx, r8
je 0x140006478
test r8, r8
jle 0x140006470
nop word [rax + rax]
mov rcx, rdi
call fcn.140008a60
test rax, rax
jle 0x14000644e
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov rax, qword [rdi + 0x40]
mov r8, rsi
mov rcx, qword [rax]
call fcn.140029370
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x140006468
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006470
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140006410
sub r14, rbx
mov rax, r14
jmp 0x1400064f6
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], r15
mov r9, qword [rax]
test r9, r9
je 0x140006491
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140006493
xor ecx, ecx
movsxd rsi, ecx
test r14, r14
jle 0x1400064eb
test ecx, ecx
jle 0x1400064cc
cmp r14, rsi
mov rcx, r9
cmovl rsi, r14
mov r8, rsi
call fcn.140029370
mov rax, qword [rdi + 0x58]
add rbp, rsi
sub r14, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
test r14, r14
jle 0x1400064eb
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400064eb
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.140038ea0
sub r14, rax
mov r15, qword [rsp + 0x40]
sub rbx, r14
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140006510
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140006532
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400065ac
mov rdi, r14
mov rcx, rbx
call fcn.140008a80
test rax, rax
jle 0x140006584
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.140029370
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000659c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400065a4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140006546
sub r14, rdi
jmp 0x14000668f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400065c3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400065c5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400065f7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140029370
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000668c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006632
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000666d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14003a00c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000668c
cmp rbp, rax
ja 0x140006640
test rbp, rbp
je 0x14000668c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14003a00c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x140006af0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1400761a0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140006b1d
xor eax, eax
jmp 0x140006c6b
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140006b57
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140006b57
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140006c6b
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140006c5e
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140006b9a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140006ba9
movsx ecx, dil
jmp 0x140006bfd
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
je 0x140006c17
sub eax, 1
je 0x140006c17
cmp eax, 2
jne 0x140006c5e
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140037f30
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140006c63
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006c44
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.140038ea0
cmp rsi, rax
jne 0x140006c5e
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006c63
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140027270
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140028020
Capabilities:
Parse pe header

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

Function at 0x140037f24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140037d50
Function at 0x1401335f6
Capabilities:
Access peb ldr_data
Execute syscall
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
add rsi, rax
mov dword [rsp + 0x58], r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rsi
jmp 0x1401336a9
dec dword [rax - 0x73]
push rsp
and al, 0x40
mov esi, dword [rbx + 0xc]
mov r9d, 0x40
cmovae eax, dword [rbx + 0x10]
mov rcx, 0xffffffffffffffff
mov r14d, eax
lea rax, [0x140000000]
je 0x14013365a
jne 0x14013365a
lea r11d, [rbp + 0x6272]
cmp r14d, 0x2b00ebb9
pause
push r14
jmp rcx
jmp 0x140133469
xchg r12, rax
mov qword [rsp + 0x20], r12
xchg r12, rax
jmp 0x140133532
Function at 0x140029b84
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

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

Function at 0x140001b54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ba0
xor al, al
add rsp, 0x28
ret
Function at 0x100001698
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov eax, edx
mov ebx, edx
mov r12, r9
movzx r9d, word [rsp + 0x60]
sar eax, 4
mov rsi, r8
inc eax
mov edx, 6
mov rdi, rcx
movzx ebp, ax
and ebx, 0xf
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
xor r13d, r13d
cmp rax, r13
jne 0x10000170b
mov r9d, 0x400
cmp word [rsp + 0x60], r9w
je 0x100001707
lea edx, [r13 + 6]
mov r8, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
cmp rax, r13
jne 0x10000170b
xor eax, eax
jmp 0x100001777
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, r13
je 0x100001707
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
cmp rax, r13
je 0x100001707
cmp ebx, r13d
jbe 0x100001745
mov ecx, ebx
movzx eax, word [rdx]
inc eax
sub rcx, 1
cdqe
lea rdx, [rdx + rax*2]
jne 0x100001734
movzx edi, word [rdx]
cmp rsi, r13
je 0x100001774
lea rcx, [r12 - 1]
cmp rdi, rcx
cmovb rcx, rdi
add rdx, 2
lea rbx, [rcx + rcx]
mov rdi, rcx
mov rcx, rsi
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov word [rbx + rsi], r13w
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x100002c60
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100005110]
jne 0x100002c7b
rol rcx, 0x10
test cx, 0xffff
jne 0x100002c77
ret 0
ror rcx, 0x10
jmp 0x100002f6c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1000052d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1000053c8]
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 0x100002ff1
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, [0x1000052d0]
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 0x100003013
mov rax, qword [rsp + 0x88]
mov qword [0x1000053c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x100005368], rax
mov rax, qword [0x1000053c8]
mov qword [0x100005240], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100005350], rax
mov dword [0x100005230], 0xc0000409
mov dword [0x100005234], 1
mov rax, qword [0x100005110]
mov qword [rsp + 0x68], rax
mov rax, qword [0x100005118]
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1000012a0]
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]
add rsp, 0x88
ret

Function at 0x100002e08
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100002e55
cmp rcx, 0xffffffffffffffff
je 0x100002e55
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x100002e4d
cmp dword [rcx + 0x3c], edx
jl 0x100002e4d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x100002e4d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100002e55
mov rax, rdx
add rsp, 0x18
ret