Function at 0x10024740
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 0x100d9d9e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x520
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c8], esi
mov eax, dword [ebx + 8]
mov ecx, dword [esi]
mov dword [ebp - 0x4cc], eax
mov eax, dword [0x1013314c]
mov edx, dword [ecx + eax]
mov eax, dword [0x1013313c]
mov dword [ebp - 0x4d4], edx
movss xmm0, dword [eax + ecx]
ucomiss xmm0, dword [esi + 4]
lahf
test ah, 0x44
jnp 0x100247ca
mov ecx, edx
call fcn.10022e70
mov eax, dword [0x1013313c]
mov ecx, dword [esi]
mov eax, dword [eax + ecx]
mov dword [esi + 4], eax
mov eax, dword [0x10133014]
movss xmm0, dword [eax + 0x10]
mov edx, dword [eax + 4]
movss dword [ebp - 0x500], xmm0
movss xmm0, dword [eax]
movss dword [ebp - 0x504], xmm0
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0x508], xmm0
movss xmm0, dword [eax + 8]
movss dword [ebp - 0x50c], xmm0
movss xmm0, dword [eax + 0x24]
mov dword [ebp - 0x510], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [0x10133190]
add eax, 0xffffffdb
movss dword [ebp - 0x4d8], xmm0
xor eax, 0xe282ef53
mov dword [ebp - 0x514], edx
movss xmm0, dword [eax + ecx]
movss dword [ebp - 0x368], xmm0
movss xmm0, dword [eax + ecx + 4]
movss dword [ebp - 0x364], xmm0
movss xmm0, dword [eax + ecx + 8]
movss dword [ebp - 0x360], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov esi, dword [esi]
lea edi, [ebp - 0x328]
mov ecx, 0xc3
movss xmm0, dword [eax]
movss dword [ebp - 0x35c], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x358], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x10133198]
add eax, 0xffffffd9
movss dword [ebp - 0x354], xmm0
xor eax, 0xe282ef55
movss xmm0, dword [eax + esi]
movss dword [ebp - 0x350], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [ebp - 0x34c], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x101331c8]
add eax, 0xffffffcd
movss dword [ebp - 0x348], xmm0
xor eax, 0xe282ef61
movss xmm0, dword [eax + esi]
movss dword [ebp - 0x344], xmm0
movss xmm0, dword [eax + esi + 4]
movss dword [ebp - 0x340], xmm0
movss xmm0, dword [eax + esi + 8]
mov eax, dword [0x101331d0]
add eax, 0xffffffcb
movss dword [ebp - 0x33c], xmm0
xor eax, 0xe282ef63
mov eax, dword [eax + esi]
mov dword [ebp - 0x338], eax
mov eax, dword [0x10133260]
add eax, 0xffffffa7
xor eax, 0xe282ef87
mov eax, dword [eax + esi]
mov dword [ebp - 0x334], eax
mov eax, dword [0x10133200]
add eax, 0xffffffbf
xor eax, 0xe282ef6f
movss xmm0, dword [eax + esi]
mov eax, dword [0x1013320c]
add eax, 0xffffffbc
movss dword [ebp - 0x330], xmm0
xor eax, 0xe282ef72
movss xmm0, dword [eax + esi]
mov eax, dword [0x10133138]
movss dword [ebp - 0x32c], xmm0
mov esi, dword [esi + eax]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x4c8]
cmp dword [esi + 0x18], 1
jbe 0x100249a6
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
inc edx
mov eax, edx
dec ecx
shr eax, 1
and edx, 1
and ecx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
mov dword [ebp - 0x4dc], eax
test eax, eax
je 0x100249b0
cmp byte [eax + 0x10], 0
jne 0x100249a6
cmp byte [eax + 0x3f4], 0
jne 0x100249b0
mov dword [ebp - 0x4dc], 0
mov eax, dword [0x10133014]
mov edi, dword [ebp - 0x4cc]
mov ecx, dword [edi + 0x42c]
mov dword [eax + 0x10], ecx
mov eax, dword [0x10133014]
mov ecx, dword [edi + 0x42c]
mov dword [eax], ecx
mov ecx, dword [0x10133014]
movss xmm0, dword [edi + 0x42c]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x100e65ac]
cvttss2si eax, xmm0
mov dword [ecx + 4], eax
mov ecx, dword [0x10133014]
movss xmm0, dword [edi + 0x42c]
divss xmm0, dword [ecx + 0x20]
addss xmm0, dword [0x100e65ac]
cvttss2si eax, xmm0
mov dword [ecx + 0x1c], eax
mov ecx, dword [0x10133014]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x14], eax
mov ecx, dword [0x10133014]
mov eax, dword [ecx + 0x20]
mov dword [ecx + 8], eax
mov eax, dword [0x10133014]
mov dword [eax + 0x24], 0
mov ecx, dword [esi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x10132fb8]
lea esi, [ebp - 0x4c0]
push esi
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
call edx
mov esi, dword [ebp - 0x4c8]
neg al
mov dword [edi + 0x420], 0
sbb al, al
mov byte [edi + 0x424], 0
and al, byte [ebp - 0x384]
test byte [edi + 0x1c], 1
mov byte [ebp - 0x4c1], al
je 0x10024a96
mov eax, dword [ebp - 0x4d4]
mov word [eax + 0x108], 1
mov eax, dword [edi + 0xc]
dec eax
cmp eax, 0xe
ja 0x10024ab7
cmp dword [esi + 0x18], 2
jb 0x10024ab7
push dword [ebp - 0x4dc]
mov ecx, dword [esi]
mov edx, edi
call fcn.100240b0
add esp, 4
mov ecx, dword [0x101331d0]
mov eax, dword [esi]
add ecx, 0xffffffcb
xor ecx, 0xe282ef63
test byte [ecx + eax], 1
jne 0x10024b14
mov ecx, dword [0x10133060]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x4cc], eax
call dword [ebp - 0x4cc]
movss xmm0, dword [edi + 0x40]
fstp dword [ebp - 0x4cc]
cvttss2si eax, dword [ebp - 0x4cc]
movd xmm1, eax
mov eax, dword [0x10133014]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
movss dword [edi + 0x40], xmm0
jmp 0x10024b1b
mov dword [edi + 0x40], 0
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3e8], eax
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x3ec], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x3f0], eax
mov eax, dword [edi + 0xc]
cmp eax, 1
jle 0x10024d8c
cmp byte [ebp - 0x4c1], 0
jne 0x10024d8c
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x38]
movss xmm2, dword [edi + 0x40]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.10022700
comiss xmm0, dword [0x100e65d4]
jbe 0x10024bc8
cmp eax, 0xc
jl 0x10024bc8
movss xmm0, dword [edi + 0x36c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024bc8
movss xmm0, dword [edi + 0x204]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10024bc8
movss xmm0, dword [0x100e6504]
comiss xmm0, dword [edi + 0x20c]
jbe 0x10024bc8
test byte [edi + 0x1c], 1
je 0x10024bc8
mov byte [edi + 0x424], 1
cmp byte [edi + 0x424], 0
je 0x10024c04
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3e8], 0
mov dword [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
cmp dword [esi + 0x18], 2
jb 0x10024d8c
mov edx, dword [esi + 0x14]
lea eax, [esi + 8]
mov ecx, dword [esi + 0x10]
inc edx
mov dword [ebp - 0x4d0], eax
dec ecx
mov eax, edx
and edx, 1
shr eax, 1
and ecx, eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + edx*8]
test edx, edx
je 0x10024d8c
cmp byte [edx + 0x10], 0
jne 0x10024d8c
movss xmm2, dword [edi + 0x20]
subss xmm2, dword [edx + 0x20]
movss xmm4, dword [0x100e677c]
movss xmm0, dword [edi + 0x24]
movss xmm1, dword [edi + 0x28]
subss xmm0, dword [edx + 0x24]
comiss xmm2, xmm4
subss xmm1, dword [edx + 0x28]
jbe 0x10024cc2
movss xmm3, dword [0x100e6524]
comiss xmm3, xmm2
jbe 0x10024cc2
comiss xmm0, xmm4
jbe 0x10024cc2
comiss xmm3, xmm0
jbe 0x10024cc2
comiss xmm1, xmm4
jbe 0x10024cc2
comiss xmm3, xmm1
jbe 0x10024cc2
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x3e8], 0
mov dword [edi + 0x3ec], 0
mov dword [edi + 0x3f0], 0
mov cl, byte [edi + 0x1c]
movss xmm1, dword [edi + 0x198]
and cl, 1
movss xmm0, dword [0x100e65ac]
comiss xmm0, xmm1
jbe 0x10024d1c
test byte [edi + 0x1c], 1
je 0x10024ce9
test byte [edx + 0x1c], 1
jne 0x10024d1c
movss xmm0, dword [edi + 0x194]
divss xmm0, xmm1
movss xmm1, dword [edi + 0x14]
subss xmm1, xmm0
comiss xmm1, dword [edx + 0x14]
setae al
test al, al
je 0x10024d1c
movss xmm0, dword [edi + 0x42c]
comiss xmm0, xmm1
jae 0x10024d20
mov cl, byte [edx + 0x1c]
and cl, 1
test cl, cl
je 0x10024d37
mov ecx, dword [0x101331d0]
mov eax, dword [esi]
add ecx, 0xffffffcb
xor ecx, 0xe282ef63
or dword [ecx + eax], 1
jmp 0x10024d4c
mov ecx, dword [0x101331d0]
mov eax, dword [esi]
add ecx, 0xffffffcb
xor ecx, 0xe282ef63
and dword [ecx + eax], 0xfffffffe
movss xmm2, dword [edx + 0x78]
movss xmm0, dword [edi + 0x14]
movss xmm1, dword [edi + 0x78]
subss xmm0, dword [edx + 0x14]
subss xmm1, xmm2
mov eax, dword [0x10133014]
mov ecx, dword [0x10133200]
add ecx, 0xffffffbf
xor ecx, 0xe282ef6f
divss xmm1, xmm0
mulss xmm1, dword [eax + 0x20]
mov eax, dword [esi]
addss xmm2, xmm1
movss dword [ecx + eax], xmm2
xor edx, edx
nop
mov ecx, dword [esi]
mov eax, dword [0x10133138]
mov eax, dword [ecx + eax]
mov dword [edx + eax + 0x34], ecx
add edx, 0x3c
cmp edx, 0x30c
jl 0x10024d90
cmp byte [0x100f7800], 0
je 0x10024dcc
cmp byte [ebp - 0x4c1], 0
jne 0x10024dcc
push edi
push dword [esi]
mov byte [ebp - 0x4c1], 1
call fcn.100cd220
jmp 0x10024dd3
mov byte [ebp - 0x4c1], 0
mov ecx, dword [0x10133260]
mov eax, dword [esi]
add ecx, 0xffffffa7
xor ecx, 0xe282ef87
and dword [ecx + eax], 0xffffe7ff
mov ecx, dword [0x10133190]
mov eax, dword [edi + 0x20]
add ecx, 0xffffffdb
xor ecx, 0xe282ef53
add ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
mov edx, dword [0x101331c8]
movss xmm0, dword [edi + 0x3e8]
add edx, 0xffffffcd
xor edx, 0xe282ef61
add edx, dword [esi]
movss dword [edx], xmm0
mov eax, dword [edi + 0x3ec]
mov dword [edx + 4], eax
mov eax, dword [edi + 0x3f0]
mov dword [edx + 8], eax
mov ecx, dword [0x10133198]
add ecx, 0xffffffd9
xor ecx, 0xe282ef55
add ecx, dword [esi]
movss dword [ecx], xmm0
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ecx, dword [0x1013320c]
mov eax, dword [esi]
add ecx, 0xffffffbc
movss xmm0, dword [edi + 0x74]
xor ecx, 0xe282ef72
movss dword [ecx + eax], xmm0
mov ecx, dword [0x10133240]
mov eax, dword [edi + 0x5c]
add ecx, 0xffffffaf
xor ecx, 0xe282ef7f
add ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x64]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x4d4]
mov eax, dword [0x10133014]
mov edx, dword [ecx + 0x70]
cmp edx, dword [eax + 4]
jne 0x10024eb3
lea eax, [edx - 1]
mov dword [ecx + 0x70], eax
mov eax, dword [0x10138380]
test al, 1
jne 0x10025004
or eax, 1
mov dword [0x10138380], eax
push 0x100e3180
mov dword [ebp - 4], 0
call fcn.100d7f0c
movaps xmm0, xmmword [0x100e70f0]
add esp, 4
xorps xmm0, xmmword [0x100e7480]
mov eax, 0x10
mov dword [ebp - 0x4ec], 0xedf9e0e1
mov dword [ebp - 0x4e8], 0xe9eef9ee
mov byte [ebp - 0x4e4], 0xd9
movups xmmword [ebp - 0x4fc], xmm0
xor byte [ebp + eax - 0x4fc], 0xd9
inc eax
cmp eax, 0x19
jb 0x10024f11
xorps xmm0, xmm0
mov dword [ebp - 0x51c], 0
lea ecx, [ebp - 0x4fc]
mov dword [ebp - 0x518], 0
movups xmmword [ebp - 0x52c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024f46
sub ecx, edx
lea eax, [ebp - 0x4fc]
push ecx
push eax
lea ecx, [ebp - 0x52c]
call fcn.1002c3c0
mov byte [ebp - 4], 1
mov edx, dword [0x10132f7c]
test edx, edx
je 0x10024f75
mov edx, dword [edx + 0x50]
jmp 0x10024f77
xor edx, edx
mov eax, dword [0x10132f74]
test eax, eax
je 0x10024f85
mov eax, dword [eax + 0x18]
jmp 0x10024f87
xor eax, eax
lea ecx, [ebp - 0x52c]
push ecx
push eax
lea ecx, [ebp - 0x4cc]
call fcn.10022960
mov eax, dword [ebp - 0x4cc]
add esp, 8
test eax, eax
je 0x10024fac
add eax, 2
jmp 0x10024fae
xor eax, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x518]
mov dword [0x10138388], eax
mov dword [0x10138384], 0x10138388
cmp ecx, 0xf
jbe 0x10024ffd
mov edx, dword [ebp - 0x52c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10024ff3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10024ff3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d7f21
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c8]
mov ecx, dword [0x10133218]
mov esi, dword [0x10138384]
add ecx, 0xffffffb9
xor ecx, 0xe282ef75
mov eax, dword [edx]
mov esi, dword [esi]
mov byte [ecx + eax], 1
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x368]
call eax
mov ecx, dword [0x10133218]
mov eax, dword [ebp - 0x4c8]
add ecx, 0xffffffb9
xor ecx, 0xe282ef75
push 2
mov eax, dword [eax]
mov byte [ecx + eax], 0
mov eax, dword [0x10138384]
mov dword [eax], esi
mov esi, dword [ebp - 0x4c8]
mov eax, dword [0x10133108]
mov ecx, dword [esi]
call eax
mov eax, dword [0x10133108]
mov ecx, dword [esi]
push 8
call eax
mov eax, dword [0x10133108]
mov ecx, dword [esi]
push 0x10
call eax
mov eax, dword [0x10133108]
mov ecx, dword [esi]
push 0x20
call eax
cmp byte [ebp - 0x4c1], 0
je 0x1002509c
mov ecx, dword [esi]
add ecx, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [0x10133264]
add eax, 0xffffffa6
xor eax, 0xe282ef88
add eax, dword [esi]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x388], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x398], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x3a8], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [edi + 0x3b8], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [edi + 0x3c8], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [edi + 0x3d8], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movss xmm0, dword [ebp - 0x368]
mov ecx, dword [eax]
mov dword [edi + 0x68], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x6c], ecx
mov eax, dword [eax + 8]
mov dword [edi + 0x70], eax
mov eax, dword [0x10133190]
add eax, 0xffffffdb
xor eax, 0xe282ef53
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x364]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x360]
movss dword [eax + 8], xmm0
mov eax, dword [0x10133198]
movss xmm0, dword [ebp - 0x350]
add eax, 0xffffffd9
xor eax, 0xe282ef55
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x34c]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x348]
movss dword [eax + 8], xmm0
mov eax, dword [0x101331c8]
movss xmm0, dword [ebp - 0x344]
add eax, 0xffffffcd
xor eax, 0xe282ef61
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x340]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x33c]
movss dword [eax + 8], xmm0
mov edx, dword [0x101331d0]
mov ecx, dword [esi]
add edx, 0xffffffcb
mov eax, dword [ebp - 0x338]
xor edx, 0xe282ef63
mov dword [edx + ecx], eax
mov edx, dword [0x10133260]
mov ecx, dword [esi]
add edx, 0xffffffa7
mov eax, dword [ebp - 0x334]
xor edx, 0xe282ef87
mov dword [edx + ecx], eax
mov ecx, dword [0x10133200]
mov eax, dword [esi]
add ecx, 0xffffffbf
movss xmm0, dword [ebp - 0x330]
xor ecx, 0xe282ef6f
movss dword [ecx + eax], xmm0
mov edx, dword [0x1013320c]
mov eax, dword [esi]
add edx, 0xffffffbc
movss xmm0, dword [ebp - 0x32c]
xor edx, 0xe282ef72
movss dword [edx + eax], xmm0
mov eax, dword [0x101330cc]
mov ecx, dword [esi]
lea edx, [ebp - 0x35c]
push edx
call eax
mov eax, dword [esi]
mov ecx, 0xc3
mov edi, dword [0x10133138]
lea esi, [ebp - 0x328]
movss xmm0, dword [ebp - 0x500]
mov edi, dword [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x10133014]
mov ecx, dword [ebp - 0x510]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x10133014]
movss xmm0, dword [ebp - 0x504]
movss dword [eax], xmm0
mov eax, dword [0x10133014]
movss xmm0, dword [ebp - 0x508]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x10133014]
movss xmm0, dword [ebp - 0x50c]
movss dword [eax + 8], xmm0
mov eax, dword [0x10133014]
movss xmm0, dword [ebp - 0x4d8]
mov dword [eax + 4], ecx
mov eax, dword [0x10133014]
mov ecx, dword [ebp - 0x514]
mov dword [eax + 0x1c], ecx
mov eax, dword [0x10133014]
movss dword [eax + 0x24], xmm0
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.100d7aa6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4