joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rdx
mov rsi, rcx
movsxd r15, dword [rcx + 0x3c]
mov eax, dword [r15 + rcx + 0x88]
lea r13, [rcx + rax]
cmp rdx, 0x10000
jae 0x180002099
mov edx, dword [r13 + 0x10]
movzx ebp, bx
mov ecx, ebp
sub ecx, edx
jb 0x1800021f4
add edx, dword [r13 + 0x14]
cmp ebp, edx
jae 0x1800021f4
mov eax, dword [rsi + rax + 0x1c]
add rax, rsi
mov r14, qword [rax + rcx*8]
jmp 0x180002101
cmp dword [r13 + 0x18], 0
je 0x1800020e1
mov edi, dword [rsi + rax + 0x20]
mov r12d, dword [rsi + rax + 0x24]
add rdi, rsi
xor r14d, r14d
xor ebp, ebp
nop word cs:[rax + rax]
nop dword [rax + rax]
mov edx, dword [rdi + rbp*4]
add rdx, rsi
mov rcx, rbx
call fcn.18000b0cc
test eax, eax
je 0x1800020ee
add rbp, 1
mov eax, dword [r13 + 0x18]
cmp rbp, rax
jb 0x1800020c0
jmp 0x1800020e4
xor r14d, r14d
cmp r14, r13
jae 0x18000210d
jmp 0x1800021f7
mov eax, dword [r13 + 0x1c]
add rax, rsi
add r12, rsi
movzx ecx, word [r12 + rbp*2]
mov r14d, dword [rax + rcx*4]
add r14, rsi
cmp r14, r13
jb 0x1800021f7
mov eax, dword [rsi + r15 + 0x8c]
add r13, rax
cmp r14, r13
jae 0x1800021f7
mov rcx, r14
call fcn.18000b1c8
test rax, rax
je 0x1800021f4
mov r13, rax
mov rcx, rax
mov edx, 0x2e
call fcn.1800088c8
mov r15, rax
mov byte [rax], 0
cmp qword [0x180032e00], 0x10
jb 0x18000215b
mov r14, qword [0x180032de8]
jmp 0x180002162
lea r14, [0x180032de8]
mov rbp, qword gs:[0x60]
test rbp, rbp
je 0x1800021b2
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + 0x20]
lea rdi, str.KERNEL32.DLL
xor r12d, r12d
mov rsi, rbx
nop word cs:[rax + rax]
nop
mov rcx, qword [rsi + 0x50]
mov rdx, rdi
call fcn.18000aef4
test eax, eax
je 0x1800021b7
mov rbx, qword [rbx]
mov rsi, qword [rbx]
mov rax, qword [rbp + 0x18]
cmp rbx, qword [rax + 0x20]
jne 0x180002190
jmp 0x1800021bb
xor r12d, r12d
jmp 0x1800021bb
mov r12, qword [rsi + 0x20]
mov rcx, r12
mov rdx, r14
call fcn.180002040
test rax, rax
je 0x1800021f4
mov rcx, r13
call rax
mov rdi, rax
mov rcx, r13
call fcn.18000b240
test rdi, rdi
je 0x1800021f4
add r15, 1
mov rcx, rdi
mov rdx, r15
call fcn.180002040
mov r14, rax
jmp 0x1800021f7
xor r14d, r14d
mov rax, r14
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1800059b0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rax, qword [0x180032038]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor eax, eax
nop word [rax + rax]
mov ebp, dword [rdx + rax*4]
bswap ebp
mov dword [rsp + rax*4 + 0x50], ebp
mov ebp, dword [rdx + rax*4 + 4]
bswap ebp
mov dword [rsp + rax*4 + 0x54], ebp
add rax, 2
cmp rax, 0x10
jne 0x1800059e0
mov edx, 0x10
mov r13d, dword [rsp + 0x50]
mov edi, r13d
nop word [rax + rax]
mov ebx, dword [rsp + rdx*4 + 0x14]
mov eax, ebx
rol eax, 0x19
mov esi, dword [rsp + rdx*4 + 0x48]
mov ebp, ebx
rol ebp, 0xe
xor ebp, eax
mov eax, ebx
shr eax, 3
xor eax, ebp
mov ebp, esi
rol ebp, 0xf
add eax, edi
mov edi, esi
rol edi, 0xd
xor edi, ebp
shr esi, 0xa
xor esi, edi
add eax, dword [rsp + rdx*4 + 0x34]
add eax, esi
mov dword [rsp + rdx*4 + 0x50], eax
add rdx, 1
mov edi, ebx
cmp rdx, 0x40
jne 0x180005a10
mov r15d, dword [rcx + 8]
mov r8d, dword [rcx + 0xc]
mov r10d, dword [rcx + 0x10]
mov r9d, dword [rcx + 0x14]
mov ebp, dword [rcx + 0x18]
mov r12d, dword [rcx + 0x1c]
mov esi, dword [rcx + 0x20]
mov qword [rsp + 0x48], rcx
mov r11d, dword [rcx + 0x24]
xor ebx, ebx
lea rcx, [0x18001f7e0]
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
nop word cs:[rax + rax]
mov r14d, r11d
mov r11d, esi
mov esi, r12d
mov r12d, ebp
mov eax, ebp
rol eax, 0x1a
mov ebp, r9d
mov r9d, r10d
mov r10d, r8d
mov r8d, r15d
mov edi, r12d
rol edi, 0x15
xor edi, eax
mov eax, r12d
rol eax, 7
xor eax, edi
mov edi, esi
and edi, r12d
add edi, eax
add edi, r14d
mov eax, r12d
not eax
and eax, r11d
add eax, edi
add eax, dword [rbx + rcx]
add eax, r13d
mov edi, r15d
rol edi, 0x1e
mov edx, r15d
rol edx, 0x13
xor edx, edi
rol r15d, 0xa
xor r15d, edx
mov edx, r9d
xor edx, r10d
and edx, r8d
mov edi, r9d
and edi, r10d
xor edi, edx
add ebp, eax
add r15d, eax
add r15d, edi
cmp rbx, 0xfc
je 0x180005b3c
mov r13d, dword [rsp + rbx + 0x54]
add rbx, 4
jmp 0x180005ab0
mov ecx, dword [rsp + 0x28]
add ecx, r15d
mov rax, qword [rsp + 0x48]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0x2c]
add ecx, r8d
mov dword [rax + 0xc], ecx
mov ecx, dword [rsp + 0x30]
add ecx, r10d
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x34]
add ecx, r9d
mov dword [rax + 0x14], ecx
mov ecx, dword [rsp + 0x38]
add ecx, ebp
mov dword [rax + 0x18], ecx
mov ecx, dword [rsp + 0x3c]
add ecx, r12d
mov dword [rax + 0x1c], ecx
mov ecx, dword [rsp + 0x40]
add ecx, esi
mov dword [rax + 0x20], ecx
mov ecx, dword [rsp + 0x44]
add ecx, r11d
mov dword [rax + 0x24], ecx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800062e0
nop
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x180005bc0
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xe0
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x180032038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
movaps xmm0, xmmword [0x18001f7c0]
movups xmmword [rsp + 0x28], xmm0
movaps xmm0, xmmword [0x18001f7d0]
movups xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x88], 0
mov qword [rsp + 0x20], rdx
cmp rdx, 0x40
jb 0x180005c89
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
add rdi, 0x40
add rbx, 0xffffffffffffffc0
mov byte [rsp + 0x88], 0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x90]
call fcn.1800059b0
cmp rbx, 0x40
jb 0x180005c89
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov rdx, rdi
call fcn.1800059b0
add rdi, 0x40
add rbx, 0xffffffffffffffc0
cmp rbx, 0x3f
ja 0x180005c70
movzx eax, byte [rsp + 0x88]
lea rcx, [rsp + rax]
add rcx, 0x48
lea r14, [rsp + 0x48]
mov rdx, rdi
mov r8, rbx
call fcn.180007af0
add bl, byte [rsp + 0x88]
mov byte [rsp + 0x88], bl
movzx eax, bl
mov byte [rsp + rax + 0x48], 0x80
mov al, byte [rsp + 0x88]
add al, 1
mov byte [rsp + 0x88], al
movzx eax, al
lea rcx, [rsp + rax]
add rcx, 0x48
mov r8d, 0x40
sub r8, rax
xor edx, edx
call fcn.180008660
cmp byte [rsp + 0x88], 0x39
jb 0x180005d1a
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.1800059b0
xorps xmm0, xmm0
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x30], 0
mov rax, qword [rsp + 0x20]
lea ecx, [rax*8]
mov byte [rsp + 0x87], cl
mov rcx, rax
shr rcx, 5
mov byte [rsp + 0x86], cl
mov rcx, rax
shr rcx, 0xd
mov byte [rsp + 0x85], cl
mov rcx, rax
shr rcx, 0x15
mov byte [rsp + 0x84], cl
mov rcx, rax
shr rcx, 0x1d
mov byte [rsp + 0x83], cl
mov rcx, rax
shr rcx, 0x25
mov byte [rsp + 0x82], cl
mov rcx, rax
shr rcx, 0x2d
mov byte [rsp + 0x81], cl
shr rax, 0x35
mov byte [rsp + 0x80], al
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.1800059b0
mov eax, dword [rsp + 0x28]
bswap eax
mov dword [r15], eax
mov eax, dword [rsp + 0x2c]
bswap eax
mov dword [r15 + 4], eax
mov eax, dword [rsp + 0x30]
bswap eax
mov dword [r15 + 8], eax
mov eax, dword [rsp + 0x34]
bswap eax
mov dword [r15 + 0xc], eax
mov eax, dword [rsp + 0x38]
bswap eax
mov dword [r15 + 0x10], eax
mov eax, dword [rsp + 0x3c]
bswap eax
mov dword [r15 + 0x14], eax
mov eax, dword [rsp + 0x40]
bswap eax
mov dword [r15 + 0x18], eax
mov eax, dword [rsp + 0x44]
bswap eax
mov dword [r15 + 0x1c], eax
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.1800062e0
nop
add rsp, 0xe0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x180005ea0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov eax, 1
cmp dword [0x180032e90], 0
jne 0x180005fff
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x30]
test rdx, rdx
je 0x180005ffd
xor ebx, ebx
mov r8d, 0xdfdfdfdf
jmp 0x180005eff
mov rbx, rsi
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
test rdx, rdx
je 0x180005f42
mov r14, rdx
movsxd rdx, dword [rdx + 0x3c]
mov esi, dword [rdx + r14 + 0x88]
test rsi, rsi
je 0x180005ef3
mov edx, dword [rsi + r14 + 0xc]
add rsi, r14
mov ebp, dword [rdx + r14]
and ebp, r8d
cmp ebp, 0x4c44544e
jne 0x180005ef0
mov edx, dword [r14 + rdx + 4]
and edx, r8d
mov rbx, rsi
cmp edx, 0x4c440e4c
jne 0x180005ef3
mov rbx, rsi
jmp 0x180005f4b
test rbx, rbx
je 0x180005ffd
mov ecx, dword [rbx + 0x18]
mov r9d, dword [rbx + 0x1c]
add r9, r14
mov r10d, dword [rbx + 0x20]
add r10, r14
mov r11d, dword [rbx + 0x24]
add r11, r14
xor r8d, r8d
lea r15, [0x180032e90]
jmp 0x180005fa9
mov esi, 0x18cb4255
mov edx, r8d
shl rdx, 4
mov dword [rdx + r15 + 8], esi
movzx esi, word [r11 + rcx*2]
mov esi, dword [r9 + rsi*4]
mov dword [rdx + r15 + 0xc], esi
mov qword [rdx + r15 + 0x10], 0
add r8d, 1
cmp r8d, 0x1f4
je 0x18000601a
test rcx, rcx
je 0x180006008
add ecx, 0xffffffff
mov edi, dword [r10 + rcx*4]
movzx edx, word [r14 + rdi]
cmp edx, 0x775a
jne 0x180005fa4
add rdi, r14
cmp byte [rdi], 0
je 0x180005f6f
mov esi, 0x18cb4255
mov ebp, 1
xor edx, edx
nop word cs:[rax + rax]
nop dword [rax + rax]
movzx edx, word [rdx + rdi]
mov ebx, esi
rol ebx, 0x18
add ebx, edx
xor esi, ebx
mov edx, ebp
add ebp, 1
cmp byte [rdi + rdx], 0
jne 0x180005fe0
jmp 0x180005f74
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dword [0x180032e90], r8d
mov r10d, r8d
add r10d, 0xffffffff
jne 0x180006030
jmp 0x180005fff
mov dword [0x180032e90], 0x1f4
mov r8d, 0x1f4
mov r10d, 0x1f3
xor r11d, r11d
lea r9, [0x180032eb0]
mov r14d, r10d
jmp 0x180006049
add r14d, 0xffffffff
cmp r11d, r10d
je 0x180005fff
mov r14d, r14d
add r11d, 1
cmp r8d, r11d
je 0x180006040
mov ebp, dword [0x180032e9c]
mov rsi, r14
mov rcx, r9
jmp 0x18000609a
mov edx, dword [rcx - 0x18]
mov r15, qword [rcx - 0x10]
mov ebx, dword [rcx - 8]
mov dword [rcx - 0x18], ebx
mov dword [rcx - 0x14], edi
mov rdi, qword [rcx]
mov qword [rcx - 0x10], rdi
mov dword [rcx - 8], edx
mov dword [rcx - 4], ebp
mov qword [rcx], r15
add rcx, 0x10
add rsi, 0xffffffffffffffff
je 0x180006040
mov edi, dword [rcx - 4]
cmp ebp, edi
ja 0x180006070
mov ebp, edi
jmp 0x180006090
Function at 0x46c340
Capabilities:
Create process on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov eax, dword [0x005887f8]
cmp eax, 0xffffffff
jne 0x46c447
mov r8d, 0x68
mov edx, 0
lea rcx, [0x00c6c380]
call sub.msvcrt.dll_memset
mov dword [0x00c6c380], 0x68
mov r8d, 0x18
mov edx, 0
lea rcx, [0x00c6c3f0]
call sub.msvcrt.dll_memset
lea rax, [0x00c6c3f0]
mov qword [rsp + 0x48], rax
lea rax, [0x00c6c380]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rdx, str.cmd.exe__c_ver
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
setne al
test al, al
je 0x46c43d
mov rax, qword [0x00c6c3f0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [0x00c6c3f0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [0x00c6c3f8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov dword [0x005887f8], 1
jmp 0x46c447
mov dword [0x005887f8], 0
mov eax, dword [0x005887f8]
add rsp, 0x50
pop rbp
ret
Function at 0x47eb86
Capabilities:
Get file size

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov dword [rbp + 0x10], ecx
mov ecx, dword [rbp + 0x10]
call fcn.0047e752
test eax, eax
sete al
test al, al
je 0x47ebae
mov rax, 0xfffffffffffffffe
jmp 0x47ec5d
mov rdx, qword [0x007240d0]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x00c855f8], rax
mov rax, qword [0x00c855f8]
movzx eax, byte [rax + 0x80]
test al, al
je 0x47ebe6
mov rax, 0xfffffffffffffffc
jmp 0x47ec5d
mov rdx, qword [0x007240c8]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x00c85600], rax
lea rdx, [0x00c8560c]
mov rax, qword [0x00c85600]
mov rax, qword [rax]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileSize]
call rax
mov edx, eax
lea rax, [0x00c85608]
mov dword [rax], edx
mov rax, qword [0x00c85608]
mov edx, eax
mov eax, 0xffffffff
cmp rdx, rax
jne 0x47ec56
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
setne al
test al, al
je 0x47ec56
mov rax, 0xfffffffffffffffd
jmp 0x47ec5d
mov rax, qword [0x00c85608]
add rsp, 0x20
pop rbp
ret
Function at 0x4805b4
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov ecx, dword [rbp + 0x10]
call fcn.0047e752
test eax, eax
sete al
test al, al
je 0x4805e6
mov eax, 0xfffffffe
jmp 0x48077d
mov rdx, qword [0x007240d0]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x00c856e0], rax
mov rax, qword [0x00c856e0]
movzx eax, byte [rax + 0xa]
test al, al
jne 0x48061c
mov eax, 0xfffffffd
jmp 0x48077d
cmp qword [rbp + 0x28], 0
jns 0x48062d
mov eax, 0xfffffffc
jmp 0x48077d
cmp qword [rbp + 0x18], 0xffffffffffffffff
je 0x480663
mov rax, qword [rbp + 0x18]
mov rdx, rax
mov ecx, dword [rbp + 0x10]
call fcn.00480448
mov dword [0x00c856e8], eax
mov eax, dword [0x00c856e8]
test eax, eax
setne al
test al, al
je 0x480663
mov eax, dword [0x00c856e8]
jmp 0x48077d
mov rdx, qword [0x007240c8]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x00c856f0], rax
cmp qword [rbp + 0x28], 0
je 0x480778
mov eax, 0xffffffff
cmp qword [rbp + 0x28], rax
jle 0x4806ad
mov dword [0x00c856f8], 0xffffffff
movabs rax, 0xffffffff00000001
add qword [rbp + 0x28], rax
jmp 0x4806bf
mov rax, qword [rbp + 0x28]
mov dword [0x00c856f8], eax
mov qword [rbp + 0x28], 0
mov ecx, dword [0x00c856f8]
mov rax, qword [0x00c856f0]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
lea r9, [0x00c85700]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
sete al
test al, al
je 0x48072e
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [0x00c856d8], eax
mov eax, dword [0x00c856d8]
cmp eax, 5
je 0x480720
mov eax, dword [0x00c856d8]
cmp eax, 0x21
jne 0x480727
mov eax, 0xfffffff9
jmp 0x48077d
mov eax, 0xfffffff7
jmp 0x48077d
mov rax, qword [0x00c85700]
add qword [rbp + 0x20], rax
mov rax, qword [0x00c856e0]
mov rcx, qword [rax + 0x10]
mov rdx, qword [0x00c85700]
mov rax, qword [0x00c856e0]
add rdx, rcx
mov qword [rax + 0x10], rdx
mov eax, dword [0x00c856f8]
mov edx, eax
mov rax, qword [0x00c85700]
cmp rdx, rax
je 0x48067d
mov eax, 0xffffffff
jmp 0x48077d
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x48078b
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [0x00c59bb8], 0
mov ecx, dword [rbp + 0x10]
call fcn.0047e752
test eax, eax
sete al
test al, al
je 0x4807c8
mov eax, 0xfffffffe
jmp 0x4809c8
mov rdx, qword [0x007240d0]
mov eax, dword [rbp + 0x10]
cdqe
imul rax, rax, 0x88
add rax, rdx
mov qword [0x00c85710], rax
mov rax, qword [0x00c85710]
movzx eax, byte [rax + 9]
test al, al
jne 0x4807fe
mov eax, 0xfffffffd
jmp 0x4809c8
cmp qword [rbp + 0x28], 0
jns 0x48080f
mov eax, 0xfffffffc
jmp 0x4809c8
cmp qword [rbp + 0x18], 0xffffffffffffffff
je 0x480845
mov rax, qword [rbp + 0x18]
mov rdx, rax
mov ecx, dword [rbp + 0x10]
call fcn.00480448
mov dword [0x00c85718], eax
mov eax, dword [0x00c85718]
test eax, eax
setne al
test al, al
je 0x480845
mov eax, dword [0x00c85718]
jmp 0x4809c8
mov rdx, qword [0x007240c8]
mov eax, dword [rbp + 0x10]
cdqe
shl rax, 3
add rax, rdx
mov qword [0x00c85720], rax
cmp qword [rbp + 0x28], 0
je 0x4809b8
mov eax, 0xffffffff
cmp qword [rbp + 0x28], rax
jle 0x48088f
mov dword [0x00c85728], 0xffffffff
movabs rax, 0xffffffff00000001
add qword [rbp + 0x28], rax
jmp 0x4808a1
mov rax, qword [rbp + 0x28]
mov dword [0x00c85728], eax
mov qword [rbp + 0x28], 0
mov ecx, dword [0x00c85728]
mov rdx, qword [rbp + 0x20]
mov rax, qword [0x00c85720]
mov rax, qword [rax]
mov qword [rsp + 0x20], 0
lea r9, [0x00c85730]
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadFile]
call rax
test eax, eax
setne al
test al, al
je 0x480985
mov rax, qword [rbp + 0x20]
mov rdx, qword [0x00c85730]
add rax, rdx
mov qword [rbp + 0x20], rax
mov rax, qword [0x00c85710]
mov rcx, qword [rax + 0x10]
mov rdx, qword [0x00c85730]
mov rax, qword [0x00c85710]
add rdx, rcx
mov qword [rax + 0x10], rdx
mov rdx, qword [0x00c59bb8]
mov rax, qword [0x00c85730]
add rax, rdx
mov qword [0x00c59bb8], rax
mov eax, dword [0x00c85728]
mov edx, eax
mov rax, qword [0x00c85730]
cmp rdx, rax
je 0x48085f
mov eax, dword [0x00c85728]
mov edx, eax
mov rax, qword [0x00c85730]
sub rdx, rax
mov rax, qword [rbp + 0x28]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [0x00c85710]
mov byte [rax + 0x19], 1
mov eax, 0xfffffff6
jmp 0x4809c8
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov dword [0x00c85708], eax
mov eax, dword [0x00c85708]
cmp eax, 5
je 0x4809aa
mov eax, dword [0x00c85708]
cmp eax, 0x21
jne 0x4809b1
mov eax, 0xfffffff9
jmp 0x4809c8
mov eax, 0xfffffff7
jmp 0x4809c8
mov rax, qword [0x00c85710]
mov byte [rax + 0x19], 0
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x4965d4
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
cdqe
mov rcx, rax
call sub.msvcrt.dll_malloc
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x49661d
mov ecx, 7
call fcn.004450ba
mov rax, qword [rbp - 0x18]
jmp 0x4966af
mov eax, dword [rbp - 4]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call rax
mov edx, eax
sub dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cmp edx, eax
setne al
test al, al
je 0x496670
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_free
mov edx, 1
mov ecx, 0
call fcn.00446b22
mov qword [rbp - 0x18], rax
mov ecx, 0x33
call fcn.004450ba
mov rax, qword [rbp - 0x18]
jmp 0x4966af
mov eax, dword [rbp - 4]
mov edx, 1
mov ecx, eax
call fcn.00446b22
mov qword [rbp - 0x20], rax
mov eax, dword [rbp - 4]
movsxd rcx, eax
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
mov rdx, qword [rbp - 0x10]
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sub.msvcrt.dll_free
mov rax, qword [rbp - 0x20]
add rsp, 0x40
pop rbp
ret
Function at 0x49e3bc
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret

Function at 0x49e3db
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x91
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret

Function at 0x49e3fa
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov ecx, 0x90
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
neg eax
add rsp, 0x20
pop rbp
ret

Function at 0x49f7c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
cmp edx, 0x66
mov rbx, rcx
ja case.0x49f7e2.20
lea r8, [0x005b7368]
mov ecx, edx
movsxd rax, dword [r8 + rcx*4]
add rax, r8
jmp rax
mov edx, 0x7f00
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call rsi
movsxd r8, eax
mov rcx, qword [rbx]
mov edx, 0xfffffff4
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.USER32.dll_SetClassLongPtrA]
mov edx, 0x7f03
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f03
jmp 0x49f802
mov edx, 0x7f82
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f82
jmp 0x49f802
mov edx, 0x7f83
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f83
jmp 0x49f802
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
xor r8d, r8d
jmp 0x49f809
mov edx, 0x7f89
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f89
jmp 0x49f802
mov edx, 0x7f01
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f01
jmp 0x49f802
mov edx, 0x7f02
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f02
jmp 0x49f802
mov edx, 0x7f84
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f84
jmp 0x49f802
mov edx, 0x7f86
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f86
jmp 0x49f802
mov edx, 0x7f8b
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f8b
jmp 0x49f802
mov edx, 0x7f85
xor ecx, ecx
mov rsi, qword [sym.imp.USER32.dll_LoadCursorA]
call rsi
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f85
jmp 0x49f802
lea rcx, str.Unknown_cursor_type:__d
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.004a2310

Function at 0x49f9c0
Capabilities:
Write file on windows

Disassembly:
add rcx, 0x18
jmp fcn.0049f7c0