joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10092f32
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10230be0
mov eax, dword [0x102d4a48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100938c2
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10092f74
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100930d0
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10230b30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x102da068]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100a19aa
mov ecx, dword [esi*4 + 0x102da068]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100930c9
cmp eax, dword [edi + ecx + 0x24]
jne 0x100930c9
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100930c9
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100a19aa
add esp, 0x14
test edx, edx
jl 0x100930c9
jg 0x1009303f
test eax, eax
jb 0x100930c9
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100930c9
jl 0x10093059
cmp dword [ebp - 0x1008], eax
ja 0x100930c9
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10093077
test ebx, ebx
je 0x100930b0
cmp ecx, edi
jae 0x100930b0
mov al, byte [ecx]
cmp al, 0xd
jne 0x10093091
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1009309d
cmp byte [ecx + 1], 0xa
jne 0x1009309d
inc ecx
jmp 0x1009309d
movzx eax, al
movsx eax, byte [eax + 0x102d4de0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10093077
cmp edx, ebx
jne 0x10093077
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100930ce
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1008a9cb
leave
ret
Function at 0x10094fad
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x102d4a48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1023ee1c
push esi
call fcn.100a3b4a
pop ecx
pop ecx
test eax, eax
jne 0x10094fdb
xor al, al
jmp 0x10095058
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.10094cb1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10095015
push dword [ebp - 0x210]
call fcn.10092afa
xor al, al
jmp 0x10095056
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1009501b
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x1009503b
push edx
call fcn.10094ee3
pop ecx
test al, al
je 0x10095006
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x10095049
mov bl, 1
push dword [ebp - 0x210]
call fcn.10092afa
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a9cb
leave
ret

Function at 0x1009f2e5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102407c8
push 0x102407c0
push str.FlsAlloc
push 0x1e
call fcn.1009f166
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009f319
push dword [ebp + 8]
mov ecx, esi
call dword [0x1023d37c]
call esi
jmp 0x1009f31f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1009f363
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x102407d8
push 0x102407d0
push str.FlsGetValue
push 0x20
call fcn.1009f166
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009f39a
push dword [ebp + 8]
mov ecx, esi
call dword [0x1023d37c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100a1a26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x102da068]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100a1a66
cmp byte [ebx], 0xa
jne 0x100a1a66
or byte [eax + edi + 0x28], 4
jmp 0x100a1a6b
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100a1b69
mov al, byte [edx]
cmp al, 0x1a
je 0x100a1b4b
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100a1a9a
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100a1abf
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100a1ac9
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100a1a7c
jmp 0x100a1b69
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100a1b46
cmp dword [ebp - 0xc], 0
je 0x100a1b46
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x102da068]
test byte [eax + edi + 0x28], 0x48
je 0x100a1b20
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100a1b0b
mov byte [esi], dl
jmp 0x100a1b1c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x102da068]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100a1b69
cmp byte [ebp - 1], 0xa
jne 0x100a1b2f
cmp esi, ebx
jne 0x100a1b2f
mov byte [esi], 0xa
jmp 0x100a1b68
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100a19c8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100a1b69
mov byte [esi], 0xd
jmp 0x100a1b68
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x102da068]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100a1b65
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100a1b69
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100a1b72
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x102da068]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100a1bb5
cmp word [esi], dx
jne 0x100a1bb5
or byte [edi + eax + 0x28], 4
jmp 0x100a1bba
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100a1cf3
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100a1cd3
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100a1bfc
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100a1c32
cmp eax, edx
jae 0x100a1c3e
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100a1bd4
jmp 0x100a1cf3
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100a1ccf
cmp dword [ebp - 0x14], 0
je 0x100a1ccf
mov eax, dword [ebx*4 + 0x102da068]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100a1ca7
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x100a1ced
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x102da068]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x102da068]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x102da068]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x100a1cf0
pop ebx
cmp word [ebp - 4], bx
jne 0x100a1cb8
cmp esi, dword [ebp + 0xc]
jne 0x100a1cb8
mov word [esi], bx
jmp 0x100a1cf0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100a19c8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100a1cf3
push 0xd
jmp 0x100a1cec
mov ecx, dword [ebx*4 + 0x102da068]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100a1cea
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100a1cf3
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100a36b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a3527
Function at 0x100a5be9
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100a5c86
push ebx
push esi
call fcn.100a5bb2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100a5afb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100a5c33
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a5c85
push edi
push eax
call fcn.1009f6f6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100a5c53
call fcn.1009e23d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a5c84
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100a5afb
add esp, 0x20
test eax, eax
jne 0x100a5c72
push edi
call fcn.1009e23d
jmp 0x100a5c7a
push ebx
call fcn.1009e23d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100a5c89
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100a5c9a
pop esi
ret
push ebx
push edi
push esi
call fcn.100a5bb2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1009f6f6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100a5cc2
push ebx
push esi
push edi
call fcn.1008ded0
add esp, 0xc
push 0
call fcn.1009e23d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100a640e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a5f35
Function at 0x100aab72
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100aaaee
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100aacea
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100aacea
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100aac99
jg 0x100aabcb
test eax, eax
je 0x100aac8f
push 1
push 0x1000
call fcn.1009efa0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100aabf1
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100aac86
push 0x8000
push ebx
call fcn.100aaa1f
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100aac1d
jg 0x100aac18
cmp ecx, 0x1000
jb 0x100aac1d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100a30cf
add esp, 0x10
cmp eax, 0xffffffff
je 0x100aac62
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100aac18
jl 0x100aac49
test ecx, ecx
jne 0x100aac0a
push dword [ebp - 0xc]
push ebx
call fcn.100aaa1f
push esi
call fcn.1009e23d
add esp, 0xc
xor edi, edi
jmp 0x100aacfb
cmp byte [edi + 0x24], 0
je 0x100aac79
cmp dword [edi + 0x20], 5
jne 0x100aac79
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100aac84
mov edi, dword [edi + 0x18]
jmp 0x100aac86
xor edi, edi
push esi
call fcn.1009e23d
pop ecx
jmp 0x100aacfb
test ecx, ecx
jg 0x100aac5b
jl 0x100aac99
test eax, eax
jae 0x100aac5b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100a19c8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100aacbc
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100aac5b
jmp 0x100aacf3
push ebx
call fcn.100a415b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100aac5b
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100aacfb
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100aacf8
mov edi, dword [edi + 0x18]
jmp 0x100aacfb
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100a19c8
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100e00ba
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x28
call fcn.101d0768
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x100e00d2
push 0xfffffffffffffff4
pop eax
leave
ret
mov dword [eax], str.AVBSFContext
mov eax, dword [ebp - 4]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], edi
call fcn.100b1486
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
call fcn.100b1486
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x100e0167
cmp dword [eax + 0x14], 0
je 0x100e0167
push 8
call fcn.101d0768
mov esi, eax
pop ecx
test esi, esi
je 0x100e0167
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], esi
call fcn.100b2ede
mov dword [esi], eax
test eax, eax
je 0x100e0167
cmp dword [edi + 0xc], 0
je 0x100e015b
push dword [edi + 0xc]
call fcn.101d0768
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100e0167
mov eax, dword [edi + 8]
test eax, eax
je 0x100e015b
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call fcn.101d4e57
pop ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
xor eax, eax
jmp 0x100e0174
lea eax, [ebp - 4]
push eax
call fcn.100e019f
pop ecx
push 0xfffffffffffffff4
pop eax
pop edi
pop esi
leave
ret
Function at 0x101481f7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
push 0
push esi
call fcn.1008c9e0
mov ecx, dword [ebp + 0xc]
xor edi, edi
push dword [ebp + 0x10]
and dword [esi + 0x3c], 0
inc edi
shl edi, cl
mov eax, edi
mov dword [esi + 0x14], ecx
sar eax, 2
mov dword [ebp + 8], eax
lea eax, [ecx - 2]
push eax
push esi
mov dword [esi + 0x10], edi
call fcn.1018c68b
add esp, 0x18
test eax, eax
js 0x10148388
push 4
pop eax
push eax
mov dword [ebp - 4], eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.101d073f
mov edx, eax
mov dword [esi + 0x18], edx
pop ecx
pop ecx
test edx, edx
je 0x10148388
mov ecx, dword [esi + 0x3c]
sub ecx, 0
je 0x10148286
sub ecx, 1
jne 0x10148388
mov ecx, dword [ebp + 8]
push 4
pop eax
mov dword [ebp + 0xc], eax
push 8
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
jmp 0x1014828e
mov ecx, dword [ebp + 8]
mov eax, ecx
shl eax, 2
movsd xmm1, qword [ebp + 0x14]
add eax, edx
mov dword [esi + 0x1c], eax
xorps xmm0, xmm0
xor eax, eax
comisd xmm0, xmm1
push ecx
push ecx
movsd qword [esp], xmm1
cmova eax, ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [0x102581e0]
movsd qword [ebp - 0xc], xmm0
call fcn.102324db
fstp qword [esp]
call fcn.10232580
cmp dword [ebp + 8], 0
pop ecx
fstp qword [ebp + 0x14]
pop ecx
jle 0x10148384
movd xmm1, edi
xor edi, edi
cvtdq2pd xmm1, xmm1
mov dword [ebp + 0xc], edi
movsd qword [ebp - 0x24], xmm1
movd xmm0, edi
cvtdq2pd xmm0, xmm0
push ecx
push ecx
addsd xmm0, qword [ebp - 0xc]
mulsd xmm0, qword [0x102581e8]
divsd xmm0, xmm1
movsd qword [ebp - 0x1c], xmm0
movsd qword [esp], xmm0
call fcn.10232c80
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 0xc]
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
xorps xmm0, xmmword [0x1024c260]
mulsd xmm0, qword [ebp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [ecx + eax], xmm0
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esp], xmm0
call fcn.102330e0
mov eax, dword [esi + 0x1c]
inc edi
movsd xmm1, qword [ebp - 0x24]
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
xorps xmm0, xmmword [0x1024c260]
mulsd xmm0, qword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
cvtsd2ss xmm0, xmm0
movss dword [ecx + eax], xmm0
add ecx, dword [ebp - 4]
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 8]
jl 0x101482ee
xor eax, eax
jmp 0x10148392
push esi
call fcn.101481dc
pop ecx
or eax, 0xffffffff
pop edi
pop esi
leave
ret
Function at 0x101678e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
jle 0x10167970
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ecx + 4]
mov eax, ebx
xor eax, dword [edx + 4]
mov edi, dword [ecx]
mov ecx, edi
xor ecx, dword [edx]
or ebx, dword [edx + 4]
or edi, dword [edx]
mov edx, dword [ebp + 8]
shrd ecx, eax, 1
shr eax, 1
and ecx, 0x7fff7fff
mov esi, dword [edx]
and eax, 0x7fff7fff
mov edx, dword [edx + 4]
sub edi, ecx
mov ecx, esi
sbb ebx, eax
mov eax, edx
xor eax, ebx
xor ecx, edi
shrd ecx, eax, 1
or edx, ebx
or esi, edi
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub esi, ecx
mov ecx, dword [ebp + 0x10]
sbb edx, eax
mov eax, dword [ebp + 8]
add ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x18]
mov dword [eax], esi
add eax, dword [ebp + 0x14]
sub dword [ebp + 0x20], 1
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
jne 0x101678f6
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10167972
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x20]
test esi, esi
jle 0x101679c2
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov edx, dword [ebx]
mov eax, edx
xor eax, dword [ecx]
or edx, dword [ecx]
mov ecx, dword [edi]
add ebx, dword [ebp + 0x1c]
shr eax, 1
and eax, 0x7f7f7f7f
sub edx, eax
mov eax, ecx
xor eax, edx
or ecx, edx
shr eax, 1
and eax, 0x7f7f7f7f
sub ecx, eax
mov dword [edi], ecx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp + 0x18]
add edi, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
sub esi, 1
jne 0x10167988
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x101679c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
jle 0x10167a4b
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
sub ebx, edi
mov esi, dword [edi]
mov ecx, esi
xor ecx, dword [ebx + edi]
mov edx, dword [edi + 4]
mov eax, edx
xor eax, dword [ebx + edi + 4]
or edx, dword [ebx + edi + 4]
or esi, dword [ebx + edi]
shrd ecx, eax, 1
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub esi, ecx
mov dword [edi], esi
mov esi, dword [edi + 8]
sbb edx, eax
mov dword [edi + 4], edx
mov ecx, esi
mov edx, dword [edi + 0xc]
mov eax, edx
xor eax, dword [ebx + edi + 0xc]
xor ecx, dword [ebx + edi + 8]
or esi, dword [ebx + edi + 8]
or edx, dword [ebx + edi + 0xc]
shrd ecx, eax, 1
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub esi, ecx
mov dword [edi + 8], esi
sbb edx, eax
mov dword [edi + 0xc], edx
add edi, dword [ebp + 0x10]
sub dword [ebp + 0x14], 1
jne 0x101679d9
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10167a4d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jle 0x10167a99
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, 0x7f7f7f7f
sub esi, edx
mov ecx, dword [edx]
mov eax, ecx
xor eax, dword [esi + edx]
or ecx, dword [esi + edx]
shr eax, 1
and eax, ebx
sub ecx, eax
mov dword [edx], ecx
mov ecx, dword [edx + 4]
mov eax, ecx
xor eax, dword [esi + edx + 4]
or ecx, dword [esi + edx + 4]
shr eax, 1
and eax, ebx
sub ecx, eax
mov dword [edx + 4], ecx
add edx, dword [ebp + 0x10]
sub edi, 1
jne 0x10167a67
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x10167a9c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x20], 0
jle 0x10167b92
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ecx + 4]
mov eax, ebx
xor eax, dword [edx + 4]
mov edi, dword [ecx]
mov ecx, edi
xor ecx, dword [edx]
or ebx, dword [edx + 4]
or edi, dword [edx]
shrd ecx, eax, 1
mov edx, dword [ebp + 8]
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub edi, ecx
mov esi, dword [edx]
sbb ebx, eax
mov edx, dword [edx + 4]
mov ecx, esi
xor ecx, edi
mov eax, edx
xor eax, ebx
or edx, ebx
shrd ecx, eax, 1
mov ebx, dword [ebp + 0x10]
or esi, edi
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub esi, ecx
sbb edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax], esi
mov esi, 0x7fff7fff
mov edi, dword [ebx + 8]
mov ecx, edi
mov ebx, dword [ebx + 0xc]
mov eax, ebx
xor eax, dword [edx + 0xc]
xor ecx, dword [edx + 8]
or edi, dword [edx + 8]
or ebx, dword [edx + 0xc]
shrd ecx, eax, 1
shr eax, 1
and ecx, esi
and eax, esi
sub edi, ecx
sbb ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
mov ecx, esi
mov edx, dword [eax + 0xc]
xor ecx, edi
mov eax, edx
or esi, edi
xor eax, ebx
or edx, ebx
shrd ecx, eax, 1
shr eax, 1
and ecx, 0x7fff7fff
and eax, 0x7fff7fff
sub esi, ecx
mov ecx, dword [ebp + 0x10]
sbb edx, eax
mov eax, dword [ebp + 8]
add ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x18]
mov dword [eax + 8], esi
add eax, dword [ebp + 0x14]
sub dword [ebp + 0x20], 1
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], eax
jne 0x10167ab2
pop edi
pop esi
pop ebx
pop ebp
ret