joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442fd0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call sym.runtime.traceAcquire
mov eax, dword [0x5a4acc]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call sym.runtime.save
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call sym.runtime.casgstatus
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x443055
cmp dword [eax + 4], ecx
jae 0x443083
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [sym.runtime.reentersyscall.func1]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call sym.runtime.systemstack
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4430d9
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [sym.runtime.reentersyscall.func2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
lea eax, [0x566f60]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
je 0x443112
lea eax, [0x4cc874]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x44314e
lea eax, [0x4cca1c]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call sym.runtime_internal_atomic.Store
lea eax, [0x566f54]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load8
movzx eax, byte [esp + 4]
test al, al
je 0x4431c6
lea eax, [0x4cc870]
mov dword [esp], eax
call sym.runtime.systemstack
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.save
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
ret
Function at 0x453970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x453aea
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x453ae0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4539ca
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4539ca
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x4539dd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x453ab7
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x453aab
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x453aa2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x453a30
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x453a73
mov eax, 1
cmp eax, ecx
ja 0x453a67
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call sym.runtime.panicSliceBU
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x453a9d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x453a6c
mov ecx, dword [esp + 0xc]
jmp 0x453a35
call sym.runtime.panicIndexU
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
call sym.runtime.panicSliceBU
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x453adb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x453ab0
mov ecx, dword [esp + 0x18]
jmp 0x4539e2
call sym.runtime.panicIndexU
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.step
Function at 0x45b0e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45b264
sub esp, 0x24
movzx eax, byte [esp + 0x28]
movzx ebx, al
add ebx, dword [edx + 4]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
shr edi, 0x18
movzx esi, byte [ebx + 2]
mov ecx, esi
shr esi, 0x10
or esi, edi
shl ecx, 0x10
or ecx, ebp
movzx ebp, byte [ebx + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [ebx + 4]
or esi, ebp
movzx ebp, byte [ebx + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [ebx + 6]
shl ebp, 0x10
or ebp, esi
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, ebp
movzx ebp, byte [esp + 0x29]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x45b1f1
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 0xa], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
mov ecx, ebp
shr edi, cl
neg ecx
mov byte [esp + 0xb], cl
mov eax, dword [esp + 0x18]
shl eax, cl
mov dword [esp + 0x18], eax
movzx edx, byte [esp + 0xa]
cmp dl, 0x20
sbb eax, eax
mov dword [esp + 0x14], eax
and ebx, eax
and esi, eax
mov ecx, edx
shr esi, cl
and esi, eax
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb eax, eax
and edi, eax
or edi, ebx
movzx edx, byte [esp + 0xb]
cmp dl, 0x20
sbb ebx, ebx
mov edx, dword [esp + 0x18]
and edx, ebx
or edi, edx
mov edx, ecx
mov ecx, ebp
mov ebp, edi
shl edi, cl
and edi, eax
or edi, esi
movzx ecx, byte [esp + 0xb]
mov eax, ebp
shr ebp, cl
and ebp, ebx
mov ecx, edx
shr eax, cl
mov ebx, dword [esp + 0x14]
and ebx, eax
or edi, ebp
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
call sym.runtime.printlock
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x28]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2a]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x45b260
call sym.runtime.printlock
lea eax, [0x4e5350]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x24
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2
Function at 0x45ca00
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45ca9b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x5a4acc]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.004671b7
lea ecx, [sym.runtime.callers.func1]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call sym.runtime.systemstack
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.callers
Function at 0x463780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x463913
sub esp, 0x24
mov eax, dword [esp + 0x28]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x20], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x28]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x4638fc
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ecx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xc], edx
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x463868
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x5a4b70]
test eax, eax
jne 0x46384f
mov eax, dword [esp + 0x28]
jmp 0x46385d
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x46389f
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x5a4b70]
test eax, eax
jne 0x46388a
mov eax, dword [esp + 0x28]
jmp 0x463898
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4638c5
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4638dd
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4638f8
nop
lea ecx, [0x5a4a1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime_internal_atomic.Xadd
add esp, 0x24
ret
lea eax, [0x4c8f14]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x466eb0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x5a49a6], 0
je 0x466eca
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x466ed0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x5a49a6], 0
je 0x466eeb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback
Function at 0x467d10
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x467d2a
mov ecx, 0x14
jmp 0x467d33
shl ecx, 2
add ecx, 0xe10
mov dword [0x5a4acc], ecx
ret
Function at 0x493830
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4938d1
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x4938c7
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x4938c7
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x4938c7
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x4938c7
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x4938c7
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x4938c7
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x4938c7
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x4938c7
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x4938c7
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x4938c7
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x4938c9
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt
Function at 0x4999c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x5a4acc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x499aba
sub esp, 0x20
mov ecx, dword [esp + 0x24]
test byte [ecx], al
mov edx, dword [esp + 0x28]
mov ebx, edx
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
jmp 0x499a00
mov ebp, dword [esp + 0x14]
inc ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, ebp
cmp eax, 4
jge 0x499a39
mov dword [esp + 0x14], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call sym.sync_atomic.LoadUint64
mov eax, dword [esp + 0x28]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x2c]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4999f3
mov byte [esp + 0x30], 1
add esp, 0x20
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x499a43
inc eax
cmp eax, 4
jge 0x499a59
mov dword [esp + 0x18], eax
lea ebp, [ecx + eax*8]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
xor edi, edi
jmp 0x499ab3
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call sym.sync_atomic.StoreUint64
mov byte [esp + 0x30], 0
add esp, 0x20
ret
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
and esi, 0xff
xor edx, esi
mov esi, dword [esp + 0xc]
shr esi, 8
shl ebp, 0x18
mov eax, edx
mov ebx, 0x1b3
mul ebx
inc edi
or esi, ebp
mov ebp, dword [esp + 0x10]
shr ebp, 8
mov ebx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x18]
cmp edi, 8
jl 0x499a7c
jmp 0x499a42
call sym.runtime.morestack_noctxt
jmp sym.internal_bisect._dedup_.seenLossy
Function at 0x10004f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 4]
push dword [ecx]
push 4
push 1
push eax
call fcn.100b62f9
add esp, 0x10
cmp eax, 4
jne 0x10004fc1
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 4]
shl eax, 8
movzx edx, ch
or eax, edx
movzx ecx, cl
shl eax, 8
or eax, ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], vtable.std::exception.0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], str.fread_failed
xorps xmm0, xmm0
mov byte [ebp - 8], 1
push eax
movq qword [ebp - 0x14], xmm0
call fcn.100af380
add esp, 8
mov dword [ebp - 0x18], vtable.std::runtime_error.0
lea eax, [ebp - 0x18]
push 0x103c7a8c
push eax
call fcn.100b07fd
int3
Function at 0x10005130
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d50d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x103ca0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0
push dword [edi]
call fcn.100b60f8
add esp, 0xc
mov ecx, edi
call fcn.10004f80
mov ecx, edi
mov esi, eax
call fcn.10004f80
cmp esi, 0x46464952
je 0x100051bf
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.std::exception.0
xorps xmm0, xmm0
mov dword [ebp - 0x14], str.invalid_riff_file_signature
push eax
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x14]
mov byte [ebp - 0x10], 1
push eax
call fcn.100af380
add esp, 8
mov dword [ebp - 0x28], vtable.std::runtime_error.0
lea eax, [ebp - 0x28]
push 0x103c7a8c
push eax
call fcn.100b07fd
mov ecx, edi
call fcn.10004f80
cmp eax, 0x45564157
je 0x1000520c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.std::exception.0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.only_wave_format_supported
xorps xmm0, xmm0
mov byte [ebp - 0x10], 1
push eax
movq qword [ebp - 0x24], xmm0
call fcn.100af380
add esp, 8
mov dword [ebp - 0x28], vtable.std::runtime_error.0
lea eax, [ebp - 0x28]
push 0x103c7a8c
push eax
call fcn.100b07fd
mov ecx, edi
call fcn.10004f60
test al, al
jne 0x10005323
nop dword [eax + eax]
mov ecx, edi
call fcn.10004f80
mov ecx, edi
mov esi, eax
call fcn.10004f80
mov ebx, eax
cmp esi, 0x20746d66
jne 0x100052a4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.100013b0
push dword [edi]
mov esi, dword [ebp - 0x14]
push ebx
push 1
push esi
call fcn.100b62f9
add esp, 0x10
cmp eax, ebx
jne 0x10005335
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10005010
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10005314
push esi
call fcn.100b3a32
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x10005314
cmp esi, 0x61746164
jne 0x10005307
push ebx
lea ecx, [edi + 0x10]
call fcn.100013b0
push dword [edi]
push ebx
push 1
push dword [edi + 0x10]
call fcn.100b62f9
add esp, 0x10
cmp eax, ebx
je 0x10005314
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.std::exception.0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.read_failed
xorps xmm0, xmm0
mov byte [ebp - 0x18], 1
push eax
movq qword [ebp - 0x30], xmm0
call fcn.100af380
add esp, 8
mov dword [ebp - 0x34], vtable.std::runtime_error.0
lea eax, [ebp - 0x34]
push 0x103c7a8c
jmp 0x100051b9
push 1
push ebx
push dword [edi]
call fcn.100b60f8
add esp, 0xc
mov ecx, edi
call fcn.10004f60
test al, al
je 0x10005220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.std::exception.0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], str.read_failed
push eax
movq qword [ebp - 0x24], xmm0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x18], 1
jmp 0x100051a1
Function at 0x10005ad0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x103ca0ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebx + 8]
push edi
cmp dword [esi + 0x20], ecx
je 0x10005c1f
lea eax, [ecx + ecx]
mov dword [esi + 0x20], ecx
movd xmm0, eax
mov eax, ecx
cdq
sub eax, edx
mov dword [esi], 0
mov edi, eax
sar edi, 1
cvtdq2pd xmm0, xmm0
test edi, edi
jle 0x10005be8
movsd xmm1, qword [0x103bb0e0]
mov eax, 1
divsd xmm1, xmm0
mov dword [ebp - 8], eax
movsd qword [ebp - 0x18], xmm1
nop dword [eax]
nop word [eax + eax]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x103bb120]
mulsd xmm0, xmm1
addsd xmm0, qword [0x103bb100]
movsd qword [ebp - 0x10], xmm0
call fcn.100d23f0
movsd qword [ebp - 0x28], xmm0
movsd xmm0, qword [ebp - 0x10]
call fcn.100d3d9c
mov eax, dword [esi]
movaps xmm1, xmm0
movups xmm3, xmmword [ebp - 0x28]
cdq
sub eax, edx
movaps xmm2, xmm1
xorps xmm2, xmmword [0x103bb500]
movaps xmm0, xmm3
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
unpcklpd xmm0, xmm1
movsd xmm1, qword [ebp - 0x18]
unpcklpd xmm3, xmm2
movups xmmword [eax], xmm0
movaps xmm0, xmmword [0x103bb350]
movups xmmword [eax + 0x10], xmm3
movups xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [0x103bb4f0]
movups xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 8]
add dword [esi], 2
add eax, 2
mov dword [ebp - 8], eax
sub edi, 1
jne 0x10005b50
mov ecx, dword [ebx + 8]
test cl, 1
je 0x10005c1f
mov eax, dword [esi]
xorps xmm1, xmm1
movaps xmm0, xmmword [0x103bb360]
xorps xmm3, xmm3
movaps xmm2, xmmword [0x103bb350]
cdq
sub eax, edx
sar eax, 1
shl eax, 6
add eax, dword [esi + 8]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm3
inc dword [esi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100980ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10007e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d52a6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x103ca0ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100980fe
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10096146
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret