joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004f30
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x18001d010]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movzx edi, dl
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edx, edx
mov ecx, edi
xor ebp, ebp
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, eax
cmp dil, 1
jne 0x180004f8f
xorps xmm0, xmm0
lea r8d, [rbp + 6]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
lea rdx, str.MOUSE0
mov qword [rbx + 0x18], rbp
jmp 0x180005090
cmp dil, 2
jne 0x180004fb5
xorps xmm0, xmm0
lea rdx, str.MOUSE1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 6
mov qword [rbx + 0x18], rbp
jmp 0x180005090
cmp dil, 4
jne 0x180004fdb
xorps xmm0, xmm0
lea rdx, str.MBUTTON
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 7
mov qword [rbx + 0x18], rbp
jmp 0x180005090
cmp dil, 5
jne 0x180005001
xorps xmm0, xmm0
lea rdx, str.XBUTTON1
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180005090
cmp dil, 6
jne 0x180005024
xorps xmm0, xmm0
lea rdx, str.XBUTTON2
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8d, 8
mov qword [rbx + 0x18], rbp
jmp 0x180005090
lea eax, [rdi - 0x21]
cmp eax, 0x84
ja case.0x180005049.41
lea rdx, [0x180000000]
cdqe
movzx eax, byte [rdx + rax + 0x50c8]
mov ecx, dword [rdx + rax*4 + 0x50c0]
add rcx, rdx
jmp rcx
bts r9d, 8
shl r9d, 0x10
lea rdx, [rsp + 0x30]
mov ecx, r9d
mov r8d, 0x80
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rbp
inc r8
cmp byte [rax + r8], bpl
jne 0x180005082
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180013910
mov rax, rbx
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180013a80
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140682ef0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140682efd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140682f0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140682ef5
lea eax, [rcx + 1]
jmp 0x140682f1b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140682f2e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140682f14
sub eax, 3
jb 0x140682f4e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140682f9d
sar eax, 1
movsxd rbp, eax
jb 0x140682f84
jmp 0x140682f5c
add ebx, ebx
jne 0x140682f5a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140682f84
inc ecx
add ebx, ebx
jne 0x140682f6a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140682f84
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140682f7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140682f6c
add ecx, 2
jmp 0x140682f89
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140682eb2
jmp 0x140682efd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x67c000]
mov eax, dword [rdi]
or eax, eax
je 0x140683005
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x68ea80]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140682fa9
jns 0x140682fde
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140682fe8
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140682fff
mov qword [rbx], rax
add rbx, 8
jmp 0x140682fc9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140683049
cmp al, 0xef
ja 0x140683031
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140683011
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x140683020
mov eax, dword [rdi]
add rdi, 4
jmp 0x140683020
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x25f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14068309d
sub rsp, 0xffffffffffffff80
jmp 0x1401d9d8c
Function at 0x140001145
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1400efbc4
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400efc52
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1400efc52
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400efc52
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 0x1400efc39
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400efc33
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400efc3b
add rdx, 0x28
jmp 0x1400efc18
xor edx, edx
test rdx, rdx
jne 0x1400efc44
xor al, al
jmp 0x1400efc58
cmp dword [rdx + 0x24], 0
jge 0x1400efc4e
xor al, al
jmp 0x1400efc58
mov al, 1
jmp 0x1400efc58
xor al, al
jmp 0x1400efc58
add rsp, 0x18
ret

Function at 0x140001172
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
jmp 0x1400eecc0
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1400eed14
lea r11, str.f87hVI_:pkWn
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x2aaaaaab
lea r10, [r10 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
movsxd rcx, eax
movzx eax, byte [rcx + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1400eece0
mov eax, r9d
ret

Function at 0x140001181
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400f01b4
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400f01ff
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400f01ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400f01ff
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400f01ff
cmp dword [rcx + 0x84], 0xe
jbe 0x1400f01ff
cmp dword [rcx + 0xf8], 0
je 0x1400f01ff
mov al, 1
jmp 0x1400f0201
xor al, al
add rsp, 0x28
ret
Function at 0x140001ddd
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
push rdx
call fcn.140001b40
mov r8, qword [rsp]
cmp eax, 0
jne 0x140001fdd
mov r14d, dword [r8 + 0xf0]
xor rdi, rdi
lea rcx, [rdi + r14*4]
mov rsi, r8
lea rdi, [r8 + rcx*4]
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
lea rsi, [rsi + 0x10]
lea rdi, [rdi - 0x10]
cmp rdi, rsi
jne 0x140001e18
lea rax, [0x140003200]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov rbp, qword [rax + 0x38]
mov r15, r8
sub r14d, 1
nop
lea r15, [r15 + 0x10]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov r9, rsi
mov r12, rsi
and r9, rax
and r12, rcx
mov rbx, r9
mov rdx, r12
shr r9, 7
lea r8, [rax + rax]
shr r12, 7
lea r11, [rcx + rcx]
sub rbx, r9
sub rdx, r12
and r8, rdi
and r11, rdi
and rbx, rbp
and rdx, rbp
xor r8, rbx
xor r11, rdx
mov r10, rsi
mov r13, rsi
and r10, r8
and r13, r11
mov rbx, r10
mov rdx, r13
shr r10, 7
lea r9, [r8 + r8]
shr r13, 7
lea r12, [r11 + r11]
sub rbx, r10
sub rdx, r13
and r9, rdi
and r12, rdi
and rbx, rbp
and rdx, rbp
xor r9, rbx
xor r12, rdx
mov r10, rsi
mov r13, rsi
and r10, r9
and r13, r12
mov rbx, r10
mov rdx, r13
shr r10, 7
xor r8, rax
shr r13, 7
xor r11, rcx
sub rbx, r10
sub rdx, r13
lea r10, [r9 + r9]
lea r13, [r12 + r12]
xor r9, rax
xor r12, rcx
and r10, rdi
and r13, rdi
and rbx, rbp
and rdx, rbp
xor r10, rbx
xor r13, rdx
xor rax, r10
xor rcx, r13
xor r8, r10
xor r11, r13
mov rbx, rax
mov rdx, rcx
xor r9, r10
shr rbx, 0x20
xor r12, r13
shr rdx, 0x20
xor r10, r8
rol eax, 8
xor r13, r11
rol ecx, 8
xor r10, r9
rol ebx, 8
xor r13, r12
rol edx, 8
xor eax, r10d
shr r10, 0x20
xor ecx, r13d
shr r13, 0x20
xor ebx, r10d
xor edx, r13d
mov r10, r8
rol r8d, 0x18
mov r13, r11
rol r11d, 0x18
shr r10, 0x20
xor eax, r8d
shr r13, 0x20
xor ecx, r11d
rol r10d, 0x18
mov r8, r9
rol r13d, 0x18
mov r11, r12
shr r8, 0x20
xor ebx, r10d
shr r11, 0x20
xor edx, r13d
rol r9d, 0x10
rol r12d, 0x10
rol r8d, 0x10
xor eax, r9d
rol r11d, 0x10
xor ecx, r12d
xor ebx, r8d
xor edx, r11d
mov dword [r15], eax
mov dword [r15 + 4], ebx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], edx
sub r14d, 1
jne 0x140001e5c
xor rax, rax
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
Function at 0x14001c440
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14001c49d
lea rbx, [0x14016e800]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14001c484
cmp r10, 2
jb 0x14001c484
cmp byte [r9], r8b
jne 0x14001c484
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14001c460
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001c4df
lea rbx, [0x14016e800]
cmp r8b, 0x23
jne 0x14001c4c3
cmp byte [r9], r8b
jne 0x14001c4c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14001c4b0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x1400200f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x14016e185]
mov dword [rsp + 0x2c], eax
lea r11, [0x14016e800]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, [0x14016e16c]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x140020143
cmp byte [r8], r9b
jne 0x140020143
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x140020130
mov ecx, dword [rbx + 0x3024]
lea rax, [0x14002acc0]
mov edi, dword [rbx + 0x3020]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x14002ad90]
mov qword [rsp + 0x38], rax
lea rax, [0x14002ae80]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x140020251
inc edi
test ecx, ecx
je 0x1400201af
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1400201b4
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x140020251
mov rax, qword [0x14019e140]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x1400201d8
inc dword [rax + 0x3b0]
mov rdx, qword [0x14019e130]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.14001bee0
mov rdx, qword [rbx + 0x3028]
mov rsi, rax
test rdx, rdx
je 0x14002023f
movsxd rcx, dword [rbx + 0x3020]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.1401238b0
mov rcx, qword [rbx + 0x3028]
test rcx, rcx
je 0x140020233
mov rax, qword [0x14019e140]
test rax, rax
je 0x140020233
dec dword [rax + 0x3b0]
mov rdx, qword [0x14019e130]
call fcn.14001bef0
mov qword [rbx + 0x3028], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x3024], edi
movsxd rax, dword [rbx + 0x3020]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x3028]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x3020]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400215f0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140021640
lea r11, [0x14016e800]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021623
cmp byte [r8], r9b
jne 0x140021623
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140021610
mov r11, qword [0x14019e140]
not eax
movsxd rcx, dword [r11 + 0x1a00]
mov r9, qword [r11 + 0x1a08]
mov r10, rcx
mov rdx, rcx
mov r8, r9
test ecx, ecx
je 0x1400216a8
nop dword [rax]
nop dword [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x140021699
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x14002169c
mov rdx, r8
test rdx, rdx
jne 0x140021670
mov r8, qword [r11 + 0x1a08]
shl r10, 4
add r10, r8
cmp r9, r10
je 0x1400216be
cmp dword [r9], eax
jne 0x1400216be
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x14002a740
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x40
xor eax, eax
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14019e140]
mov qword [rsp + 0x60], r14
mov r14, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov r8d, dword [rbx + 0x3034]
mov ecx, dword [rbx + 0x3030]
mov qword [rsp + 0x34], rax
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x3c], al
cmp ecx, r8d
jne 0x14002a833
lea edi, [rcx + 1]
test r8d, r8d
je 0x14002a79e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002a7a3
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, r8d
jle 0x14002a833
mov rdx, qword [0x14019e130]
inc dword [rbx + 0x3b0]
movsxd rcx, edi
shl rcx, 5
mov qword [rsp + 0x58], rsi
call fcn.14001bee0
mov rdx, qword [rbx + 0x3038]
mov rsi, rax
test rdx, rdx
je 0x14002a81b
movsxd r8, dword [rbx + 0x3030]
mov rcx, rax
shl r8, 5
call fcn.1401238b0
mov rcx, qword [rbx + 0x3038]
test rcx, rcx
je 0x14002a80f
mov rax, qword [0x14019e140]
test rax, rax
je 0x14002a80f
dec dword [rax + 0x3b0]
mov rdx, qword [0x14019e130]
call fcn.14001bef0
mov ecx, dword [rbx + 0x3030]
mov qword [rbx + 0x3038], rsi
mov rsi, qword [rsp + 0x58]
mov dword [rbx + 0x3034], edi
mov rax, qword [rbx + 0x3038]
movups xmm0, xmmword [rsp + 0x20]
movsxd rcx, ecx
movups xmm1, xmmword [rsp + 0x30]
shl rcx, 5
movups xmmword [rcx + rax], xmm0
movups xmmword [rcx + rax + 0x10], xmm1
movsxd rcx, dword [rbx + 0x3030]
mov rdi, rcx
shl rdi, 5
lea eax, [rcx + 1]
mov rcx, r14
mov dword [rbx + 0x3030], eax
add rdi, qword [rbx + 0x3038]
call fcn.14001c2b0
mov rbx, qword [rsp + 0x50]
lea r8, [r14 + 1]
mov qword [rdi], rax
mov r10d, 0xffffffff
movzx r9d, byte [r14]
mov edx, r10d
mov r14, qword [rsp + 0x60]
test r9b, r9b
je 0x14002a8d4
lea r11, [0x14016e800]
cmp r9b, 0x23
jne 0x14002a8b7
cmp byte [r8], r9b
jne 0x14002a8b7
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x14002a8a4
not edx
mov rax, rdi
mov dword [rdi + 8], edx
add rsp, 0x40
pop rdi
ret
Function at 0x14002a8f0
Capabilities:
Hash data with crc32

Disassembly:
push r13
push r14
sub rsp, 0x48
mov r13, qword [0x14019e140]
mov qword [rsp + 0x60], rbx
mov rbx, rdx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x40], rdi
mov rdi, rcx
mov qword [rsp + 0x38], r12
test rdx, rdx
jne 0x14002a939
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x14002a930
test r13, r13
je 0x14002a945
inc dword [r13 + 0x3b0]
mov rdx, qword [0x14019e130]
lea rcx, [rbx + 1]
call fcn.14001bee0
mov r8, rbx
mov qword [rsp + 0x68], rax
mov rdx, rdi
mov rcx, rax
mov r14, rax
lea r12, [rax + rbx]
call fcn.1401238b0
xor ebp, ebp
mov byte [r12], 0
xor esi, esi
mov rdi, r14
cmp r14, r12
jae 0x14002ab25
mov qword [rsp + 0x30], r15
nop dword [rax]
movzx eax, byte [rdi]
cmp al, 0xa
je 0x14002ab75
cmp al, 0xd
je 0x14002ab75
mov rbx, rdi
cmp rdi, r12
jae 0x14002a9c3
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x14002a9c3
cmp al, 0xd
je 0x14002a9c3
inc rbx
cmp rbx, r12
jb 0x14002a9b0
mov byte [rbx], 0
movzx eax, byte [rdi]
cmp al, 0x3b
je 0x14002ab0e
cmp al, 0x5b
jne 0x14002aaee
cmp rbx, rdi
jbe 0x14002aaee
cmp byte [rbx - 1], 0x5d
lea r14, [rbx - 1]
jne 0x14002aaee
lea rsi, [rdi + 1]
mov byte [r14], 0
mov r8, r14
mov rcx, rsi
sub r8, rsi
mov edx, 0x5d
call fcn.140124100
mov r15, rax
test rax, rax
je 0x14002aa32
lea rcx, [rax + 1]
mov edx, 0x5b
sub r14, rcx
mov r8, r14
call fcn.140124100
test rax, rax
je 0x14002aa32
mov byte [r15], 0
jmp 0x14002aa3c
lea rsi, [0x14016e29c]
mov rax, rdi
movzx r9d, byte [rsi]
lea r11, [rax + 1]
mov r10, qword [0x14019e140]
mov r14d, 0xffffffff
lea r8, [rsi + 1]
mov eax, r14d
test r9b, r9b
je 0x14002aa96
nop dword [rax]
cmp r9b, 0x23
jne 0x14002aa73
cmp byte [r8], r9b
jne 0x14002aa73
cmp byte [r8 + 1], r9b
cmove eax, r14d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
lea rcx, [0x14016e800]
inc r8
xor eax, dword [rcx + rdx*4]
test r9b, r9b
jne 0x14002aa60
mov r8d, dword [r10 + 0x3020]
xor ecx, ecx
not eax
test r8d, r8d
jle 0x14002aac0
mov r9, qword [r10 + 0x3028]
lea rdx, [r9 + 8]
cmp dword [rdx], eax
je 0x14002aac6
inc ecx
add rdx, 0x30
cmp ecx, r8d
jl 0x14002aab1
xor esi, esi
xor ebp, ebp
jmp 0x14002ab0e
movsxd rax, ecx
lea rsi, [rax + rax*2]
shl rsi, 4
add rsi, r9
je 0x14002aac2
mov rax, qword [rsi + 0x10]
mov r8, r11
mov rdx, rsi
mov rcx, r13
call qword [case.0x14011a6f9.0]
mov rbp, rax
jmp 0x14002ab0e
test rsi, rsi
je 0x14002ab0e
test rbp, rbp
je 0x14002ab0e
mov rax, qword [rsi + 0x18]
mov r9, rdi
mov r8, rbp
mov rdx, rsi
mov rcx, r13
call qword [case.0x14011a6f9.0]
lea rdi, [rbx + 1]
cmp rdi, r12
jb 0x14002a990
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x60]
test r14, r14
je 0x14002ab55
mov rax, qword [0x14019e140]
test rax, rax
je 0x14002ab55
dec dword [rax + 0x3b0]
mov rdx, qword [0x14019e130]
mov rcx, r14
call fcn.14001bef0
mov byte [r13 + 0x3004], 1
add rsp, 0x48
pop r14
pop r13
ret
inc rdi
jmp 0x14002a990
Function at 0x14002ab80
Capabilities:
Write file on windows

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, qword [0x14019e140]
xor r15d, r15d
mov r14, rcx
mov dword [rdi + 0x3008], r15d
test rcx, rcx
je 0x14002acac
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x3010]
mov dword [rdi + 0x3008], r15d
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
test r8d, r8d
jns 0x14002abe8
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.14002bb30
mov eax, r15d
mov dword [rbx], r15d
cmp dword [rbx + 4], eax
jne 0x14002ac02
mov edx, 8
mov rcx, rbx
call fcn.14002bb30
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov ecx, dword [rbx]
cmp dword [rdi + 0x3020], r15d
jle 0x14002ac4a
mov rsi, r15
mov rdx, qword [rdi + 0x3028]
mov r8, rbx
add rdx, rsi
mov rcx, rdi
mov rax, qword [rdx + 0x20]
call qword [case.0x14011a6f9.0]
inc ebp
add rsi, 0x30
cmp ebp, dword [rdi + 0x3020]
jl 0x14002ac20
mov ecx, dword [rbx]
test ecx, ecx
lea eax, [rcx - 1]
lea rdx, [0x14016e2a4]
mov rcx, r14
cmove eax, r15d
movsxd rsi, eax
mov rax, qword [rdi + 0x3018]
lea rdi, [0x14019e138]
test rax, rax
cmovne rdi, rax
call fcn.14001c4f0
mov rbp, qword [rsp + 0x48]
mov rbx, rax
test rax, rax
je 0x14002aca2
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call fcn.14012c0b0
mov rcx, rbx
call fcn.14012b834
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400361b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140036341
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140036220
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140035be0
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140035140
mov dword [rbx + 0x80], 0
jmp 0x14003632d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.140034010
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret