joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b870
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x14005ba18
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x14005b8d5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x14005b8d5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x14005b8d5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14005b90c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x14005b962
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005b962
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005b962
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005b962
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x14005b962
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.14005b320
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x14005b9c4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140037aa0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.14005b6f0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14005ba10
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.140037aa0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x14005d180
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400c5560]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x14005d215
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x14005d276
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.140037aa0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400708c0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x14005d331
sub ecx, 1
je 0x14005d3a4
sub ecx, 1
je 0x14005d2e0
cmp ecx, 1
je 0x14005d2c3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14007d370]
call fcn.140037aa0
jmp 0x14005d3a4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.14005ceb0
test eax, eax
je 0x14005d3a4
jmp 0x14005d24a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005d3a4
sub rax, rsi
cmp rax, rbp
jae 0x14005d3a4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140037c20
jmp 0x14005d3a4
cmp r8d, 4
jle 0x14005d3a4
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x14005d3a4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400379c0
mov esi, eax
test eax, eax
je 0x14005d383
mov edx, 5
mov rcx, rbx
call fcn.14005de70
mov eax, esi
jmp 0x14005d24a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400462a0
mov rcx, r14
call fcn.140046580
test eax, eax
je 0x14005d248
mov edx, 5
mov rcx, rbx
call fcn.14005de70
mov eax, Ordinal_45
jmp 0x14005d24a
Function at 0x140070140
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140070182
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400701c9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140070222
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400701e0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140070263
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140082afa]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140082afb]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140070230
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140071188
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 2]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 2
jb 0x140001336
mov rax, rcx
ret
Function at 0x140001d30
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xe]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xe
jb 0x140001d36
mov rax, rcx
ret

Function at 0x140001d4c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x12
jb 0x140001d52
mov rax, rcx
ret

Function at 0x140001d68
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x11]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x11
jb 0x140001d6e
mov rax, rcx
ret

Function at 0x140001d84
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x10]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x10
jb 0x140001d8a
mov rax, rcx
ret

Function at 0x140001da0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x15]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x15
jb 0x140001da6
mov rax, rcx
ret

Function at 0x140001dbc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x14]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x14
jb 0x140001dc2
mov rax, rcx
ret

Function at 0x140001dd8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 9]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 9
jb 0x140001dde
mov rax, rcx
ret

Function at 0x140001df4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xa]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xa
jb 0x140001dfa
mov rax, rcx
ret

Function at 0x140001e10
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xc]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xc
jb 0x140001e16
mov rax, rcx
ret

Function at 0x140001e2c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xd]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xd
jb 0x140001e32
mov rax, rcx
ret

Function at 0x140001e48
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xf]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xf
jb 0x140001e4e
mov rax, rcx
ret

Function at 0x140001e64
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 9
jb 0x140001e6a
mov rax, rcx
ret
Function at 0x14000326c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 5]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 5
jb 0x140003272
mov rax, rcx
ret

Function at 0x140003288
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x2a]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x15
jb 0x14000328e
mov rax, rcx
ret
Function at 0x180013270
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
lea ebp, [rdx + rdx*8]
mov r14, r9
shl ebp, 2
mov r15, r8
mov edi, edx
mov rsi, rcx
mov ebx, edx
cmp edx, ebp
ja 0x1800132e2
xor r12d, r12d
mov eax, ebx
sub eax, 0x91
je 0x180013346
sub eax, 0x23
je 0x180013309
cmp eax, 0x870
jne 0x18001332f
mov r8d, 0x13
mov dword [rsp + 0xd8], 1
mov rdx, r14
lea rcx, [rsp + 0xd8]
call fcn.18003e7b0
mov byte [rsp + 0x78], 1
movups xmm0, xmmword [rsp + 0x78]
lea r11, [rsp + 0xa0]
mov rax, rsi
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
movups xmmword [rsi], xmm0
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], r12
lea r8, [0x180012fe0]
mov r9, r14
mov dword [rsp + 0x20], r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14], rax
test rax, rax
je 0x18001333f
lea eax, [rdi + rdi*2]
lea ebx, [rbx + rax*4]
cmp ebx, ebp
jbe 0x1800132a3
jmp 0x1800132e2
mov byte [rsp + 0x78], r12b
jmp 0x1800132e2
mov rax, qword [r15]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x68], r12
xor r9d, r9d
mov qword [rsp + 0x60], r12
xor r8d, r8d
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x70], rax
mov rax, qword [r14]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x5e
mov qword [rsp + 0x20], rax
call fcn.18004bf70
mov rcx, qword [r15 + 8]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x68], r12
xor r9d, r9d
mov qword [rsp + 0x60], r12
xor r8d, r8d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x70], rcx
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0xd0], rcx
xor ecx, ecx
mov dword [rsp + 0x28], 0x5e
mov qword [rsp + 0x20], rax
call fcn.18004bf70
lea r9, [rsp + 0x78]
mov qword [rsp + 0xd0], rax
lea r8, [rsp + 0xd0]
mov edx, 0xe6
lea rcx, [rsp + 0x88]
call fcn.180030b60
movups xmm0, xmmword [rsp + 0x88]
jmp 0x1800132e7
Function at 0x180020f10
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov ebx, dword [rsp + 0x508]
lea esi, [rdx - 7]
mov r14, r8
mov r10, rcx
cmp edx, esi
jbe case.0x180020f78.2
mov r13, qword [rsp + 0x30]
lea edi, [rdx - 0x10e]
mov r15, qword [rsp + 0x30]
lea rdx, [0x180000000]
mov r12, qword [rsp + 0x30]
cmp edi, 7
ja case.0x180020f78.1
mov ecx, dword [rdx + rdi*4 + 0x21178]
add rcx, rdx
jmp rcx
cmp qword [0x180114458], 0
jne 0x180020f9f
xor r8d, r8d
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x180114458], rax
jmp 0x180021134
mov rcx, qword [0x180114458]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180021134
mov r8d, 0x72
mov qword [rsp + 0x30], 0x10
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.18005dc30
jmp 0x180021134
mov rbp, qword [rsp + 0x520]
lea r9, [rsp + 0x70]
mov r8d, 0xc0
lea rdx, [rsp + 0x30]
mov rcx, r10
mov rax, qword [rbp]
mov qword [rsp + 0x30], rax
call fcn.1800be430
cmp dword [r14 + 0x3c8], 1
jne 0x180021071
lea rdx, [r15 + 0x10]
mov dword [r14 + 0x3c8], 2
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], 0x20
mov ecx, 0x60
call fcn.180069980
lea rdx, [r14 + 0x3cc]
mov qword [rsp + 0x30], 0x40
lea r8, [rsp + 0x30]
mov ecx, 0x60
call fcn.180069980
lea rdx, [r14 + 0x40c]
mov qword [rsp + 0x30], 0x60
lea r8, [rsp + 0x30]
mov ecx, 0x60
call fcn.180069980
mov qword [r15 + 0x98], r12
lea rdx, [rsp + 0x80]
mov r8, qword [rbp]
mov rcx, r14
sub r8, 0x10
call qword [r13 + 0x188]
test eax, eax
je 0x180021134
mov eax, 0xffffffea
jmp 0x18002115d
mov r13, r14
jmp case.0x180020f78.1
xor ebx, ebx
jmp case.0x180020f78.1
lea rbp, [r9 + 0x28]
mov dword [rsp + 0x20], 0x11b
mov r9, rbp
lea rcx, [rsp + 0x50]
xor r8d, r8d
lea r15, [r14 + 0x1a0]
xor edx, edx
call fcn.18005d8b0
cmp dword [r14 + 0x3c8], 2
mov r12, qword [rax]
jne 0x1800210ee
cmp r12, qword [r15 + 0x98]
jbe 0x18002109a
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], 0x10
mov r8d, 0xc0
lea rdx, [rsp + 0x30]
lea rcx, str._push2call_codes
call fcn.1800be430
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], 8
mov r8d, 0xc0
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.1800be430
mov r10, qword [rsp + 0x500]
lea rdx, [0x180000000]
mov r9, qword [rsp + 0x518]
dec edi
lea eax, [rdi + 0x10e]
cmp eax, esi
ja 0x180020f65
mov eax, ebx
mov rbx, qword [rsp + 0x510]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x180032880
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
lea esi, [r8 + 4]
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmmword [rbp - 0x40]
mov r14, r9
mov ebx, r8d
mov r15, rdx
mov rdi, rcx
cmp r8d, esi
jae 0x18003299a
nop dword [rax]
mov eax, ebx
sub eax, 0x114
je 0x1800329bf
sub eax, 4
je 0x18003291c
sub eax, 1
je 0x18003299a
cmp eax, 3
jne 0x180032990
cmp qword [0x180114460], 0
jne 0x180032908
xor r8d, r8d
lea edx, [rax - 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x180114460], rax
jmp 0x180032990
mov rcx, qword [0x180114460]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x180032990
mov rax, qword [r14]
lea r9, [rbp + 0x20]
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
mov rax, qword [r14 + 8]
lea rcx, [rbp - 0x30]
mov r8d, 0xe2
mov qword [rbp + 0x20], rax
call fcn.18003ab40
mov rcx, qword [r15]
lea r9, [rbp + 0x20]
mov qword [rbp - 0x50], rcx
lea rdx, [rbp - 0x50]
mov rcx, qword [r15 + 8]
mov r8d, 0xe2
mov rax, qword [rax]
mov qword [rbp + 0x20], rcx
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x48], rax
call fcn.18003ab40
lea r9, [rbp - 0x48]
mov edx, 0xe6
lea r8, [rbp + 0x20]
mov rcx, qword [rax]
mov qword [rbp + 0x20], rcx
lea rcx, [rbp - 0x40]
call fcn.180030b60
movaps xmm6, xmmword [rbp - 0x40]
inc ebx
cmp ebx, esi
jb 0x1800328c0
movups xmmword [rdi], xmm6
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rax, rdi
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rax, qword [r14]
lea r9, [rbp + 0x20]
xor edx, edx
mov qword [rbp + 0x20], rax
mov rax, qword [r14 + 8]
lea r8, [rbp - 0x48]
mov qword [rbp - 0x48], rax
lea ecx, [rdx + 0x37]
call fcn.18005f3f0
mov r8, qword [r15]
lea r9, [rbp + 0x20]
mov qword [rbp + 0x20], r8
xor edx, edx
mov r8, qword [r15 + 8]
mov qword [rbp - 0x48], r8
lea r8, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea ecx, [rdx + 0x37]
call fcn.18005f3f0
lea r9, [rbp - 0x50]
mov qword [rbp + 0x20], rax
lea r8, [rbp + 0x20]
mov edx, 0xe6
lea rcx, [rbp - 0x40]
call fcn.180030b60
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rdi], xmm0
jmp 0x18003299d
Function at 0x18005d300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, r8
mov r8d, edx
mov rdx, rcx
lea eax, [r8 - 3]
mov dword [rsp + 8], eax
cmp r8d, eax
mov eax, dword [rsp + 0x68]
jbe 0x18005d565
mov r9, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov dword [rsp + 4], eax
mov ecx, r8d
sub ecx, 0xc9
je 0x18005d3b2
sub ecx, 2
je 0x18005d565
cmp ecx, 1
jne 0x18005d552
xor dl, dl
mov rax, r9
cmp qword [r12], 0
jbe 0x18005d39c
mov r8, rbp
sub r8, r9
movzx ecx, byte [r8 + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or dl, cl
sub qword [r12], 1
jne 0x18005d383
mov r8d, dword [rsp + 0x68]
movzx ecx, dl
mov eax, 0x100
sub eax, ecx
shr eax, 8
mov dword [rsp + 4], eax
jmp 0x18005d54d
movsxd r13, dword [r12]
xor ecx, ecx
sar r13, 1
mov dword [rsp], ecx
mov qword [rsp + 0x10], rcx
test r13, r13
jle 0x18005d552
mov rax, qword [rsp + 0x80]
nop dword [rax]
nop dword [rax + rax]
mov r14d, dword [rdx]
mov r15d, dword [r12]
imul r8d, r15d, 7
imul r10d, r15d, 0xb
imul r11d, r15d, 0xd
lea r9d, [r15 + r15*8]
imul ebx, r15d, 0xf
lea edi, [r15 + r15*2]
add ecx, r8d
lea esi, [r15 + r15*4]
movsxd rdx, ecx
lea ecx, [r8 + r14]
movsx ebp, word [rbp + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul ebp, ecx
mov ecx, dword [rsp]
add ecx, r9d
movsxd rdx, ecx
mov rcx, qword [rsp + 0x88]
movsx r8d, word [rcx + rdx*2]
lea ecx, [r9 + r14]
mov r9d, dword [rsp]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [r10 + r9]
movsxd rdx, ecx
mov rcx, qword [rsp + 0x88]
add ebp, r8d
movsx r8d, word [rcx + rdx*2]
lea ecx, [r10 + r14]
mov r10, qword [rsp + 0x88]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [r11 + r9]
movsxd rdx, ecx
lea ecx, [r11 + r14]
add ebp, r8d
movsx r8d, word [r10 + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [rbx + r9]
movsxd rdx, ecx
lea ecx, [rbx + r14]
add ebp, r8d
movsx r8d, word [r10 + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [rdi + r9]
movsxd rdx, ecx
lea ecx, [rdi + r14]
add ebp, r8d
movsx r8d, word [r10 + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [rsi + r9]
movsxd rdx, ecx
lea ecx, [rsi + r14]
add ebp, r8d
movsx r8d, word [r10 + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
imul r8d, ecx
lea ecx, [r15 + r9]
movsxd rdx, ecx
lea ecx, [r14 + r15]
add ebp, r8d
movsx r8d, word [r10 + rdx*2]
movsxd rdx, ecx
movsx ecx, word [rax + rdx*2]
mov rdx, qword [rsp + 0x78]
imul r8d, ecx
mov rcx, qword [rsp + 0x10]
add ebp, r8d
mov dword [rdx + rcx*4], ebp
inc r9d
mov rdx, qword [rsp + 0x60]
inc rcx
mov qword [rsp + 0x10], rcx
cmp rcx, r13
mov ecx, r9d
mov dword [rsp], r9d
mov rbp, r10
jl 0x18005d3e0
mov eax, dword [rsp + 4]
mov r8d, dword [rsp + 0x68]
mov r9, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x60]
dec r8d
mov dword [rsp + 0x68], r8d
cmp r8d, dword [rsp + 8]
ja 0x18005d354
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005eda0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0x88]
lea r15d, [r8 + 0x6ed]
mov esi, r8d
mov rbp, rdx
mov rdi, rcx
cmp r8d, r15d
jae 0x18005f00d
mov r14d, dword [rsp + 0x80]
xor r12d, r12d
cmp esi, 0x18c
ja 0x18005ef78
je 0x18005eead
mov eax, esi
sub eax, 0xa3
je 0x18005ee82
sub eax, 0x24
je 0x18005ee6e
sub eax, 0x48
je 0x18005ee19
cmp eax, 0x59
je 0x18005f00d
jmp 0x18005effe
mov r8d, 0x72
mov qword [rsp + 0x88], 0xc0
mov rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.18005dc30
test rbp, rbp
je 0x18005effe
mov r9, rdi
mov qword [rsp + 0x88], 0x80
mov r8d, 0xc0
lea rdx, [rsp + 0x88]
mov rcx, rbp
call fcn.1800be430
jmp 0x18005effe
mov eax, dword [rdi + 0x14]
mov r14d, 4
shr eax, 3
sub r14d, eax
jmp 0x18005effe
mov rax, qword [rdi]
lea rdx, [rsp + 0x88]
mov r9d, 0x3c
mov qword [rsp + 0x88], rax
xor r8d, r8d
xor ecx, ecx
call fcn.18004c380
mov rbx, rax
jmp 0x18005effe
mov ecx, dword [rdi + 4]
add ecx, r14d
test rbp, rbp
je 0x18005ef13
mov eax, ecx
mov byte [rsp + 0x83], cl
shr eax, 0x18
mov edx, 4
mov byte [rsp + 0x80], al
mov r9, rbp
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x81], al
lea r8d, [rdx - 3]
mov eax, ecx
lea rcx, [rsp + 0x80]
shr eax, 8
mov byte [rsp + 0x82], al
call fcn.1800d400c
cmp rax, 1
je 0x18005ef13
mov edx, 0x2d
lea rcx, str.Installation_failed_with_SEH_error
call fcn.180032e20
mov ecx, dword [rdi + 4]
add ecx, r14d
cmp ecx, dword [rdi]
jbe 0x18005ef33
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x4d
mov rdx, rbp
call fcn.1800bb140
test r14d, r14d
jle 0x18005ef6f
mov r8d, 0x18
mov r9d, r14d
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rdi + 0x10]
mov ecx, r8d
mov rax, qword [rdi + 8]
sub r8d, 8
shr edx, cl
mov ecx, dword [rdi + 4]
mov byte [rcx + rax], dl
inc dword [rdi + 4]
sub r9, 1
jne 0x18005ef50
mov dword [rdi + 0x10], r12d
jmp 0x18005effe
mov eax, esi
sub eax, 0x1d4
je 0x18005efd9
sub eax, 0x7d
je 0x18005efd0
sub eax, 0x48
je 0x18005efc7
cmp eax, 0x7d
jne 0x18005effe
test rbp, rbp
je 0x18005efc1
mov r8d, dword [rdi + 4]
lea edx, [rax - 0x7c]
mov rcx, qword [rdi + 8]
mov r9, rbp
call fcn.1800d400c
mov ecx, dword [rdi + 4]
cmp rax, rcx
je 0x18005efc1
mov edx, 0x2d
lea rcx, str.half2_bloat__0.5___shapeHalfSize_
call fcn.180032e20
mov dword [rdi + 4], r12d
jmp 0x18005effe
lea rdx, [rdi + 0xa0]
jmp 0x18005efe0
mov dword [rdi + 0x14], 0x20
jmp 0x18005effe
lea rdx, [rdi + 0x80]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x88], 0x20
mov ecx, 0x60
call fcn.180069980
add esi, 0xc5
cmp esi, r15d
jb 0x18005ede2
mov rbp, qword [rsp + 0x78]
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180060a20
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180060a54
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180060a40
ret