joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004cab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1800047ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1800047c6
repz ret
ror rcx, 0x10
jmp 0x180004c04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1800074e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1800075d8]
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 0x180004c89
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, [0x1800074e0]
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 0x180004cab
mov rax, qword [rsp + 0x88]
mov qword [0x1800075d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180007578], rax
mov rax, qword [0x1800075d8]
mov qword [0x180007450], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180007560], rax
mov dword [0x180007440], 0xc0000409
mov dword [0x180007444], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180007008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1800074d8], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180006310]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1800074d8], 0
jne 0x180004d32
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
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 0x140001594
Capabilities:
Read .ini file

Disassembly:
add byte [rcx], bh
and al, 0x44
je 0x1400019a3
jmp 0x140001f6d
mov rax, qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call rax
add ecx, dword [rcx - 0xaa6be9f]
invalid
mov eax, dword [rsp + 0x80]
add eax, 0xe304267f
mov word [rsp + 0x9a], 0xc520
mov ecx, dword [rsp + 0x80]
xor ecx, 0x1cfbd980
mov word [rsp + 0x9a], 0xcffa
invalid
xchg esp, eax

Function at 0x14000206c
Capabilities:
Query environment variable

Disassembly:
mov rax, qword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
call rax
add ecx, dword [rcx - 0xaa6be9f]
invalid
mov rax, qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call rax
add ecx, dword [rcx - 0xaa6be9f]
invalid
and al, 0x44
mov rcx, qword [rsp + 0x18]
and rcx, 0x6ca9cbab
mov qword [rsp + 0xa0], rcx
and ax, 0xc1ce
mov word [rsp + 0x9a], ax
cmp r8d, edx
je 0x14000184b
jmp 0x140001693

Function at 0x14000e3c0
Capabilities:
Encode data using xor

Disassembly:
sti
invalid
jo 0x14000e424
loope 0x14000e355
xor ecx, dword [rsi]
push rsp
add ebp, edi
push rsi
insd dword [rdi], dx
adc al, 0xd7
mov bl, byte [rsi + 0x51]
test dword [rax + rax + 0x7b], ebp
stosd dword [rdi], eax
invalid
or bl, ch
sahf
jno 0x14000e42e
fidiv dword [r10 - 0x66]
cli
invalid

Function at 0x14001fb68
Capabilities:
Encode data using xor

Disassembly:
mov r11d, 0xe2568b2f
and bh, cl
call 0xcd397683
xchg ebx, eax

Function at 0x1400396e0
Capabilities:
Encode data using xor

Disassembly:
push 0x6b455d7
stc
push rcx
mov ch, 0x8b
test byte [rsp + rbx*8 + 0xb0444ee], cl
adc ebx, dword [rdi]
invalid

Function at 0x140042270
Capabilities:
Encode data using xor

Disassembly:
push rsi
test byte [rbx], al
cmp eax, 0x4587749
or bl, bl
int1
jno 0x140042282
loop 0x1400422fd
jle 0x1400422e6
add word [rdx + 0x6943681e], cx
add dword [rdx + 0x6943681e], ecx
invalid
std
or al, 0x60
sub dword [rdx + 0x4dae6055], ecx
or eax, 0x277f70f
div dword [rcx + 0x57]
add eax, dword [rsi + 0x69639d5]
stc
push rcx
push rsi
pop rbx
test ecx, edx
fcom qword [rbp - 0x32]
and al, 0x4d
je 0x1400422d6
mov edi, dword [rdi]
fistp dword [rsi]
lodsd eax, dword [rsi]
loop 0x1400422ce
scasb al, byte [rdi]
invalid
scasb al, byte [rdi]
jrcxz 0x140042327
jp 0x14004230c
cmp dword [rcx - 0x57], esi
jno 0x14004227e
add byte [rcx], ch
in al, dx
sub esp, ebp
adc dh, dh
pushfq
insb byte [rdi], dx
out dx, al
cmpsb byte [rsi], byte [rdi]
insb byte [rdi], dx
add dword [rdx + 0x54ef1df1], ebx
movsb byte [rdi], byte [rsi]
movabs dword [0x64f67b4d568b2c73], eax
cli
invalid
sbb dword [rcx - 0x41], esp
loope 0x1400422d2
push 0xfffffffff0681905
popfq
sbb bl, cl
lodsb al, byte [rsi]
invalid
jg 0x1400422f3
and dh, cl
push rsi
mov esi, 0x76601738
push rdi
mov esi, 0x6b994b1f
add al, 0xc9
cdq
cli
movabs qword [0x2c73274569ab661a], rax
rcr edi, cl
sal dword [rcx + 0x37], 0x87
invalid
xor ch, byte [rdi - 0x3f9ee685]
loope 0x140042330
insb byte [rdi], dx
invalid

Function at 0x14004b9cc
Capabilities:
Encode data using xor

Disassembly:
cmp al, byte [rdi]
invalid
jns 0x14004b96c
sbb ecx, 0xffffffd2
push rbx
invalid
Function at 0x140064040
Capabilities:
Check for software breakpoints

Disassembly:
xchg esi, eax
cmp al, 0xcc
div dword [rdi + 0x4c]
xor eax, eax
in eax, 0x51
cmp byte [rax + rbp*8], dh
sub al, byte [0x18b45c54c]
sbb byte [rdi], bl
add eax, 0x234388d7
jae 0x1400640bb
pop rbp
lahf
xchg dword [rdx - 0x1a], esi
retf
insd dword [rdi], dx
mov ah, byte [rdi + rbp*2]

Function at 0x140071a10
Capabilities:
Encode data using xor

Disassembly:
ja 0x140071a1f
pop rbx
and al, 0x8a
push rbp
mov bl, 0xa5
scasb al, byte [rdi]
jrcxz 0x140071a2a
fistp word [rbp - 0x65]
invalid
and al, 0x57
mov ebx, dword [rbx - 0x45]
push rbp
mov cl, byte [rsi]
mov byte [rbx + 0x17], dh
out 0x51, al
add ah, byte [rbx + riz*2]
cmp ch, cl
pop rdx
mov eax, 0x40f0dbbf
lea esp, [rbx]
or byte [rax], cl
xor cl, byte [rdx + 0x14]
movabs eax, dword [0x83b5bb34fa057422]
sahf
jge 0x140071a42
invalid
invalid

Function at 0x140073e20
Capabilities:
Encode data using xor

Disassembly:
invalid
adc r10d, r15d
cmp dword [rdi], ebx
jns 0x140073e5e
cdq
test byte [rsi - 0x51], 0xa
adc dl, cl
xchg ecx, eax
invalid
or eax, 0x12feef59
xchg edx, eax
cli
jle 0x140073dcc
and esi, edi
mov ebp, dword [rcx + rcx*4 - 0x49]
jo 0x140073df1
invalid
hlt
enter 0xffffffffffffcafe, 0xffffffffffffffdc
sbb eax, 0xe1d32b72
push rsi
test r12b, 0x4b
out dx, eax
jbe 0x140073e87
movsd dword [rdi], dword [rsi]
xchg byte [rcx + rcx*8], dl
insd dword [rdi], dx
scasd eax, dword [rdi]
pop rdx
mov ah, 0x68
loop 0x140073e14
invalid
jp 0x140073ea4
lodsd eax, dword [rsi]
loop 0x140073ea9
invalid
je 0x140073eba
sub eax, dword [rdx - 0x52]
js 0x140073edb
xchg ebx, eax
mov bh, 0x86
popfq
mov ecx, 0x61045878
pop rbx
push rcx
je 0x140073e42
ret 0xf160
int1
mov rdx, ss
fnstsw word [rbx]
sar byte [rdi - 0xd40790], 1
movsd dword [rdi], dword [rsi]
cmp esi, dword [riz*2 - 0x14366c06]
invalid
push rbx
stosd dword [rdi], eax
loope 0x140073f03
ror byte [rcx + 0x5f45da94], 0x5d
wait
or esp, ebx
and esp, ebx
push rbx
test ch, dl
fsub dword [rdx + 0x651d53fa]
fld dword [rax]
mov word [rdx + 8], cs
xchg edi, eax
invalid
jae 0x140073f31
rcl dword [rbp - 0x44], cl
outsb dx, byte [rsi]
xor dword [rax - 0x2f79c3f0], ebp
jge 0x140073edf
popfq
mov ebx, edi
shr dword [rdx + 0x25], 0x85
stc
push rcx
insd dword [rdi], dx
push rdx
invalid
sbb al, 0x4c
stosd dword [rdi], eax
cdq
invalid

Function at 0x140090c54
Capabilities:
Encode data using xor

Disassembly:
wait
js 0x140090caa
stc
jno 0x140090c91
invalid
test eax, 0x8028a404
xor al, 0x38
add bh, al
or edi, dword [rdx + rax - 0x72]
shr byte [rdx + 0x66], cl
or byte [rcx], r12b
or byte [rcx], ah
je 0x140090c7f
xchg esp, eax
push rsi
cld
and eax, 0xabab9cf6
ficomp dword [rax + 0x60]
and edi, dword [rbx]
jmp [rax + 0x13]
insd dword [rdi], dx
add bl, byte [rdx + 0x38d7cf18]
invalid
Function at 0x1400a9f34
Capabilities:
Encode data using xor

Disassembly:
wait
call 0x11e56bf23
test dword [rcx + 0x26f411d], 0x22a2ba8b
test dword [r15 - 2], r13d
shr byte [rdi - 0x51da02da], 0x68
invalid
ja 0x1400a9f4f
invalid
push rsi
cli
scasb al, byte [rdi]
xor al, byte [rdi]
jbe 0x1400a9f4d
ja 0x1400a9f6f
jl 0x1400a9f88
add ebx, dword [rdi]
xlatb
push rsi
nop
pop rbp
sti
push rcx
insd dword [rdi], dx
test dword [rdx + 0x12], edx
sbb eax, 0x22cd8077
adc eax, 0x24f93495
xor dword [rdi + 0x19796732], ebx
invalid
and al, 0x31
lahf
xor ah, byte [rdi + 0x79]
sbb dword [rcx + 0x76], esp
mov dword [edx], ebp
cdq
imul edx, dword [rax + 0x4c575b5], 0xffffff8b
shl byte [rax - 0x4a], cl
xchg ebp, eax
stosd dword [rdi], eax
scasb al, byte [rdi]
je 0x1400a9f17
invalid
sbb ebx, esp
or al, 0x8b
loop 0x1400a9fa0
sub cl, byte [rcx + 0x5d]
in al, dx
adc edi, dword [rsp + rsi*2 + 0x22]
invalid
push rax
cmp byte [rcx], dl
adc esi, dword [rdx + rdi*4]
out dx, al
int 0xac
invalid

Function at 0x1400ca804
Capabilities:
Encode data using xor

Disassembly:
insb byte [rdi], dx
add eax, 0x26d51f9
mov edx, edx
fucomp st(7)
test dword [r11], r12d
jae 0x1400ca81f
mov edx, dword [rsi - 0x4b]
cmp al, 0x87
cli
out 0xe, eax
push rax
xor byte [rbp + 0x451e6c8b], cl
push rsi
nop
jne 0x1400ca7e4
adc byte [rdx], ch
test byte [rdi - 0x370b546c], ch
pop rsp
pop rsi
cmp cl, byte [rbx + rax*2 + 0x64]
insd dword [rdi], dx
sar dword [rdi + rax*4], cl
cli
out 0xe, eax
push rax
xor byte [rdx], bh
invalid
xor dword [rbx], ebx
stc
invalid

Function at 0x1400dad30
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbp
push r15
push r14
push rbx
sub rsp, 0x1a8
mov word [rsp + 0x196], 0x7996
mov rax, qword [rsp + 0x1a0]
mov byte [rsp + 0x195], 0x92
xchg edx, eax

Function at 0x1400dad58
Capabilities:
Access peb ldr_data

Disassembly:
xchg edx, eax
mov dword [rsp + 0x190], 0x756cbc3c
mov ecx, dword [rsp + 0x19c]
mov qword [rsp + 0x188], 0x17671553
mov rdx, qword [rsp + 0x188]
add rdx, 0x3c8908e6
mov r8b, byte [rsp + 0x199]
mov qword [rsp + 0x170], rdx
mov r9b, byte [rsp + 0x195]
mov r10b, r9b
xor r10b, 0x1f
mov byte [rsp + 0x8d], r10b
movzx r11d, word [rsp + 0x196]
mov si, r11w
mov edi, 0x59b1
sub edi, r11d
mov bx, di
mov word [rsp + 0xde], bx
mov r10b, r9b
xor r10b, 0xd4
mov byte [rsp + 0x137], r10b
lea rdx, [rsp + 0x140]
lea r14, [rsp + 0x90]
mov r10b, r9b
xor r10b, 0xfc
mov byte [rsp + 0x140], r10b
mov r10b, r9b
xor r10b, 0xe6
mov byte [rsp + 0x141], r10b
mov r10b, r9b
xor r10b, 0xf6
mov edi, r11d
imul edi, edi
mov bx, di
mov word [rsp + 0x19a], bx
mov byte [rsp + 0x142], r10b
mov qword [rsp + 0x1a0], 0x3d3ac6
mov r10b, 0xfe
sub r10b, r9b
Function at 0x1400db710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push rsi
push r13
push r15
push rbp
push rbx
push rdi
push r14
sub rsp, 0x1a8
mov eax, 0xae5b6f81
lea r8, [rsp + 0xd0]
mov r9, qword [rsp + 0x1a0]
mov word [rsp + 0x19a], 0xd3ed
mov byte [rsp + 0x193], 0xb8
mov qword [rsp + 0x188], 0x63889d2c
mov dword [rsp + 0x184], 0x39ada11a
mov r10d, dword [rsp + 0x194]
mov r11, qword [rsp + 0x188]
xor r11, 0x64faa3ab
mov qword [rsp + 0xb0], r11
movzx esi, word [rsp + 0x19c]
mov di, si
add esi, 0xffffa821
mov bx, si
mov word [rsp + 0x19c], bx
mov bpl, byte [rsp + 0x193]
mov r14b, bpl
add r14b, 0x3d
mov byte [rsp + 0xc5], r14b
movzx esi, word [rsp + 0x19a]
mov r15d, esi
xor r15d, 0xdc80
mov bx, r15w
mov word [rsp + 0x162], bx
mov r15d, dword [rsp + 0x184]
add r15d, 0xed50e25c
mov dword [rsp + 0x164], r15d
mov qword [rsp + 0x1a0], 0
mov r15d, 0xffffa25c
sub r15d, esi
mul dword [rsi + 0x44]
mov ebx, edi
mov word [rsp + 0x11e], bx
lea r11, [rsp + 0xd0]
mov esi, r10d
not esi
mov dword [rsp + 0x194], esi
and al, 0x94
add dword [rax], eax
add byte [rcx - 0x78], al
out dx, al
add r14b, 0x64
mov byte [rsp + 0x19f], r14b
mov r12, qword [rsp + 0x188]
mov esi, 0x7d1d5652
mov r13d, esi
sub r13, r12
mov qword [rsp + 0x98], r13
mov r12, qword [rsp + 0x98]
movaps xmm0, xmmword [0x1400e5190]
movaps xmmword [rsp + 0xd0], xmm0
mov r13, r9
sub r13, 0x40f0ec78
mov qword [rsp + 0x1a0], r13
mov r14b, bpl
and r14b, 0x5d
mov bl, byte [rsp + 0x193]
mov byte [rsp + 0x19f], r14b
add bl, 0xac
mov byte [rsp + 0xe0], bl
loopne 0x1400db88e
add byte [rax], al
invalid
invalid
invalid
invalid
Function at 0x1400dcf98
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
xor esi, 0x448f3d1d
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r11
mov word [rsp + 0x56], dx
mov byte [rsp + 0x55], r9b
mov qword [rsp + 0x48], rsi
call fcn.1400dad30
mov edi, 0x273f4b6f
xor ebx, ebx
mov ecx, ebx
mov r11, rax
mov ebx, dword [rax + 0x3c]
mov ebp, dword [rsp + 0x10c]
movsxd rsi, ebx
mov r14, qword [rsp + 0x48]
mov qword [rsp + 0x100], r14
mov ebx, dword [rsp + 0xf4]
add ebx, 0xd8c0f9e1
mov r14, r11
add r14, rsi
cmp dword [rax + rsi], ebx
cmove rcx, r14
mov dword [rsp + 0x10c], 0x23c0275c
mov dx, word [rsp + 0x56]
imul dx, dx
mov ebx, dword [rcx + 0x88]
mov ecx, ebx
mov word [rsp + 0x11e], dx
mov rsi, qword [rsp + 0x58]
xor rsi, 0xffffffffffffffff
mov r14, r11
add r14, rcx
mov qword [rsp + 0x100], rsi
mov rsi, qword [rsp + 0x58]
xor rsi, 0x23e8bf70
mov ebx, dword [rax + rcx + 0x20]
mov r15d, ebx
mov qword [rsp + 0x100], rsi
mov rsi, r11
add rsi, r15
mov r9b, byte [rsp + 0x55]
add r9b, 0xb1
mov byte [rsp + 0xff], r9b
mov dword [rsp + 0x10c], ebp
mov ebx, dword [rax + rcx + 0x18]
mov r12d, dword [rsp + 0xf4]
mov rax, qword [rsp + 0x58]
xor rax, 0x232fa6c4
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x58]
xor rax, 0x5b5fda27
sub edi, r12d
mov qword [rsp + 0x100], rax
mov qword [rsp + 0xa0], 0
mov r12d, ebp
or r12d, 0xf092fd2
mov dword [rsp + 0x10c], r12d
cmp ebx, edi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x3c], ebx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x24], ebp
je 0x1400dd250
jmp 0x1400dd610

Function at 0x1400dd3fc
Capabilities:
Authenticate hmac

Disassembly:
mov eax, 0x21f3f97d
mov ecx, eax
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x10c], 0x5aa37cd2
mov edx, dword [rsp + 0xf4]
add edx, 0xd8c0b492
mov r8w, word [rsp + 0x56]
mov eax, dword [rsp + 0x56]
mov dl, byte [rsp + 0xfb]
mov r8b, byte [rsp + 0x55]
mov byte [rsp + 0xff], r8b
xor dl, 0xca
xor al, 0x5c
mov byte [rsp + 0xff], 0x28
cmp byte [rsp + 0xd7], dl
setne dl
and dl, 1
mov byte [rsp + 0xaf], dl
mov qword [rsp + 0xa0], 0
cmp al, cl
jbe 0x1400dd288
jmp 0x1400dd250

Function at 0x1400dd4ac
Capabilities:
Authenticate hmac

Disassembly:
mov dword [rsp + 0x10c], 0x69fbebe6
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0x24]
xor ecx, 0x7852d343
mov rdx, qword [rsp + 0x110]
mov dword [rsp + 0x10c], ecx
add rdx, 0xfffffffffa170bb2
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x100], r8
mov dword [rsp + 0xd0], eax
rol byte [rax], 1
add byte [rax], al
jmp 0x1400dd32e
Function at 0x1400de350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x68
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x55], 0xe3
mov dl, byte [rsp + 0x55]
imul r8, rax, 0x2f49e3eb
xor dl, 0x63
mov qword [rsp + 0x58], r8
mov byte [rsp + 0x54], dl
mov dl, byte [rsp + 0x55]
mov r9d, dword [rsp + 0x64]
and al, 0x64
Function at 0x1400110eb
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001b880
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400350f3]
call fcn.14001189d
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001b8d7
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14001b9e3
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14001b97c
cmp qword [rbp + 0x28], 0
jle 0x14001b97c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001b91c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001181b
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x14001b9d2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001b9d2
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400114ce
Capabilities:
Terminate process

Disassembly:
jmp 0x14001ff30
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]
add rsp, 0x28
ret
Function at 0x140011609
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001f2e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f300
xor al, al
jmp 0x14001f381
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001f313
xor al, al
jmp 0x14001f381
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 0x14001f33d
xor al, al
jmp 0x14001f381
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001f351
xor al, al
jmp 0x14001f381
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001f363
xor al, al
jmp 0x14001f381
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001f37f
xor al, al
jmp 0x14001f381
mov al, 1
add rsp, 0x38
ret
Function at 0x14001187f
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017d20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14002e018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x1400350f3]
call fcn.14001189d
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140017d86
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017d8d
mov al, 1
jmp 0x140017ee7
call fcn.140011276
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140011276
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14001173a
movzx eax, al
test eax, eax
je 0x140017de8
xor al, al
jmp 0x140017ee7
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x140017e4d
cmp dword [rbp + 0x194], 1
je 0x140017e58
cmp dword [rbp + 0x194], 3
je 0x140017ed6
jmp 0x140017ee5
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140017ea8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140017ea8
xor al, al
jmp 0x140017ee7
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017ec3
mov dword [rbp + 0x194], 1
jmp 0x140017ecd
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140017ee7
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140017ee7
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140028860]
call fcn.14001171c
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14001142e
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140002fd0
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 0x14000303f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000303f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000303f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000303f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000303f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000303f
cmp dword [rcx + 0xf8], 0
je 0x14000303f
mov ecx, ebx
call fcn.1400030fc
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.140002ecc
nop
cmp dword [rbp + 0x20], 0
je 0x14000308d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140003098
int3
xor r8d, r8d
xor edx, edx
jmp 0x140002fd0

Function at 0x1400031e0
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 0x14000303f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000303f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000303f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000303f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000303f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000303f
cmp dword [rcx + 0xf8], 0
je 0x14000303f
mov ecx, ebx
call fcn.1400030fc
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.140002ecc
nop
cmp dword [rbp + 0x20], 0
je 0x14000308d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140003098
int3
xor r8d, r8d
xor edx, edx
jmp 0x140002fd0
Function at 0x140005b70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140005bf7
mov rsi, rbx
cmp word [rax], bp
je 0x140005bb6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140005ba0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140005b9c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140003980
mov rdi, rax
test rax, rax
je 0x140005be4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000cdc0
mov rbp, rdi
xor ecx, ecx
call fcn.140003944
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret