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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1801531b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1800f28ab
cmp word [rdx], r13w
jne 0x1800f28ab
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1800f28b0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800f29d5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800f29f6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1800f28e9
mov rdx, r9
mov word [rbx], cx
jmp 0x1800f2910
cmp r9, r8
jae 0x1800f2920
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1800f28ca
jmp 0x1800f29d5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1800f29ca
cmp dword [rsp + 0x80], esi
je 0x1800f29ca
lea r8, [0x1801531b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1800f29a2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1800f2972
mov word [rbx], r13w
jmp 0x1800f29d2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1800f297f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800f29d2
cmp word [rsp + 0x70], r13w
jne 0x1800f29af
cmp rbx, r14
je 0x1800f296c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800f2218
cmp word [rsp + 0x70], r13w
je 0x1800f29d5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1801531b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800f29cf
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800f29d5
Function at 0x1800f6e98
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1800f6ec8
xor eax, eax
jmp 0x1800f6f8b
mov rbp, rbx
cmp word [rax], si
je 0x1800f6eed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800f6ed4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800f6ed0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1800f55e4
movsxd r14, eax
test eax, eax
jne 0x1800f6f2b
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1800f6ec1
mov rcx, r14
call fcn.1800ec260
mov rdi, rax
test rax, rax
jne 0x1800f6f44
xor ecx, ecx
call fcn.1800eb474
jmp 0x1800f6f20
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1800f55e4
test eax, eax
jne 0x1800f6f75
mov rcx, rdi
call fcn.1800eb474
jmp 0x1800f6f7f
xor ecx, ecx
call fcn.1800eb474
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800fb408
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1800eda0c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800fb4a9
cmp ebx, dword [rsp + 0x30]
je 0x1800fb4a2
test esi, esi
je 0x1800fb4a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800fb47d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800fb48a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800fb467
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800fb48e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800fb4ab
mov eax, 1
jmp 0x1800fb4ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800fddfc
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.1800f2218
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800f2218
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800fdf4c
cmp rax, 0xffffffffffffffff
je 0x1800fdf4c
xor edi, edi
test rbp, rbp
jle 0x1800fdef7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800eb3fc
mov rbx, rax
test rax, rax
jne 0x1800fde84
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800fdeed
mov edx, 0x8000
mov ecx, r14d
call fcn.1800fdc80
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.1800f1ca0
cmp eax, 0xffffffff
je 0x1800fdecd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800fde94
mov edx, r15d
mov ecx, r14d
call fcn.1800fdc80
jmp 0x1800fdeed
cmp byte [rsi + 0x38], dil
je 0x1800fdee4
cmp dword [rsi + 0x34], 5
jne 0x1800fdee4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800fdeed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800eb474
jmp 0x1800fdf60
jns 0x1800fdf60
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800f2218
cmp rax, 0xffffffffffffffff
jne 0x1800fdf18
cmp byte [rsi + 0x30], dil
je 0x1800fdf60
mov edi, dword [rsi + 0x2c]
jmp 0x1800fdf60
mov ecx, r14d
call fcn.1800f77e8
mov rcx, rax
call qword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
jne 0x1800fdf60
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 0x1800fdf60
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800fdf59
mov eax, dword [rsi + 0x2c]
jmp 0x1800fdf5e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800f2218
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 0x1801007a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor eax, eax
mov r9d, 0x811c9dc5
test rdx, rdx
je 0x1801007c7
nop dword [rax]
movzx r8d, byte [rax + rcx]
inc rax
xor r8d, r9d
imul r9d, r8d, 0x1000193
cmp rax, rdx
jb 0x1801007b0
mov eax, r9d
ret
Function at 0x180100970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov r12, rcx
lea rax, [0x180131b35]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 0x18], xmm0
mov ecx, 0x800
call fcn.1800d21e4
mov rdx, rax
mov qword [r12], rax
mov qword [r12 + 8], 0x80
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax], xmm0
lea r8, [rax + 0x10]
mov r9d, 0x3f
mov rcx, qword [rdx]
mov qword [r8], rcx
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [r8 + 0x10], rax
lea r8, [r8 + 0x20]
mov rax, qword [rdx + 0x18]
mov qword [r8 - 8], rax
lea rdx, [rdx + 0x20]
sub r9, 1
jne 0x1801009f0
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
mov qword [r12 + 0x30], rbx
mov eax, 0x121
mov dword [rsp + 0x78], eax
lea rcx, [0x18014fe20]
mov qword [rsp + 0x80], rcx
nop word [rax + rax]
mov r15, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r15 + rdi], 0
jne 0x180100a60
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x2c], eax
mov r13, qword [r12 + 8]
mov rcx, qword [r12 + 0x10]
lea rax, [r13*2]
add rax, r13
shr rax, 2
cmp rcx, rax
jb 0x180100b4a
test rcx, rcx
je 0x180100b42
cmp edi, dword [r12 + 0x20]
jne 0x180100abc
mov r8d, edi
mov rdx, qword [r12 + 0x18]
mov rcx, r15
call fcn.180110fc0
test eax, eax
je 0x180100b42
dec r13
mov edx, 0x811c9dc5
mov r8d, edi
xor ecx, ecx
test edi, edi
je 0x180100ae5
nop dword [rax]
movzx eax, byte [rcx + r15]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
cmp rcx, r8
jb 0x180100ad0
mov esi, edx
and rsi, r13
xor ebp, ebp
nop dword [rax]
mov rbx, rsi
shl rbx, 4
add rbx, qword [r12]
mov r14d, dword [rbx + 8]
cmp r14d, edi
jne 0x180100b16
mov r8d, r14d
mov rdx, r15
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180100b4a
cmp r14d, dword [r12 + 0x20]
jne 0x180100b31
mov r8, r14
mov rdx, qword [r12 + 0x18]
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180100b42
inc rsi
add rsi, rbp
and rsi, r13
inc rbp
cmp rbp, r13
jbe 0x180100af0
mov rcx, r12
call fcn.180102ed0
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.1801016a0
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x80]
add rcx, 8
mov qword [rsp + 0x80], rcx
cmp eax, 0x137
jl 0x180100a50
mov rax, r12
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180100d70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov r13, rdx
mov r12, rcx
je 0x180100e52
mov r15d, dword [rdx + 8]
cmp r15d, dword [rcx + 0x20]
jne 0x180100dbf
mov rdx, qword [rcx + 0x18]
mov r8d, r15d
mov rcx, qword [r13]
call fcn.180110fc0
test eax, eax
je 0x180100e52
mov r14, qword [r12 + 8]
xor esi, esi
dec r14
mov edx, 0x811c9dc5
mov ecx, esi
test r15, r15
je 0x180100df5
mov r8, qword [r13]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r15
jb 0x180100de0
mov edi, edx
and rdi, r14
nop word [rax + rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r12]
mov ebp, dword [rbx + 8]
cmp ebp, r15d
jne 0x180100e26
mov rdx, qword [r13]
mov r8d, ebp
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180100e71
cmp ebp, dword [r12 + 0x20]
jne 0x180100e41
mov rdx, qword [r12 + 0x18]
mov r8, rbp
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180100e52
inc rdi
add rdi, rsi
inc rsi
and rdi, r14
cmp rsi, r14
jbe 0x180100e00
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbx
jmp 0x180100e54

Function at 0x1801016a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, qword [rcx + 8]
xor esi, esi
mov r15d, dword [rdx + 8]
dec r14
mov r13, rdx
mov r12, rcx
mov r9d, 0x811c9dc5
mov r8d, esi
test r15, r15
je 0x1801016f7
mov r10, qword [rdx]
movzx eax, byte [r10 + r8]
inc r8
xor eax, r9d
imul r9d, eax, 0x1000193
cmp r8, r15
jb 0x1801016e0
mov edi, r9d
and rdi, r14
nop dword [rax]
mov rbx, rdi
shl rbx, 4
add rbx, qword [r12]
mov ebp, dword [rbx + 8]
cmp ebp, dword [r12 + 0x20]
jne 0x180101729
mov rdx, qword [r12 + 0x18]
mov r8d, ebp
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180101771
cmp ebp, r15d
jne 0x180101741
mov rdx, qword [r13]
mov r8, rbp
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x18010177e
inc rdi
add rdi, rsi
inc rsi
and rdi, r14
cmp rsi, r14
jbe 0x180101700
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movups xmm0, xmmword [r13]
movups xmmword [rbx], xmm0
inc qword [r12 + 0x10]
mov rax, rbx
jmp 0x180101754
Function at 0x180102ed0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
sub rsp, 0x98
movups xmm0, xmmword [rcx + 0x18]
mov qword [rax - 8], rbx
mov rbx, qword [rcx + 8]
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x30], r13
mov r13, rcx
mov qword [rax - 0x40], r15
lea r15, [rcx + 0x18]
mov rdi, r15
movups xmmword [rax - 0x60], xmm0
test rbx, rbx
jne 0x180102f33
mov ecx, 0x100
mov ebx, 0x10
call fcn.1800d21e4
mov rsi, rax
mov qword [rsp + 0xa0], rax
mov ebp, ebx
mov qword [rsp + 0xa8], rbx
jmp 0x180102f73
xor esi, esi
xor ebp, ebp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rbp
add rbx, rbx
je 0x180102f91
mov rcx, rbx
shl rcx, 4
call fcn.1800d21e4
mov qword [rsp + 0xa0], rax
mov rsi, rax
mov qword [rsp + 0xa8], rbx
mov rbp, rbx
test rbx, rbx
je 0x180102f91
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 0x10]
movups xmm0, xmmword [rdi]
movups xmmword [rax - 0x10], xmm0
sub rbx, 1
jne 0x180102f80
cmp qword [r13 + 8], 0
mov qword [rsp + 0xb8], 0
jbe 0x1801030ea
xor ecx, ecx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0x60], r14
nop dword [rax]
mov r12, qword [r13]
add r12, rcx
mov r14d, dword [r12 + 8]
cmp r14d, dword [r15 + 8]
jne 0x180102fe9
mov rdx, qword [r15]
mov r8d, r14d
mov rcx, qword [r12]
call fcn.180110fc0
test eax, eax
je 0x18010309f
xor ecx, ecx
lea r15, [rbp - 1]
mov edx, 0x811c9dc5
test r14, r14
je 0x180103015
mov r8, qword [r12]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r14
jb 0x180103000
mov edi, edx
and rdi, r15
xor ebp, ebp
nop dword [rax]
mov rbx, rdi
shl rbx, 4
add rbx, rsi
mov esi, dword [rbx + 8]
cmp esi, dword [rsp + 0x40]
jne 0x180103047
mov rdx, qword [rsp + 0x38]
mov r8d, esi
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x18010307a
cmp esi, r14d
jne 0x18010305f
mov rdx, qword [r12]
mov r8, rsi
mov rcx, qword [rbx]
call fcn.180110fc0
test eax, eax
je 0x180103086
inc rdi
add rdi, rbp
inc rbp
and rdi, r15
cmp rbp, r15
ja 0x180103084
mov rsi, qword [rsp + 0xa0]
jmp 0x180103020
movups xmm0, xmmword [r12]
movups xmmword [rbx], xmm0
jmp 0x180103086
xor ebx, ebx
mov rax, qword [r13]
lea r15, [r13 + 0x18]
mov rcx, qword [rsp + 0xb0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rbx], xmm0
jmp 0x1801030a7
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
add rcx, 0x10
mov rsi, qword [rsp + 0xa0]
inc rdx
mov rbp, qword [rsp + 0xa8]
mov qword [rsp + 0xb8], rdx
mov qword [rsp + 0xb0], rcx
cmp rdx, qword [r13 + 8]
jb 0x180102fc0
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x70]
mov rcx, qword [r13]
mov rax, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov qword [r13], rsi
mov rsi, qword [rsp + 0x80]
mov qword [r13 + 8], rax
mov r13, qword [rsp + 0x68]
test rcx, rcx
je 0x18010312f
call fcn.1800d2598
add rsp, 0x98
ret
Function at 0x1801067b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18014f1c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov r8b, 1
xor edx, edx
add rcx, 8
call fcn.180101980
xor ebp, ebp
mov ecx, dword [rax]
lea eax, [rcx - 0x11a]
test eax, 0xfffffffc
jne 0x180106993
cmp ecx, 0x11c
je 0x180106993
cmp byte [rbx + 1], 0
je 0x180106858
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x20], eax
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x24], xmm0
lea rcx, [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
cmp rdx, qword [rbx + 0x98]
je 0x18010684e
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
mov eax, dword [rsp + 0x30]
mov dword [rdx + 0x10], eax
add qword [rbx + 0x90], 0x14
jmp 0x180106858
lea r8, [rsp + 0x20]
call fcn.1801043c0
mov eax, dword [rbx + 0x28]
cmp eax, 0x11d
je 0x180106993
cmp eax, 0x11a
jne 0x180106980
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
je 0x180106980
mov r9, qword [rbx + 0x40]
cmp byte [r9], 0x21
jne 0x180106980
nop word [rax + rax]
lea edx, [rcx - 1]
movzx eax, byte [rdx + r9]
cmp al, 0x20
je 0x1801068a2
sub al, 9
cmp al, 4
ja 0x1801068a8
mov ecx, edx
test edx, edx
jne 0x180106890
movzx eax, byte [rbx + 0xb8]
mov byte [rsp + 0x38], al
movups xmm0, xmmword [rbx + 0x2c]
movups xmmword [rsp + 0x3c], xmm0
mov r8d, ecx
add r8, r9
lea rdx, [r9 + 1]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
cmp rdx, r8
je 0x1801068fa
sub r8, rdx
lea rcx, [rsp + 0x50]
call fcn.180030660
movups xmm0, xmmword [rsp + 0x3c]
movzx eax, byte [rsp + 0x38]
mov rdx, qword [rbx + 0xa8]
cmp rdx, qword [rbx + 0xb0]
je 0x180106936
mov byte [rdx], al
movups xmmword [rdx + 4], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x18], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x28], xmm1
mov edx, 0xf
mov byte [rsp + 0x50], 0
add qword [rbx + 0xa8], 0x38
jmp 0x18010694c
lea r8, [rsp + 0x38]
lea rcx, [rbx + 0xa0]
call fcn.1801045d0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180106980
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18010697b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801069b9
call fcn.1800d21b0
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 8]
call fcn.180101980
jmp 0x1801067e9
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800d2190
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1800dbbc0
int3
Function at 0x1801106e0
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x14006de90]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140073b04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x140073b08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x140073b08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140073b08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x140073b04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140073b08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x140073b08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]