joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434b00
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 8
mov qword [rsp + 0x60], 0
mov rcx, qword [0x005f14d8]
mov rcx, qword gs:[rcx]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rcx + 0x3c0], 8
lea rdx, [rsp + 0x20]
mov qword [rcx + 0x3c8], rdx
mov rax, qword [rsp + 0x18]
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
call sym.runtime.stdcall
mov qword [rsp + 0x60], rax
add rsp, 8
pop rbp
ret
Function at 0x446e40
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x446fa7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x446e52
cmp edx, ecx
jne 0x446f95
nop word [rax + rax]
test rsi, rsi
jne 0x446f95
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x446eb4
nop
call sym.runtime.nanotime1.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call sym.runtime.updateTimerPMask
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x446f90
mov rdx, qword [0x0056c778]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x446f85
mov rcx, qword [0x0056c770]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x0056d8d0]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x0056d8d0], rax
nop
mov edx, 1
lea rsi, [0x0056d8d8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x446f73
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004c6327]
mov ebx, 0x28
nop
call sym.runtime.throw
mov rax, rsi
mov rcx, rdx
call sym.runtime.panicIndex
call sym.runtime.panicshift
lea rax, [0x004c54bf]
mov ebx, 0x23
call sym.runtime.throw
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.runtime.pidleput
Function at 0x44ac20
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44ac68
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44ac68
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44ac78
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call sym.runtime.stdcall3.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44ad51
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call sym.runtime.stdcall8.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44ad51
cmp qword [rcx + 8], rax
ja 0x44ac73
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x452800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x452977
movzx edx, byte [rax]
test edx, edx
jne 0x452834
nop dword [rax]
test r8b, r8b
jne 0x452834
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x452847
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x452937
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x452925
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x452917
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45289d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4528e0
mov eax, 1
cmp rax, rbx
ja 0x4528cb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call sym.runtime.panicSliceB
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45290f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4528d3
mov rcx, r11
mov eax, r12d
jmp 0x4528a2
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
mov eax, r8d
mov rcx, rbx
call sym.runtime.panicSliceB
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45296d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x452930
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45284d
mov eax, edx
mov rcx, rbx
call sym.runtime.panicIndex
xor eax, eax
mov rcx, rax
nop dword [rax]
call sym.runtime.panicIndex
nop
int3

Function at 0x458540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4585f5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call sym.runtime._traceMap_.put
nop
test bl, bl
je 0x4585ef
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [sym.runtime._traceStringTable_.put.func1]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.runtime._traceStringTable_.put
Function at 0x45b540
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45b5ef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [sym.runtime.callers.func1]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call sym.runtime.systemstack.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp sym.runtime.callers

Function at 0x465f80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f12cb], 0
je 0x465f8e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x465fa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f12cb], 0
je 0x465fb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x465fc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f12cb], 0
je 0x465ff5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005f18c0]
aesenc xmm0, xmmword [0x005f18d0]
aesenc xmm0, xmmword [0x005f18e0]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x466000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x005f12cb], 0
je 0x466036
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005f18c0]
aesenc xmm0, xmmword [0x005f18d0]
aesenc xmm0, xmmword [0x005f18e0]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback
Function at 0x4676a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x005f14d8]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x46773b
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret

Function at 0x467960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x005f14d8]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x4679f7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret
Function at 0x467dc0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x467df4
mov rcx, 0x28
jmp 0x467dff
shl rcx, 3
add rcx, 0x1480
mov qword [0x005f14d8], rcx
pop rbp
ret
Function at 0x4865a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48666a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x005f14d8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x48664f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a7100]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x48663e
mov edi, 1
lea rsi, [0x004a7100]
call sym.runtime.growslice
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e5868]
lea rsi, [0x004e50e0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x49b220
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49b95f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x49b24d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x49b4d1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49b4fd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e7060]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a7000]
lea rbx, [0x004e5778]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x49b522
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x49b557
lea rdi, [0x004a7080]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x49b243
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x49b53b
jmp 0x49b510
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x49bb00
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x49bb17
inc rax
cmp rax, 4
jge 0x49bb2f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x49bb14
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x49bb40
inc rax
cmp rax, 4
jge 0x49bb4e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x49bb77
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x49bb5b
jmp 0x49bb3d
Function at 0x14000147f
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400192e0]
mov dword [rax], 1
mov rax, qword [0x1400192f0]
mov dword [rax], 1
mov rax, qword [0x140019300]
mov dword [rax], 1
mov rax, qword [0x1400192a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d0
mov eax, 0
jmp 0x14000157d
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 0x1400014fc
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001522
cmp eax, 0x20b
je 0x140001549
jmp 0x140001578
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001535
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001564
mov eax, 0
jmp 0x14000157d
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000157d
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001bc2
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
mov rsi, rcx
mov rbx, rdx
test rdx, rdx
je 0x140001be1
mov rcx, rdx
call sub.ucrtbase.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.ucrtbase.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp 0x1400111e0
jmp qword [sym.imp.ucrtbase.dll_fflush]

Function at 0x140001bff
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str.out_of_memory_n
mov rcx, rax
call fcn.140001bc2
mov ecx, 1
call sub.ucrtbase.dll_exit
nop

Function at 0x140001c28
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140032340]
cmp rax, 0xdab
jle 0x140001c5f
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rcx, rax
call fcn.140001bc2
mov ecx, 1
call sub.ucrtbase.dll_exit
lea rdx, [0x14002b5e0]
mov qword [rdx + rax*8], rcx
inc rax
mov qword [0x140032340], rax
add rsp, 0x28
ret

Function at 0x140001c79
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14002b5c0]
cmp rax, 0xdab
jle 0x140001cb0
mov ecx, 2
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
lea rdx, str._GC__cannot_register_global_variable__too_many_global_variables
mov rcx, rax
call fcn.140001bc2
mov ecx, 1
call sub.ucrtbase.dll_exit
lea rdx, [0x140024860]
mov qword [rdx + rax*8], rcx
inc rax
mov qword [0x14002b5c0], rax
add rsp, 0x28
ret
Function at 0x140001d87
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov rsi, rcx
mov ecx, 2
call rbx
lea rdx, str.could_not_load:
mov rcx, rax
call fcn.140001bc2
mov rcx, rsi
call fcn.140001d59
mov ecx, 2
mov rsi, rax
call rbx
mov rdx, rsi
mov rcx, rax
call fcn.140001bc2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
jne 0x140001ded
mov ecx, 2
call rbx
lea rdx, str._n_bad_format__library_may_be_wrong_architecture_
mov rcx, rax
call fcn.140001bc2
mov ecx, 2
call rbx
lea rdx, [0x140016141]
mov rcx, rax
call fcn.140001bc2
mov ecx, 1
call sub.ucrtbase.dll_exit
nop
Function at 0x140002837
Capabilities:
Terminate process

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, qword [rdx]
mov rbp, qword [rdx + 8]
add qword [rcx + 0x2090], rbp
and rax, 0xfffffffffffffffe
mov qword [rdx], rax
mov rsi, rcx
mov rbx, rdx
je 0x1400027aa
mov rdi, rdx
sub rdi, rax
mov rcx, rdi
sar rcx, 0xc
call fcn.140001d1d
test al, al
je 0x1400027aa
test byte [rdi], 1
jne 0x1400027aa
mov r12, qword [rdi + 8]
lea rax, [r12 - 0xfc1]
cmp rax, 0x3efff03e
ja 0x1400027aa
mov rdx, rdi
mov rcx, rsi
add rbp, r12
sar rbx, 0xc
call fcn.140002668
mov qword [rdi + 8], rbp
mov rcx, rbx
mov rbx, rdi
call fcn.140009383
cmp rbp, 0x3f000000
jle 0x1400027aa
mov rdx, rdi
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.1400021eb
mov rdx, rdi
mov rcx, rsi
mov rbx, rax
call fcn.1400022ae
mov rdi, qword [rbx + 8]
lea rbp, [rbx + rdi]
mov r12, rbp
sar r12, 0xc
mov rcx, r12
call fcn.140001d1d
test al, al
je 0x140002820
test byte [rbp], 1
jne 0x140002820
mov r13, qword [rbp + 8]
cmp r13, 0xfc0
jle 0x140002820
cmp rdi, 0x3effffff
jg 0x140002820
mov rcx, rsi
add rdi, r13
mov rdx, rbp
call fcn.140002668
mov qword [rbx + 8], rdi
mov rcx, r12
call fcn.140009383
cmp rdi, 0x3f000000
jle 0x140002820
mov rdx, rbx
mov rcx, rsi
mov r8d, 0x3f000000
call fcn.1400021eb
mov rcx, rsi
mov rdx, rax
call fcn.1400022ae
mov rdx, rbx
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1400022ae
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x2098]
mov rdi, rdx
mov rbx, rcx
and rdi, 0xfffffffffffff000
mov rsi, qword [rdi + 8]
sub rax, rsi
mov qword [rcx + 0x2098], rax
cmp rsi, 0xfc0
jle 0x1400028b7
cmp qword [rcx + 0x28d8], 0
lea rax, [rcx + 0x28d8]
jne 0x140002888
mov qword [rcx + 0x28d8], rax
mov qword [rcx + 0x28e0], rax
mov qword [rbx + 0x28b0], rax
lea rdx, [rbx + 0x28a8]
lea r8, [rdi + 0x20]
mov rcx, rbx
call fcn.1400018b2
cmp rsi, 0x3f000000
jg 0x140002946
mov rdx, rdi
jmp 0x140002937
xor eax, eax
mov qword [rdx + 8], rax
mov rax, qword [rdi + 0x20]
mov qword [rdx], rax
mov rax, qword [rdi + 0x28]
mov qword [rdi + 0x20], rdx
lea rcx, [rax + rsi]
cmp rax, rsi
jl 0x14000290a
mov qword [rdi + 0x28], rcx
cmp rcx, 0xfc0
jne 0x1400029a4
mov rax, rsi
mov ecx, 0x10
cqo
idiv rcx
mov rdx, rdi
lea rcx, [rbx + rax*8 + 0x10]
call fcn.14000182e
mov qword [rdi + 8], 0x1000
jmp 0x140002937
mov rax, rsi
mov r8d, 0x10
cqo
idiv r8
add rax, 2
mov rdx, qword [rbx + rax*8]
mov qword [rdi + 0x10], rdx
test rdx, rdx
je 0x14000292d
mov qword [rdx + 0x18], rdi
mov qword [rbx + rax*8], rdi
mov qword [rdi + 0x28], rcx
jmp 0x1400029a4
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140002709
mov rcx, rdi
sar rcx, 0xc
call fcn.140009383
mov rax, qword [rbx + 0x2080]
mov rdx, qword [rbx + 0x2088]
mov rcx, rdi
mov r8d, 0x8000
cmp rdx, rax
cmovl rdx, rax
sub rax, rsi
mov qword [rbx + 0x2080], rax
mov qword [rbx + 0x2088], rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
jne 0x1400029a4
lea rcx, [0x140016143]
call fcn.1400093bd
mov ecx, 1
call sub.ucrtbase.dll_exit
nop
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400029ac
Capabilities:
Terminate process

Disassembly:
lea rdx, [rcx - 0x10]
lea rcx, [0x14001e1a8]
jmp fcn.140002837

Function at 0x140002d8e
Capabilities:
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x120
mov r12, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rcx
mov rdi, rdx
call r12
test rax, rax
jne 0x140002eb5
lea r13, [rsp + 0x26]
mov edx, 0xfa
mov ebx, 1
mov rcx, r13
call fcn.140001e3c
mov byte [rsp + 0x26], 0x5f
mov al, byte [rdi + rbx - 1]
test al, al
je 0x140002ded
mov byte [r13 + rbx], al
inc rbx
cmp rbx, 0xf5
jne 0x140002dd4
mov byte [rsp + rbx + 0x26], 0x40
mov esi, 0x63
mov r14d, 0xa
lea rcx, [rsi - 0x63]
cmp rsi, 0xc6
jbe 0x140002e10
add rbx, 3
jmp 0x140002e23
lea rax, [rsi - 0x5a]
cmp rax, 0x12
jbe 0x140002e20
add rbx, 2
jmp 0x140002e23
inc rbx
mov byte [rsp + rbx + 0x27], 0
mov rax, rcx
xor edx, edx
div r14
mov rax, rcx
add edx, 0x30
mov byte [r13 + rbx], dl
cqo
dec rbx
idiv r14
mov rcx, rax
test rax, rax
jne 0x140002e28
mov rdx, r13
mov rcx, rbp
call r12
test rax, rax
jne 0x140002eb5
add rsi, 4
cmp rsi, 0x12f
jne 0x140002dfd
mov rbx, qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, 2
call rbx
lea rdx, str.could_not_import:
mov rcx, rax
call fcn.140001bc2
mov ecx, 2
call rbx
mov rdx, rdi
mov rcx, rax
call fcn.140001bc2
mov ecx, 2
call rbx
lea rdx, [0x140016141]
mov rcx, rax
call fcn.140001bc2
mov ecx, 1
call sub.ucrtbase.dll_exit
add rsp, 0x120
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret