joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180015ed0
Capabilities:
Hide thread from debugger

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtSetInformationThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180015f16
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x11]
mov rcx, rbx
call rax
test eax, eax
jne 0x180015f12
mov al, 1
jmp 0x180015f16
jmp 0x180015f16
add rsp, 0x20
pop rbx
ret

Function at 0x180016060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp ebx, 1
je 0x180016087
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.180015ed0
lea rdx, str..utf8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xor eax, eax
lea r8, [0x180015f20]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x18001b3c0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x18001b520
test r8, r8
je 0x18001b520
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18001b520
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.18004a56c
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x18001b420
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x18001b46d
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x18001b440
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x18001b504
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x18001b4b4
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x18001b4d5
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x18001b4a0
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.18004a468
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x18001b522
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x18001e6c0
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 0x18001e71d
lea rbx, [0x180050f60]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18001e704
cmp r10, 2
jb 0x18001e704
cmp byte [r9], r8b
jne 0x18001e704
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 0x18001e6e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001e75f
lea rbx, [0x180050f60]
cmp r8b, 0x23
jne 0x18001e743
cmp byte [r9], r8b
jne 0x18001e743
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 0x18001e730
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18001e8c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001e8da
mov qword [r8], 0
lea rdx, [0x180056920]
call fcn.18001e770
mov rbx, rax
test rax, rax
jne 0x18001e8fa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18001e9e5
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001e9e5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18001e9e5
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18001e9e5
cmp rdi, 0xffffffffffffffff
je 0x18001e9e5
mov rax, qword [0x1800619a8]
test rax, rax
je 0x18001e976
inc dword [rax + 0xf4]
mov rdx, qword [0x1800619a0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x18001e9e5
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001e9d2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800619a8]
test rax, rax
je 0x18001e9c1
dec dword [rax + 0xf4]
mov rdx, qword [0x1800619a0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x18001e9ee
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001e9e0
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001e9f0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800204d0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x180050f60]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18002055b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.1800326f0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x18002c0f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1800619a8]
mov edi, ecx
cmp byte [rbx + 0x4a55], 0
jne 0x18002c142
cmp byte [rbx + 0x4a56], 0
jne 0x18002c142
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18001e5b0
test dil, 1
je 0x18002c26f
jmp 0x18002c1cb
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b7a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x180057614]
mulss xmm1, dword [0x180057604]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x18005759c]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.18001e5b0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18002c220
lea r11, [0x180050f60]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x18002c203
cmp byte [r8], r9b
jne 0x18002c203
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18002c1f0
not ecx
call fcn.180023bc0
test rax, rax
je 0x18002c26f
cmp byte [rax + 0xb6], 0
je 0x18002c26f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b7a]
movsx r9d, word [rbx + 0x5b7a]
call fcn.18001e5b0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180026210
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180030ff0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180031097
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18003104a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800332c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18001ec90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180061991]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18003109f
mov rcx, rbx
call fcn.18001ec90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180031540
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800619a8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800315a3
mov qword [rsp], rbx
lea rbx, [0x180050f60]
nop dword [rax]
cmp r9b, 0x23
jne 0x180031583
cmp byte [r8], r9b
jne 0x180031583
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180031570
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800315d7
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800315de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800315c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x180031860
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1800619a8]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5bc4], ecx
test rbx, rbx
je 0x1800318cf
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.1800318e0
lea rdx, [0x180056924]
mov rcx, rbx
mov rdi, rax
call fcn.18001e770
mov rbx, rax
test rax, rax
je 0x1800318ca
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x180043de0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1800619a8]
mov edx, 0x210
call fcn.180028f80
cmp byte [rax], 0
je 0x180043e56
xor edx, edx
mov ecx, 0x210
call fcn.18002b4b0
test al, al
je 0x180043e56
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180043e56
mov rbx, qword [0x1800619a8]
cmp byte [rbx + 0x37b9], 0
je 0x180043e42
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.18001e060
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rcx, qword [0x1800619a8]
mov edx, 0x214
call fcn.180028f80
cmp byte [rax], 0
je 0x180043ec6
xor edx, edx
mov ecx, 0x214
call fcn.18002b4b0
test al, al
je 0x180043ec6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180043ec6
mov rbx, qword [0x1800619a8]
cmp byte [rbx + 0x37b9], 0
je 0x180043eb2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.18001e060
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rcx, qword [0x1800619a8]
mov edx, 0x212
call fcn.180028f80
cmp byte [rax], 0
je 0x180043f36
xor edx, edx
mov ecx, 0x212
call fcn.18002b4b0
test al, al
je 0x180043f36
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180043f36
mov rbx, qword [0x1800619a8]
cmp byte [rbx + 0x37b9], 0
je 0x180043f22
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.18001e060
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rcx, qword [0x1800619a8]
mov edx, 0x216
call fcn.180028f80
cmp byte [rax], 0
je 0x180043fa6
xor edx, edx
mov ecx, 0x216
call fcn.18002b4b0
test al, al
je 0x180043fa6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180043fa6
mov rbx, qword [0x1800619a8]
cmp byte [rbx + 0x37b9], 0
je 0x180043f92
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.18001e060
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x180049cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x90
mov r11, rdx
mov r9, rcx
lea r10, [rcx + 0x4030]
cmp byte [rcx + 0x1340], 0
jne 0x180049d67
mov word [rcx + 0x1341], 1
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp + 0xa0], rax
mov byte [rcx + 0x132c], al
movzx eax, byte [rsp + 0xa1]
mov byte [rcx + 0x132d], al
movzx eax, byte [rsp + 0xa2]
mov byte [rcx + 0x132e], al
movzx eax, byte [rsp + 0xa3]
mov byte [rcx + 0x132f], al
mov byte [rcx + 0x1343], 0
mov byte [rcx + 0x1340], 1
mov dword [rsp + 0xb0], r8d
mov eax, dword [rcx + 0x132c]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rcx + 0x1341]
test al, al
je 0x180049daa
xor ecx, ecx
mov edx, eax
nop dword [rax + rax]
mov eax, dword [rsp + rcx + 0xa0]
not eax
xor dword [rsp + rcx + 0xb0], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x180049d90
movzx eax, byte [r9 + 0x1342]
mov ecx, 4
sub rcx, rax
cmp rcx, 4
jae 0x180049dda
movzx eax, byte [rsp + rcx + 0xa0]
not al
xor byte [rsp + rcx + 0xb0], al
inc rcx
cmp rcx, 4
jb 0x180049dc0
movzx eax, byte [r9 + 0x1343]
inc al
and eax, 3
mov ecx, eax
mov eax, dword [rsp + 0xb0]
mov dword [r9 + rcx*4 + 0x1330], eax
mov byte [r9 + 0x1343], cl
mov dword [r10 + 0x38], r8d
mov r9, qword [r10 + 0x18]
movabs rdx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movsx rcx, byte [r9]
lea r9, [r9 + 1]
xor rdx, rcx
imul rdx, rbx
test cl, cl
jne 0x180049e20
movabs rax, 0x2374c594f5e76f06
cmp rdx, rax
jne 0x180049e5b
lea eax, [r8 - 0x1d]
cmp eax, 7
ja 0x180049ed2
mov byte [r10 + 0x9c], cl
jmp 0x180049f07
movabs rax, 0xf9bdf861cccd5fd1
cmp rdx, rax
jne 0x180049e80
lea eax, [r8 - 0x1a]
cmp eax, 6
ja 0x180049ed2
mov byte [r10 + 0x9c], 0
jmp 0x180049f07
movabs rax, 0xb4d052affec8dc8e
cmp rdx, rax
jne 0x180049e95
cmp r8d, 0x10
jmp 0x180049ea8
movabs rax, 0x311a797a90e58f21
cmp rdx, rax
jne 0x180049eb4
cmp r8d, 6
jne 0x180049ed2
mov byte [r10 + 0x9c], 0
jmp 0x180049f07
movabs rcx, 0x2f2959b508f215d2
movabs rax, 0xecc3c7c77aebb7ea
cmp rdx, rcx
je 0x180049ef5
cmp rdx, rax
je 0x180049ef5
cmp byte [r10 + 0x9c], 0xff
je 0x180049f07
movabs rax, 0xeb5bc0df5355fba6
cmp rdx, rax
je 0x180049f07
mov byte [r10 + 0x9c], 0xff
jmp 0x180049f07
cmp r8d, 7
jne 0x180049f22
cmp rdx, rcx
je 0x180049f2d
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dl, 1
mov rcx, r10
movabs rax, 0x1401a9e40
call rax
nop
add rsp, 0x90
pop rbx
ret
cmp r8d, 6
jne 0x180049f00
cmp rdx, rax
jne 0x180049f00
mov rax, qword [r10]
mov qword [r10 + 8], rax
mov dword [rsp + 0x80], 1
mov byte [rsp + 0x78], 0
mov dword [rsp + 0x70], 0
lea rax, [0x180057308]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x50], 0xff
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x40], 1
mov byte [rsp + 0x38], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r11
mov rcx, r10
movabs rax, 0x1401c0210
call rax
nop
add rsp, 0x90
pop rbx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14016e3a0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14016e3b0]
mov dword [rax], 1
mov rax, qword [0x14016e3c0]
mov dword [rax], 1
mov rax, qword [0x14016e300]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14016e390]
mov dword [0x1401a200c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14016e490]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14016e470]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14016d830]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140021a70
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov r9, rcx
movsxd r8, r8d
mov rcx, rdx
mov edx, 1
call sym.fread
add rsp, 0x28
ret
Function at 0x140023d80
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x60], xmm12
movsxd rbx, dword [rsp + 0xd8]
mov esi, dword [rsp + 0xd0]
mov r11, rdx
cmp ebx, 4
je 0x140023ec0
xor eax, eax
movsxd r10, eax
cmp esi, eax
jle 0x140023e82
nop dword [rax + rax]
movzx r12d, byte [r9 + r10]
movzx edx, byte [r8 + r10]
movzx r13d, byte [r11 + r10]
add edx, 0xffffff80
add r12d, 0xffffff80
imul ebp, r12d, 0x166f00
shl r13d, 0x14
imul edi, edx, 0xfffa7e00
add r13d, 0x80000
imul r12d, r12d, 0xfff49300
imul eax, edx, 0x1c5a00
add ebp, r13d
xor di, di
add r12d, r13d
add edi, r12d
mov r12d, ebp
add eax, r13d
sar edi, 0x14
sar r12d, 0x14
mov edx, edi
sar eax, 0x14
mov edi, r12d
cmp ebp, 0xfffffff
jbe 0x140023e4c
mov edi, r12d
not edi
sar edi, 0x1f
cmp edx, 0xff
jbe 0x140023e59
not edx
sar edx, 0x1f
cmp eax, 0xff
jbe 0x140023e65
not eax
sar eax, 0x1f
add r10, 1
mov byte [rcx], dil
mov byte [rcx + 1], dl
mov byte [rcx + 2], al
mov byte [rcx + 3], 0xff
add rcx, rbx
cmp esi, r10d
jg 0x140023de0
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
cmp esi, 7
jle 0x140023dce
lea eax, [rsi - 8]
pxor xmm2, xmm2
movdqa xmm9, xmmword [0x1401654d0]
movdqa xmm3, xmmword [0x1401654d0]
shr eax, 3
movdqa xmm7, xmmword [0x1401654f0]
movdqa xmm8, xmmword [0x1401654e0]
lea edi, [rax + 1]
movdqa xmm6, xmmword [0x140165500]
xor eax, eax
movdqa xmm5, xmmword [0x140165510]
movdqa xmm4, xmmword [0x140165470]
mov rdx, rdi
lea r10, [rdi*8]
nop dword [rax]
movq xmm0, qword [r11 + rax]
movdqa xmm11, xmm9
movdqa xmm12, xmm2
movdqa xmm10, xmm2
movdqa xmm1, xmm8
punpcklbw xmm11, xmm0
movq xmm0, qword [r9 + rax]
psrlw xmm11, 4
pxor xmm0, xmm3
punpcklbw xmm12, xmm0
movq xmm0, qword [r8 + rax]
pmulhw xmm1, xmm12
pmulhw xmm12, xmm5
pxor xmm0, xmm3
punpcklbw xmm10, xmm0
movdqa xmm0, xmm7
pmulhw xmm0, xmm10
pmulhw xmm10, xmm6
paddw xmm1, xmm11
psraw xmm1, 4
paddw xmm10, xmm11
paddw xmm0, xmm11
psraw xmm10, 4
paddw xmm0, xmm12
packuswb xmm1, xmm10
psraw xmm0, 4
packuswb xmm0, xmm4
movdqa xmm10, xmm1
punpcklbw xmm10, xmm0
punpckhbw xmm1, xmm0
movdqa xmm0, xmm10
punpckhwd xmm10, xmm1
punpcklwd xmm0, xmm1
movups xmmword [rcx + rax*4 + 0x10], xmm10
movups xmmword [rcx + rax*4], xmm0
add rax, 8
cmp rax, r10
jne 0x140023f20
shl rdi, 5
lea eax, [rdx*8]
add rcx, rdi
jmp 0x140023dd0
Function at 0x14005e130
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x48
lea rax, [rsp + 0x3c]
mov dword [rsp + 0x20], r9d
mov rsi, rcx
mov r9d, r8d
mov qword [rsp + 0x28], rax
mov r8d, edx
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x88]
call sym.stbi_write_png_to_mem
mov rbx, rax
test rax, rax
je 0x14005e1c0
mov rcx, rsi
lea rdx, [0x14016348f]
call sym.fopen
mov rsi, rax
test rax, rax
je 0x14005e1b8
movsxd r8, dword [rsp + 0x3c]
mov r9, rax
mov edx, 1
mov rcx, rbx
call sym.fwrite
mov rcx, rsi
call sym.fclose
mov rcx, rbx
call sym.free
mov eax, 1
add rsp, 0x48
pop rbx
pop rsi
ret
mov rcx, rbx
call sym.free
xor eax, eax
add rsp, 0x48
pop rbx
pop rsi
ret
Function at 0x14005f9c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea rbx, [0x1401a51b0]
mov rcx, rbx
call method.sf::ThreadLocal.getValue___const
test rax, rax
je 0x14005fa00
mov rcx, rbx
call method.sf::ThreadLocal.getValue___const
mov rsi, qword [rax]
call method.sf::priv::GlContext.getActiveContext__
cmp rsi, rax
jne 0x14005fa00
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp method.sf::ThreadLocal.getValue___const
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x14006c100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test rdx, rdx
je 0x14006c113
test r8d, r8d
je 0x14006c113
mov rax, r8
shr rax, 0x20
jne 0x14006c120
xor eax, eax
ret
mov rcx, qword [rcx]
jmp method.sf::priv::CursorImpl.loadFromPixels_unsigned_char_const__sf::Vector2_unsigned_int___sf::Vector2_unsigned_int__
Function at 0x140071250
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x28]
mov rbx, rcx
cmp rsi, rdi
je 0x140071291
mov ecx, 2
sub rdi, rsi
call qword [dbg.__acrt_iob_func]
mov rcx, qword [rbx + 0x20]
mov r8, rdi
mov edx, 1
mov r9, rax
call sym.fwrite
mov rax, qword [rbx + 0x20]
mov qword [rbx + 0x28], rax
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400712a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x1401a82a0]
mov rbx, qword [0x1401a82a8]
lea rax, fcn.140071330
mov qword [0x1401a8280], rax
cmp rsi, rbx
je 0x1400712fa
mov ecx, 2
sub rbx, rsi
call qword [dbg.__acrt_iob_func]
mov rcx, qword [0x1401a82a0]
mov r8, rbx
mov edx, 1
mov r9, rax
call sym.fwrite
mov rbx, qword [0x1401a82a0]
mov qword [0x1401a82a8], rbx
test rbx, rbx
je 0x140071307
mov rcx, rbx
call sym.operator_delete___void_
mov rax, qword [0x14016e040]
lea rcx, [0x1401a82b8]
add rax, 0x10
mov qword [0x1401a8280], rax
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14012d650

Function at 0x140071330
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.140071330
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x28]
mov qword [rcx], rax
mov rbx, rcx
cmp rdi, rsi
je 0x14007137b
mov ecx, 2
sub rsi, rdi
call qword [dbg.__acrt_iob_func]
mov rcx, qword [rbx + 0x20]
mov r8, rsi
mov edx, 1
mov r9, rax
call sym.fwrite
mov rsi, qword [rbx + 0x20]
mov qword [rbx + 0x28], rsi
test rsi, rsi
je 0x140071388
mov rcx, rsi
call sym.operator_delete___void_
mov rax, qword [0x14016e040]
lea rcx, [rbx + 0x38]
add rax, 0x10
mov qword [rbx], rax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.14012d650

Function at 0x1400713b0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.140071330
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x28]
mov qword [rcx], rax
mov rbx, rcx
cmp rdi, rsi
je 0x1400713fb
mov ecx, 2
sub rsi, rdi
call qword [dbg.__acrt_iob_func]
mov rcx, qword [rbx + 0x20]
mov r8, rsi
mov edx, 1
mov r9, rax
call sym.fwrite
mov rsi, qword [rbx + 0x20]
mov qword [rbx + 0x28], rsi
test rsi, rsi
je 0x140071408
mov rcx, rsi
call sym.operator_delete___void_
mov rax, qword [0x14016e040]
lea rcx, [rbx + 0x38]
add rax, 0x10
mov qword [rbx], rax
call fcn.14012d650
mov edx, 0x40
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.operator_delete_void__unsigned_long_long_