joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078bd0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
push rsi
push r12
sub rsp, 0x50
xor esi, esi
mov r12d, r8d
add qword [rcx + 0x268], r12
mov r10, rdx
mov dword [rsp + 0x80], esi
mov rbx, rcx
mov r9d, esi
test r8d, r8d
je 0x140078d5a
mov r8d, dword [rcx + 0x6c8]
mov qword [rax + 0x20], rbp
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
nop
mov edx, dword [rbx + 0x298]
mov r15d, r12d
mov eax, edx
mov edi, esi
sub eax, r8d
cmp r12d, eax
cmovae r15d, eax
mov eax, dword [rbx + 0x258]
test eax, eax
je 0x140078cd6
mov r13d, r9d
nop dword [rax + rax]
movsxd r8, dword [rbx + 0x6c8]
mov esi, r15d
mov eax, edi
mov rcx, qword [r10 + rax*8]
mov rax, qword [rbx + 0x6c0]
lea rbp, [rcx + r13*4]
mov ecx, edx
imul ecx, edi
add rcx, r8
lea r14, [rax + rcx*4]
mov ecx, edx
test r15d, r15d
je 0x140078cbe
nop
mov rcx, qword [rbx + 0x280]
mov edx, edi
movss xmm2, dword [rbp]
mov rax, qword [rcx]
call qword [rax + htons]
add eax, dword [rbx + 0x29c]
lea rbp, [rbp + 4]
mov dword [r14], eax
lea r14, [r14 + 4]
add esi, 0xffffffff
jne 0x140078c80
mov edx, dword [rbx + 0x298]
mov ecx, edx
mov r8d, dword [rbx + 0x6c8]
mov r10, qword [rsp + 0x78]
mov eax, dword [rbx + 0x258]
inc edi
cmp edi, eax
jb 0x140078c50
mov r9d, dword [rsp + 0x80]
xor esi, esi
jmp 0x140078cd8
mov ecx, edx
add r8d, r15d
add r9d, r15d
sub r12d, r15d
mov dword [rbx + 0x6c8], r8d
mov dword [rsp + 0x80], r9d
cmp r8d, ecx
jne 0x140078d30
mov rdx, qword [rbx + 0x6c0]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x4a8]
imul r8d, eax
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
shl r8d, 2
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r9d, dword [rsp + 0x80]
mov r8d, esi
mov dword [rbx + 0x6c8], esi
mov r10, qword [rsp + 0x78]
test r12d, r12d
jne 0x140078c20
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x88]
xor eax, eax
add rsp, 0x50
pop r12
pop rsi
pop rbx
ret
Function at 0x140078fb0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0x190
xor ebx, ebx
lea r9, [rax + 8]
mov rdi, rcx
mov dword [rax + 8], ebx
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x74]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [str.SOUND_SAMPLE_DATA]
lea r8d, [rbx + 0x11]
lea rcx, [rsp + 0x30]
call fcn.1400f4ab4
test eax, eax
je 0x140079012
mov eax, 0x8004020c
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x190
pop rdi
ret
mov eax, dword [rsp + 0xa0]
mov r9d, 1
mov rcx, qword [rdi + 0x70]
xor r8d, r8d
lea edx, [rax + rax]
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, qword [rdi + 0x70]
lea r9, [rsp + 0x1a0]
mov r8d, 0xd7
mov dword [rsp + 0x1a0], ebx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0xa0]
lea r8, [0x14012f1c8]
mov r9d, 0xffffffff
mov qword [rdi + 0x18], rax
mov eax, dword [rsp + 0x17b]
lea rcx, [rdi + 0x58]
mov dword [rdi + 0x28], eax
mov dword [rdi + 0x20], 1
lea edx, [r9 + 3]
mov qword [rdi + 0x290], reloc.WSOCK32.dll_WSACleanup
call fcn.140025fb0
mov rcx, rdi
call fcn.140023ca0
mov r9d, 0x1e
lea r8, [rsp + 0x82]
lea rcx, [rdi + 0x58]
lea edx, [r9 - 0x1b]
call fcn.140025fb0
mov r9d, 0x3c
lea r8, [rsp + 0x46]
lea rcx, [rdi + 0x58]
lea edx, [r9 - 0x2d]
call fcn.140025fb0
movzx eax, byte [rsp + 0x17a]
cmp al, 4
jb 0x1400790ec
sub al, 4
mov byte [rdi + 0x38], 1
mov byte [rdi + 0x3d], al
mov edx, dword [rsp + 0xb2]
test edx, edx
js 0x140079128
mov r8d, dword [rsp + 0xb6]
cmp r8d, edx
jle 0x140079128
movzx ecx, byte [rsp + 0xba]
test cl, cl
mov byte [rdi + 0x38], 1
mov dword [rdi + 0x48], edx
setne al
mov dword [rdi + 0x4c], r8d
cmp cl, 2
mov byte [rdi + 0x44], al
sete al
mov byte [rdi + 0x45], al
mov rbx, qword [rsp + 0x1a8]
xor eax, eax
add rsp, 0x190
pop rdi
ret

Function at 0x140079270
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
xor edi, edi
lea r9, [rsp + 0x40]
mov rbx, rcx
mov dword [rsp + 0x40], edi
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdi
lea r8d, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [rsp + 0x48], di
jne 0x14007931d
cmp word [rsp + 0x4a], di
je 0x14007931d
mov rcx, qword [rbx + 0x70]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov r9d, 0xffffffff
mov dword [rbx + 0x20], 1
test eax, eax
mov qword [rbx + 0x290], 8
movzx eax, word [rsp + 0x4a]
lea rcx, [rbx + 0x58]
cmovne rdi, qword [rsp + 0x40]
lea r8, [0x14012f1f8]
sub rdi, 8
mov dword [rbx + 0x28], eax
lea edx, [r9 + 3]
mov qword [rbx + 0x18], rdi
call fcn.140025fb0
mov rcx, rbx
mov byte [rbx + 0x2c2], 1
call fcn.140023ca0
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov eax, 0x8004020c
add rsp, 0x30
pop rdi
ret
Function at 0x140079440
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0xb0
xor ebx, ebx
lea r9, [rax + 8]
mov rdi, rcx
mov dword [rax + 8], ebx
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x7c]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x30]
cmp eax, dword [str.SOUND]
jne 0x140079528
movzx eax, word [rsp + 0x34]
cmp ax, word [0x14019077c]
jne 0x140079528
mov rcx, qword [rdi + 0x70]
lea rdx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov r9d, 0xffffffff
mov dword [rdi + 0x20], 1
test eax, eax
mov qword [rdi + 0x290], 0x7c
movzx eax, word [rsp + 0x44]
lea r8, [0x14012f1f8]
cmovne rbx, qword [rsp + 0xc0]
lea rcx, [rdi + 0x58]
sub rbx, 0x7c
mov dword [rdi + 0x28], eax
lea edx, [r9 + 3]
mov qword [rdi + 0x18], rbx
call fcn.140025fb0
mov rcx, rdi
mov byte [rdi + 0x2c2], 1
call fcn.140023ca0
mov r9d, 0x60
lea r8, [rsp + 0x4c]
lea rcx, [rdi + 0x58]
lea edx, [r9 - 0x51]
call fcn.140025fb0
xor eax, eax
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
mov rbx, qword [rsp + 0xc8]
mov eax, 0x8004020c
add rsp, 0xb0
pop rdi
ret

Function at 0x140079670
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0xffffffff
lea r8, [0x14012f1c8]
mov rbx, rcx
add rcx, 0x58
lea edx, [r9 + 3]
call fcn.140025fb0
mov rcx, rbx
mov byte [rbx + 0x2c1], 1
call fcn.140023ca0
mov rcx, qword [rbx + 0x70]
lea rdx, [rsp + 0x30]
mov dword [rbx + 0x28], 0x1f40
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor ecx, ecx
mov dword [rbx + 0x20], 1
test eax, eax
mov qword [rbx + 0x290], 0
cmovne rcx, qword [rsp + 0x30]
mov rax, rcx
cqo
sub rax, rdx
sar rax, 1
mov qword [rbx + 0x18], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140079830
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rdi
sub rsp, 0x230
mov rbx, rcx
lea r9, [rax + 8]
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
xor edi, edi
mov r8d, 0x1f4
mov dword [rax + 8], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp word [rsp + 0x120], 1
jne 0x1400799c3
mov eax, 0xfc0e
cmp word [rsp + 0x12e], ax
jne 0x1400799c3
mov r9d, 0xa0
mov qword [rsp + 0x248], rsi
lea r8, [rsp + 0x30]
lea edx, [rdi + 3]
lea rcx, [rbx + 0x58]
call fcn.140025fb0
mov r9d, 0xf0
lea r8, [rsp + 0x134]
lea edx, [rdi + 0xf]
lea rcx, [rbx + 0x58]
call fcn.140025fb0
movss xmm0, dword [rsp + 0x124]
addss xmm0, dword [0x140148628]
movzx ecx, word [rsp + 0x132]
mov qword [rbx + 0x290], 0x1f4
mov dword [rbx + 0x20], 1
cvttss2si rax, xmm0
mov dword [rbx + 0x28], eax
sub ecx, 1
je 0x140079932
sub ecx, 1
je 0x140079929
cmp ecx, 1
je 0x140079920
mov eax, 0x80040208
mov rsi, qword [rsp + 0x248]
mov rbx, qword [rsp + 0x250]
add rsp, 0x230
pop rdi
ret
lea r8, [0x14012f280]
jmp 0x14007996e
lea r8, [0x14012f288]
jmp 0x14007996e
movzx eax, word [rsp + 0x130]
cmp ax, 0x18
jbe 0x140079949
lea r8, [0x14012f1e8]
jmp 0x14007996e
cmp ax, 0x10
jbe 0x140079958
lea r8, [0x14012f1d8]
jmp 0x14007996e
cmp ax, 8
lea r8, [0x14012f1c8]
lea rcx, [0x14012f1f8]
cmovbe r8, rcx
mov edx, 2
lea rcx, [rbx + 0x58]
lea r9d, [rdx - 3]
call fcn.140025fb0
mov rcx, rbx
call fcn.140023ca0
mov rcx, qword [rbx + 0x70]
lea rdx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [rbx + 0x2ac]
test eax, eax
cmovne rdi, qword [rsp + 0x240]
xor edx, edx
lea rax, [rdi*8 - 0xfa0]
div rcx
mov qword [rbx + 0x18], rax
xor eax, eax
jmp 0x140079907
mov rbx, qword [rsp + 0x250]
mov eax, 0x8004020c
add rsp, 0x230
pop rdi
ret
Function at 0x1400799e0
Capabilities:
Write file on windows

Disassembly:
push rdi
sub rsp, 0x240
xor edx, edx
mov rdi, rcx
call fcn.140024c30
mov edx, eax
shr edx, 0x1f
test dl, dl
jne 0x140079c99
mov rcx, rdi
call fcn.140024080
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x140079c99
mov qword [rsp + 0x260], rbp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x268], rsi
xor edx, edx
mov qword [rsp + 0x238], r12
mov r8d, 0x1f4
mov qword [rsp + 0x230], r14
call fcn.1400ba240
mov rcx, qword [rdi + 0x10]
mov edx, 3
mov rax, qword [rcx]
call qword [rax + 0x40]
test rax, rax
je 0x140079a6e
mov r8d, 0xa0
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.1400f4c50
mov rcx, qword [rdi + 0x10]
mov edx, recv
mov rax, qword [rcx]
call qword [rax + 0x40]
test rax, rax
je 0x140079a98
mov r8d, 0xa0
lea rcx, [rsp + 0x134]
mov rdx, rax
call fcn.1400f4c50
mov eax, dword [rdi + 0x260]
lea rcx, [rdi + 0x28]
xorps xmm0, xmm0
mov dword [rsp + 0x12c], 0xfc0ec340
mov r14d, 2
mov ebp, 1
mov edx, r14d
mov word [rsp + 0x120], bp
cvtsi2ss xmm0, rax
movss dword [rsp + 0x124], xmm0
call fcn.140025da0
lea r8, [0x14012dcb0]
mov qword [rsp + 0x250], rbx
xor edx, edx
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
cmp cx, word [r8 + rdx*2]
jne 0x140079b21
movzx ecx, word [rax + rdx*2 + 2]
cmp cx, word [r8 + rdx*2 + 2]
jne 0x140079b21
add rdx, r14
cmp rdx, 0xa
jne 0x140079af0
mov dword [rsp + 0x130], 0x10008
jmp 0x140079c31
mov edx, r14d
lea rcx, [rdi + 0x28]
call fcn.140025da0
mov rbx, 0xffffffffffffffff
lea r9, [0x14012bb38]
mov rdx, rbx
mov r8, rax
movzx ecx, word [r8 + rdx*2 + 2]
cmp cx, word [r9 + rdx*2 + 2]
jne 0x140079b68
add rdx, r14
cmp rdx, 0xb
je 0x140079be2
movzx eax, word [r8 + rdx*2]
cmp ax, word [r9 + rdx*2]
je 0x140079b41
mov edx, r14d
lea rcx, [rdi + 0x28]
call fcn.140025da0
mov rdx, rax
lea r8, [0x140130280]
nop
movzx ecx, word [rdx + rbx*2 + 2]
cmp cx, word [r8 + rbx*2 + 2]
jne 0x140079ba1
add rbx, r14
cmp rbx, 0xb
je 0x140079bef
movzx eax, word [rdx + rbx*2]
cmp ax, word [r8 + rbx*2]
je 0x140079b80
mov edx, r14d
lea rcx, [rdi + 0x28]
call fcn.140025da0
xor edx, edx
lea r8, [0x140130298]
nop word [rax + rax]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [r8 + rdx*2 - 2]
jne 0x140079bfc
cmp rdx, 7
jne 0x140079bc0
mov dword [rsp + 0x130], 0x30008
jmp 0x140079c31
mov dword [rsp + 0x130], 0x10010
jmp 0x140079c31
mov dword [rsp + 0x130], 0x10020
jmp 0x140079c31
mov edx, r14d
lea rcx, [rdi + 0x28]
call fcn.140025da0
xor edx, edx
lea r9, [0x1401302a8]
movzx ecx, word [rax + rdx*2]
inc rdx
cmp cx, word [r9 + rdx*2 - 2]
jne 0x140079c6c
cmp rdx, 6
jne 0x140079c11
mov dword [rsp + 0x130], 0x20008
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0x258]
mov r8d, 0x1f4
mov dword [rsp + 0x258], 0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call fcn.1400246e0
jmp 0x140079c71
mov eax, 0x80040208
mov rbx, qword [rsp + 0x250]
mov rsi, qword [rsp + 0x268]
mov rbp, qword [rsp + 0x260]
mov r12, qword [rsp + 0x238]
mov r14, qword [rsp + 0x230]
add rsp, 0x240
pop rdi
ret
Function at 0x140079ed0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x298], 0
mov rbx, rcx
jne 0x140079eea
mov al, 1
add rsp, 0x30
pop rbx
ret
mov rax, qword [rcx + 0x4a0]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
lea rsi, [rcx + 0x29c]
mov qword [rsp + 0x50], rdi
mov rdx, rsi
mov dword [rsp + 0x40], 0
mov byte [rax], 0xd
inc qword [rcx + 0x4a0]
mov rax, qword [rcx + 0x4a0]
mov qword [rsp + 0x20], 0
mov byte [rax], 0xa
inc qword [rcx + 0x4a0]
mov rdi, qword [rcx + 0x4a0]
mov rcx, qword [rcx + 0x38]
sub edi, ebx
sub edi, 0x29c
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140079f7f
cmp dword [rsp + 0x40], edi
jne 0x140079f7f
mov rdi, qword [rsp + 0x50]
mov al, 1
mov qword [rbx + 0x4a0], rsi
mov rsi, qword [rsp + 0x48]
mov dword [rbx + 0x298], 0
add rsp, 0x30
pop rbx
ret
mov rsi, qword [rsp + 0x48]
xor al, al
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret

Function at 0x14007a1a0
Capabilities:
Get file size

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
xor r9d, r9d
mov rcx, qword [rcx + 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov rcx, qword [rdi + 0x70]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
mov qword [rdi + 0x12d0], 0
test eax, eax
cmovne rdx, qword [rsp + 0x30]
mov qword [rdi + 0x12d8], rdx
add rsp, 0x20
pop rdi
ret
Function at 0x14007afd0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor edx, edx
mov qword [rbx + 0x290], 0
test eax, eax
mov dword [rbx + 0x20], 1
mov r9d, 0xffffffff
lea rcx, [rbx + 0x58]
cmovne rdx, qword [rsp + 0x30]
lea r8, [0x140148a58]
mov qword [rbx + 0x18], rdx
mov eax, dword [0x1401908f8]
lea edx, [r9 + 3]
mov dword [rbx + 0x28], eax
call fcn.140025fb0
xor eax, eax
mov dword [rbx + 0x2ac], 8
add rsp, 0x20
pop rbx
ret

Function at 0x14007b040
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0x58
mov eax, dword [rcx + 0x2c]
lea r9, [rsp + 0x70]
mov rsi, qword [rcx + 0x2b8]
mov rbp, rcx
mov rdx, qword [rcx + 0x2a0]
cmp rsi, rax
mov rcx, qword [rcx + 0x70]
cmovge esi, eax
xor eax, eax
mov r8d, esi
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007b15c
cmp dword [rsp + 0x70], esi
jne 0x14007b15c
mov rax, qword [rbp + 0x2b0]
mov qword [rsp + 0x80], rdi
mov edi, esi
mov qword [rsp + 0x88], r14
mov r14, qword [rbp + 0x2a0]
mov qword [rsp + 0x50], r15
mov r15, qword [rax]
test esi, esi
je 0x14007b137
mov qword [rsp + 0x78], rbx
movaps xmmword [rsp + 0x40], xmm6
movss xmm6, dword [0x140148b48]
movaps xmmword [rsp + 0x30], xmm7
movss xmm7, dword [0x140148b44]
nop
movsx ebx, byte [r14]
movzx eax, bl
and al, 0x7f
movzx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
call fcn.1400ff730
mov eax, ebx
lea r15, [r15 + 4]
sar eax, 7
lea r14, [r14 + 1]
and eax, 2
dec eax
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm7
movss dword [r15 - 4], xmm0
add edi, 0xffffffff
jne 0x14007b0e0
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov rbx, qword [rsp + 0x78]
mov edx, esi
mov rcx, rbp
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
add rsp, 0x58
pop rsi
pop rbp
jmp fcn.140025060
mov eax, 0x80040205
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14007b1d0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rbx, qword [rcx + 0x270]
xor r15d, r15d
mov rsi, qword [rdx]
mov rdi, rcx
mov r14d, r8d
mov eax, ebx
mov rdx, rbx
test r8d, r8d
je 0x14007b2f2
mov qword [r11 + 8], rbp
mov ebp, r14d
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [rsp + 0x70], xmm7
movss xmm7, dword [0x14012f380]
movaps xmmword [r11 - 0x48], xmm8
movss xmm8, dword [0x1401489bc]
movaps xmmword [r11 - 0x58], xmm9
movss xmm9, dword [0x140148b4c]
movaps xmmword [r11 - 0x68], xmm10
movss xmm10, dword [0x14012bc68]
movaps xmmword [r11 - 0x78], xmm11
xorps xmm11, xmm11
nop dword [rax]
nop dword [rax + rax]
movss xmm6, dword [rsi]
movaps xmm0, xmm6
andps xmm0, xmm7
mulss xmm0, xmm8
call fcn.1400ff9e0
mulss xmm0, xmm9
addss xmm0, xmm10
cvttss2si eax, xmm0
cmp eax, 0x7f
jle 0x14007b28b
mov dl, 0x7f
jmp 0x14007b294
test eax, eax
movzx edx, al
cmovs edx, r15d
movzx eax, dl
or al, 0x80
movzx ecx, al
comiss xmm6, xmm11
movzx eax, dl
cmovb ecx, eax
add rsi, 4
mov byte [rbx], cl
inc rbx
mov rax, rbx
sub rbp, 1
jne 0x14007b260
mov ebx, dword [rdi + 0x270]
mov rdx, qword [rdi + 0x270]
movaps xmm11, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0xc0]
sub eax, ebx
mov dword [rsp + 0xc0], r15d
mov r8d, eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
add qword [rdi + 0x268], r14
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
xor eax, eax
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14007b7e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
cmp dword [rcx + 0xa2c], 0
mov rdi, rcx
je 0x14007b876
mov rbx, qword [rcx + 0x270]
xor esi, esi
mov word [rsp + 0x30], 0xfefe
lea rax, [rsp + 0x32]
mov edx, 0x21
nop word [rax + rax]
movzx ecx, byte [rbx]
inc rbx
mov byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14007b820
mov rcx, qword [rdi + 0x38]
lea r8d, [rdx + 0x26]
add dword [rdi + 0xa2c], 0xffffffdf
lea rdx, [rsp + 0x30]
mov word [rax], 0xa500
lea r9, [rsp + 0x70]
mov byte [rax + 2], 0xa5
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14007b88b
cmp dword [rsp + 0x70], 0x26
jne 0x14007b88b
cmp dword [rdi + 0xa2c], esi
ja 0x14007b804
mov al, 1
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov rbx, qword [rsp + 0x78]
xor al, al
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x14007bb00
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
xor ebx, ebx
lea r9, [rsp + 0x50]
mov rdi, rcx
mov dword [rsp + 0x50], ebx
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
lea r8d, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x30], 0xaaff55ff
jne 0x14007bbc3
cmp dword [rsp + 0x34], 0xaaff55ff
jne 0x14007bbc3
lea rcx, [rdi + 0x58]
lea r9d, [rbx - 1]
lea r8, [0x14012f1f8]
lea edx, [rbx + 2]
call fcn.140025fb0
mov rcx, rdi
mov byte [rdi + 0x2c2], 1
call fcn.140023ca0
mov rcx, qword [rdi + 0x70]
lea rdx, [rsp + 0x50]
mov qword [rdi + 0x290], reloc.WSOCK32.dll_recv
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, 0x100
mov dword [rdi + 0x20], 1
test eax, eax
movzx eax, byte [rsp + 0x39]
cmovne rbx, qword [rsp + 0x50]
sub ecx, eax
mov eax, 0x1234b0
sub rbx, 0x10
cdq
mov qword [rdi + 0x18], rbx
idiv ecx
mov dword [rdi + 0x28], eax
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x58]
mov eax, 0x8004020c
add rsp, 0x40
pop rdi
ret
Function at 0x14007bd50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
xor eax, eax
lea r9, [rsp + 0x70]
mov rsi, rcx
mov dword [rsp + 0x70], eax
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8d, [rax + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x40]
lea r8, [0x140148d40]
mov ebx, dword [rsp + 0x3c]
lea rcx, [rsi + 0x58]
mov r9d, 0xffffffff
mov qword [rsi + 0x290], 0x40
bswap eax
bswap ebx
mov dword [rsp + 0x40], eax
lea edx, [r9 + 3]
mov dword [rsp + 0x3c], ebx
call fcn.140025fb0
mov r9d, reloc.WSOCK32.dll_recv
shr ebx, 4
sub ebx, 2
mov dword [rsi + 0x2ac], 4
imul eax, ebx, 0x1c
lea r8, [rsp + 0x50]
lea rcx, [rsi + 0x58]
mov dword [rsi + 0x20], 1
mov dword [rsi + 0x2c], 0x1c
movsxd rdx, eax
mov eax, dword [rsp + 0x40]
mov qword [rsi + 0x18], rdx
lea edx, [r9 - 0xd]
mov dword [rsi + 0x28], eax
call fcn.140025fb0
mov rbx, qword [rsp + 0x78]
xor eax, eax
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14007c160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
xor edx, edx
mov rdi, rcx
call fcn.140024c30
mov edx, eax
shr edx, 0x1f
test dl, dl
jne 0x14007c36b
mov r9d, dword [rdi + 0x260]
mov edx, reloc.WSOCK32.dll_recv
mov r8d, dword [rdi + 0x258]
mov rcx, rdi
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x90], rsi
call fcn.140024600
mov eax, dword [rdi + 0x260]
lea rsi, [rbp - 0x10]
mov rcx, qword [rdi + 0x10]
xor ebx, ebx
bswap eax
xorps xmm0, xmm0
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x28], rbx
movdqu xmmword [rbp - 0x1c], xmm0
mov qword [rbp - 0xc], rbx
lea edx, [rbx + 3]
mov dword [rbp - 4], ebx
mov dword [rbp - 0x30], 0x70474156
mov dword [rbp - 0x2c], 0x20000000
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r8, rax
test rax, rax
je 0x14007c230
nop word [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
test dl, dl
je 0x14007c230
lea ecx, [rdx - 0x30]
cmp cl, 9
jbe 0x14007c222
lea eax, [rdx - 0x61]
cmp al, 0x19
jbe 0x14007c222
lea eax, [rdx - 0x41]
cmp al, 0x19
ja 0x14007c227
mov byte [rsi], dl
inc rsi
lea rax, [rbp]
cmp rsi, rax
jb 0x14007c200
mov rcx, qword [rdi + 0x38]
lea r9, [rbp + 0x18]
mov r8d, gethostbyname
mov dword [rbp + 0x18], ebx
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 0x38]
lea r9, [rbp + 0x18]
xorps xmm0, xmm0
mov dword [rbp + 0x18], ebx
mov r8d, reloc.WSOCK32.dll_recv
mov qword [rsp + 0x20], rbx
lea rdx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov dword [rdi + 0x30c], 1
mov qword [rdi + 0x310], rbx
mov qword [rdi + 0x318], rbx
mov qword [rdi + 0x320], rbx
mov qword [rdi + 0x328], rbx
mov dword [rdi + 0x298], ebx
call fcn.1400246e0
mov rsi, qword [rsp + 0x90]
mov ecx, eax
shr ecx, 0x1f
test cl, cl
jne 0x14007c363
cmp dword [rdi + 0x298], 0x1c
jae 0x14007c2ec
nop dword [rax]
mov eax, dword [rdi + 0x298]
mov dword [rdi + rax*4 + 0x29c], ebx
inc dword [rdi + 0x298]
cmp dword [rdi + 0x298], 0x1c
jb 0x14007c2d0
mov dl, 1
mov rcx, rdi
call fcn.14007c380
mov rcx, qword [rdi + 0x38]
lea r9, [rbp + 0x18]
mov r8d, reloc.WSOCK32.dll_recv
mov byte [rbp - 0x3f], 7
lea rdx, [rbp - 0x40]
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rdi + 0x38]
xor r9d, r9d
inc dword [rdi + 0x30c]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [rdi + 0x30c]
lea r9, [rbp + 0x18]
mov rcx, qword [rdi + 0x38]
lea rdx, [rbp - 0x30]
shl eax, 4
mov r8d, gethostbyname
bswap eax
mov dword [rbp - 0x24], eax
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x98]
add rsp, 0x70
pop rbp
ret