Function at 0x10025290
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
push 0xffffffffffffffff
push 0x100335c6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x1003f00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1003fcf5], 0
je 0x10025f39
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1003f8dc]
mov byte [ebp - 0x271], 0x4c
mov edi, dword [eax + ecx*4]
mov eax, dword [0x10112444]
cmp eax, dword [edi + 4]
jle 0x1002534a
push 0x10112444
call fcn.10031abc
add esp, 4
cmp dword [0x10112444], 0xffffffff
jne 0x1002534a
movaps xmm0, xmmword [0x1003b770]
mov al, byte [ebp - 0x271]
push 0x10033f20
movups xmmword [0x10112448], xmm0
mov byte [0x10112458], al
call fcn.10031ee1
add esp, 4
push 0x10112444
call fcn.10031a72
add esp, 4
mov al, byte [0x10112458]
test al, al
je 0x10025373
movups xmm0, xmmword [0x10112448]
xor al, 0x4c
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
mov byte [0x10112458], al
movups xmmword [0x10112448], xmm1
movss xmm3, dword [0x1003b574]
lea eax, [ebp - 0x124]
push 0x20
push eax
mov edx, 0x1003fcf5
mov dword [ebp - 0x124], 0
mov ecx, 0x10112448
mov dword [ebp - 0x120], 0
call fcn.1000d840
add esp, 8
call fcn.10017420
mov eax, dword [0x1003f068]
mov dword [ebp - 0x122], 0
movss xmm0, dword [eax + 0x13e4]
addss xmm0, xmm0
addss xmm0, dword [eax + 0x16f8]
addss xmm0, dword [eax + 0x13f0]
addss xmm0, dword [eax + 0x13f0]
mov eax, dword [0x101123f4]
xorps xmm0, xmmword [0x1003bf40]
movss dword [ebp - 0x11e], xmm0
cmp eax, dword [edi + 4]
jle 0x1002543c
push 0x101123f4
call fcn.10031abc
add esp, 4
cmp dword [0x101123f4], 0xffffffff
jne 0x1002543c
movaps xmm0, xmmword [0x1003bd90]
push 0x10033f10
movups xmmword [0x101123e4], xmm0
call fcn.10031ee1
add esp, 4
push 0x101123f4
call fcn.10031a72
add esp, 4
cmp byte [0x101123f3], 0
je 0x10025460
movups xmm0, xmmword [0x101123e4]
movaps xmm1, xmmword [0x1003be00]
pxor xmm1, xmm0
movups xmmword [0x101123e4], xmm1
nop
push 0x800
push 0
lea edx, [ebp - 0x122]
mov ecx, 0x101123e4
call fcn.1000cde0
add esp, 4
call fcn.1000cd50
add esp, 4
test al, al
je 0x10025c8b
movaps xmm0, xmmword [0x1003bfa0]
mov eax, dword [0x1011228c]
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x122], 0
movaps xmm0, xmmword [0x1003c070]
mov dword [ebp - 0x11e], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x134], 0xfef4aceb
mov dword [ebp - 0x130], 0x4cedf4ac
cmp eax, dword [edi + 4]
jle 0x10025521
push 0x1011228c
call fcn.10031abc
add esp, 4
cmp dword [0x1011228c], 0xffffffff
jne 0x10025521
push 0x28
lea eax, [ebp - 0x154]
push eax
push 0x101122d8
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10033ef0
call fcn.10031ee1
add esp, 4
push 0x1011228c
call fcn.10031a72
add esp, 4
cmp byte [0x101122ff], 0
je 0x1002556f
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x101122d8]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x101122d8], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10025540
cmp eax, 0x28
jae 0x1002556f
xor byte [eax + 0x101122d8], 0x4c
inc eax
cmp eax, 0x28
jb 0x10025562
lea eax, [ebp - 0x122]
xor dl, dl
push eax
push ecx
mov ecx, 0x101122d8
call fcn.10017060
movaps xmm0, xmmword [0x1003bf70]
add esp, 8
mov eax, dword [0x101123e0]
movups xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x122], 0
movaps xmm0, xmmword [0x1003c0b0]
mov dword [ebp - 0x11e], 0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x130], 0xedf4acfe
mov byte [ebp - 0x12c], 0x4c
cmp eax, dword [edi + 4]
jle 0x1002561a
push 0x101123e0
call fcn.10031abc
add esp, 4
cmp dword [0x101123e0], 0xffffffff
jne 0x1002561a
push 0x25
lea eax, [ebp - 0x150]
push eax
push 0x1011230c
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10033ec0
call fcn.10031ee1
add esp, 4
push 0x101123e0
call fcn.10031a72
add esp, 4
cmp byte [0x10112330], 0
je 0x1002565f
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop dword [eax]
movups xmm0, xmmword [eax + 0x1011230c]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x1011230c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10025630
cmp eax, 0x25
jae 0x1002565f
xor byte [eax + 0x1011230c], 0x4c
inc eax
cmp eax, 0x25
jb 0x10025652
lea eax, [ebp - 0x122]
xor dl, dl
push eax
push ecx
mov ecx, 0x1011230c
call fcn.10017060
movaps xmm0, xmmword [0x1003bfb0]
add esp, 8
mov byte [ebp - 0x271], al
mov eax, dword [0x10112390]
movups xmmword [ebp - 0x154], xmm0
mov dword [ebp - 0x122], 0
movaps xmm0, xmmword [0x1003c0a0]
mov dword [ebp - 0x11e], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x134], 0xebf4acc8
mov dword [ebp - 0x130], 0xacfef4ac
mov word [ebp - 0x12c], 0xedf4
mov byte [ebp - 0x12a], 0x4c
cmp eax, dword [edi + 4]
jle 0x10025723
push 0x10112390
call fcn.10031abc
add esp, 4
cmp dword [0x10112390], 0xffffffff
jne 0x10025723
push 0x2b
lea eax, [ebp - 0x154]
push eax
push 0x10112290
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x10033e90
call fcn.10031ee1
add esp, 4
push 0x10112390
call fcn.10031a72
add esp, 4
cmp byte [0x101122ba], 0
je 0x1002576f
movaps xmm2, xmmword [0x1003be00]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + 0x10112290]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x10112290], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x10025740
cmp eax, 0x2b
jae 0x1002576f
xor byte [eax + 0x10112290], 0x4c
inc eax
cmp eax, 0x2b
jb 0x10025762
lea eax, [ebp - 0x122]
xor dl, dl
push eax
push ecx
mov ecx, 0x10112290
call fcn.10017060
add esp, 8
test al, al
je 0x100257f9
xor esi, esi
cmp dword [0x101117c8], esi
jle 0x100257ba
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [0x101117d0]
push dword [eax + esi*4]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
inc esi
add esp, 4
cmp esi, dword [0x101117c8]
jl 0x100257a0
mov ecx, dword [0x101117d0]
test ecx, ecx
je 0x100257f9
mov eax, dword [0x1003f068]
mov dword [0x101117cc], 0
mov dword [0x101117c8], 0
push ecx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 4
mov dword [0x101117d0], 0
mov esi, dword [0x1003f068]
mov eax, dword [esi + 0x1730]
mov byte [eax + 0x72], 1
mov esi, dword [esi + 0x1730]
call fcn.1000fcc0
test dword [esi + 8], 0x4000000
jne 0x10025827
mov ecx, 1
call fcn.10010920
mov al, byte [ebp - 0x271]
mov ecx, dword [0x1003f068]
test al, al
je 0x10025863
cmp byte [ecx + 0x2c60], 0
jne 0x10025863
mov eax, dword [ecx + 0x1730]
mov byte [ecx + 0x2c60], 1
mov dword [ecx + 0x2c64], 0
mov eax, dword [eax + 0xe8]
mov dword [ecx + 0x2c6c], eax
xor esi, esi
cmp dword [0x101117c8], esi
jle 0x1002588f
nop dword [eax]
mov eax, dword [0x101117d0]
push dword [eax + esi*4]
call fcn.10025000
inc esi
add esp, 4
cmp esi, dword [0x101117c8]
jl 0x10025870
mov ecx, dword [0x1003f068]
cmp byte [ebp - 0x271], 0
je 0x100258a3
call fcn.100119d0
mov ecx, dword [0x1003f068]
cmp byte [0x1011183d], 0
jne 0x100258d8
cmp byte [0x1011183e], 0
je 0x10025951
mov eax, dword [ecx + 0x1730]
movss xmm0, dword [eax + 0x30]
subss xmm0, dword [eax + 0x28]
movss xmm1, dword [eax + 0x4c]
subss xmm0, dword [eax + 0x68]
comiss xmm1, xmm0
jb 0x10025951
mov eax, dword [ecx + 0x1730]
xorps xmm2, xmm2
movss xmm0, dword [ecx + 0x13f0]
mulss xmm0, dword [0x1003b480]
movss xmm1, dword [eax + 0xd0]
mulss xmm1, xmm2
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [eax + 0xb0]
subss xmm0, dword [eax + 0x18]
mov byte [eax + 0x72], 1
mov ecx, dword [ecx + 0x1730]
addss xmm1, xmm0
movss xmm0, dword [ecx + 0x4c]
addss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [ecx + 0x40]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
movss dword [ecx + 0x54], xmm1
jb 0x1002594a
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x5c], 0
mov byte [0x1011183d], 0
call fcn.1000cff0
call fcn.10017420
mov eax, dword [0x10112370]
mov dword [ebp - 0x124], 0xace6f4ac
mov dword [ebp - 0x120], 0xf4acc4f5
mov word [ebp - 0x11c], 0x4ccb
cmp eax, dword [edi + 4]
jle 0x100259d9
push 0x10112370
call fcn.10031abc
add esp, 4
cmp dword [0x10112370], 0xffffffff
jne 0x100259d9
movq xmm0, qword [ebp - 0x124]
mov ax, word [ebp - 0x11c]
push 0x10033e70
movq qword [0x10112394], xmm0
mov word [0x1011239c], ax
call fcn.10031ee1
add esp, 4
push 0x10112370
call fcn.10031a72
add esp, 4
mov al, byte [0x1011239d]
test al, al
je 0x10025a28
xor byte [0x10112394], 0x4c
xor byte [0x10112395], 0x4c
xor byte [0x10112396], 0x4c
xor byte [0x10112397], 0x4c
xor byte [0x10112398], 0x4c
xor byte [0x10112399], 0x4c
xor byte [0x1011239a], 0x4c
xor byte [0x1011239b], 0x4c
xor byte [0x1011239c], 0x4c
xor al, 0x4c
mov byte [0x1011239d], al
sub esp, 8
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], 0
mov edx, 0x10111940
mov ecx, 0x10112394
push 0xe0
push eax
push 0x100
call fcn.100148e0
add esp, 0x14
test al, al
je 0x10025f34
mov ecx, 0x10111940
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025a72
sub ecx, edx
lea eax, [ecx + 0x10111940]
cmp eax, 0x10111940
jbe 0x10025a96
cmp byte [eax - 1], 0x20
jne 0x10025a96
dec eax
cmp eax, 0x10111940
ja 0x10025a88
mov byte [eax], 0
cmp byte [0x10111940], 0x2f
jne 0x10025b6d
mov ecx, 0x10111940
call fcn.10025f60
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x10111941]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x119], al
test al, al
jne 0x10025ad0
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025af0
sub ecx, edx
xor eax, eax
test ecx, ecx
jle 0x10025b15
nop
mov dl, byte [ebp + eax - 0x118]
cmp dl, 0x20
je 0x10025b15
test dl, dl
je 0x10025b15
inc eax
cmp eax, ecx
jl 0x10025b00
lea edi, [ebp - 0x117]
add edi, eax
cmp eax, 0x100
jae 0x10025f57
xor esi, esi
mov byte [ebp + eax - 0x118], 0
cmp dword [0x101117e0], esi
jle 0x10025b66
nop word [eax + eax]
mov eax, dword [0x101117e8]
lea ecx, [ebp - 0x118]
mov edx, dword [eax + esi*4]
mov edx, dword [edx]
call fcn.10024710
test eax, eax
je 0x10025c9c
inc esi
cmp esi, dword [0x101117e0]
jl 0x10025b40
mov byte [0x1011183d], 1
mov ecx, 0x10111940
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025b75
sub ecx, edx
lea eax, [ecx + 0x10111940]
cmp eax, 0x10111940
jbe 0x10025b9e
nop dword [eax + eax]
cmp byte [eax - 1], 0x20
jne 0x10025b9e
dec eax
cmp eax, 0x10111940
ja 0x10025b90
mov byte [eax], 0
cmp byte [0x10111940], 0x2f
jne 0x10025d24
mov edx, 0x10111940
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10025bb6
sub edx, esi
je 0x10025f01
mov ecx, 0x10111940
call fcn.10005eb0
push 0x114
mov edi, eax
lea eax, [ebp - 0x270]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x25f]
mov dword [ebp - 0x270], 0
add esp, 0xc
mov dword [ebp - 0x26c], 0x800
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 1
mov esi, edi
mov dword [ebp - 4], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10025c24
sub esi, ecx
lea ecx, [ebp - 0x270]
push esi
call fcn.10030920
test esi, esi
je 0x10025cc0
test byte [ebp - 0x270], 7
lea eax, [esi*8]
jne 0x10025cb2
push eax
lea ecx, [ebp - 0x270]
call fcn.10004e20
mov eax, dword [ebp - 0x270]
add eax, 7
push esi
sar eax, 3
add eax, dword [ebp - 0x264]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x270]
add esp, 0xc
lea eax, [eax + esi*8]
mov dword [ebp - 0x270], eax
jmp 0x10025cc0
mov al, byte [ebp - 0x271]
mov byte [ebp - 0x271], al
jmp 0x1002582d
mov eax, dword [0x101117e8]
push edi
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
call eax
add esp, 4
jmp 0x10025b6d
push ecx
push eax
push edi
lea ecx, [ebp - 0x270]
call fcn.10004cd0
mov eax, dword [0x10041178]
lea edx, [ebp - 0x270]
push 0
push 0
push 8
mov ecx, dword [eax + 0x25]
push 1
mov dword [ebp - 0x128], 0x32
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x128]
push edx
call dword [eax + 0x64]
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x260], 0
je 0x10025d18
cmp dword [ebp - 0x26c], 0x800
jle 0x10025d18
push dword [ebp - 0x264]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [0x1011183d], 1
jmp 0x10025ef1
mov ecx, 0x10111940
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025d30
sub ecx, edx
je 0x10025f01
mov ecx, 0x10111940
call fcn.10005eb0
push 0x114
mov edi, eax
mov byte [0x1011183d], 1
lea eax, [ebp - 0x270]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x25f]
mov dword [ebp - 0x270], 0
add esp, 0xc
mov dword [ebp - 0x26c], 0x800
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 1
mov ecx, edi
mov dword [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025da5
sub ecx, edx
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x270]
push 8
call fcn.10004e20
mov esi, dword [ebp - 0x270]
mov eax, esi
mov ecx, dword [ebp - 0x120]
and eax, 7
mov dword [ebp - 0x128], eax
jne 0x10025de8
mov eax, dword [ebp - 0x264]
sar esi, 3
mov byte [esi + eax], cl
jmp 0x10025e29
mov edx, dword [ebp - 0x264]
mov al, cl
mov cl, byte [ebp - 0x128]
shr al, cl
mov ecx, 8
sub ecx, dword [ebp - 0x128]
sar esi, 3
or byte [esi + edx], al
cmp ecx, 8
jge 0x10025e29
mov dl, byte [ebp - 0x120]
mov eax, dword [ebp - 0x264]
shl dl, cl
mov ecx, dword [ebp - 0x270]
sar ecx, 3
mov byte [ecx + eax + 1], dl
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x120]
add ecx, 8
mov dword [ebp - 0x270], ecx
movzx esi, al
test al, al
je 0x10025e99
lea eax, [esi*8]
test cl, 7
jne 0x10025e8b
push eax
lea ecx, [ebp - 0x270]
call fcn.10004e20
mov eax, dword [ebp - 0x270]
add eax, 7
push esi
sar eax, 3
add eax, dword [ebp - 0x264]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x270]
add esp, 0xc
lea eax, [eax + esi*8]
mov dword [ebp - 0x270], eax
jmp 0x10025e99
push ecx
push eax
push edi
lea ecx, [ebp - 0x270]
call fcn.10004cd0
mov eax, dword [0x10041178]
lea edx, [ebp - 0x270]
push 0
push 0
push 8
mov ecx, dword [eax + 0x25]
push 1
mov dword [ebp - 0x128], 0x65
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x128]
push edx
call dword [eax + 0x64]
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x260], 0
je 0x10025ef1
cmp dword [ebp - 0x26c], 0x800
jle 0x10025ef1
push dword [ebp - 0x264]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, edi
call fcn.10025f60
push edi
call fcn.10031f3d
add esp, 4
mov ecx, dword [0x1003f068]
mov byte [0x10111940], 0
mov eax, dword [ecx + 0x1730]
mov byte [eax + 0x72], 1
mov ecx, dword [ecx + 0x1730]
mov eax, dword [ecx + 0x268]
mov dword [ecx + 0x278], eax
mov dword [ecx + 0x27c], 0x7fffffff
call fcn.1000fcc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10031912
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100321d5
int3