Function at 0x10024e20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006286c
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x60], ecx
cmp dword [0x10077f2c], 0
mov dword [ebp - 4], 0
je 0x100253a9
cmp byte [0x10077580], 0
je 0x100253a9
lea ebx, [eax + 0x10]
mov ecx, 0xa
mov dword [ebp - 0x68], ebx
mov esi, ebx
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi]
test eax, eax
je 0x10024eaa
push 0
push eax
call fcn.10012be0
mov ecx, dword [ebp - 0x2c]
add esp, 8
add esi, 4
sub ecx, 1
mov dword [ebp - 0x2c], ecx
jne 0x10024e96
mov esi, dword [ebp - 0x3c]
mov ecx, dword [esi + 4]
call dword [0x10077584]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov ax, word [ecx]
cmp ax, word [edx]
jb 0x10025014
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jb 0x10025014
mov ax, word [ecx + 4]
cmp ax, word [edx + 4]
jb 0x10025014
mov ax, word [ecx + 6]
cmp ax, word [edx + 6]
jb 0x10025014
push dword [ebx]
call fcn.100125e0
push dword [esi + 0xc]
mov edi, edx
call fcn.100125e0
push dword [ebx]
mov esi, eax
call fcn.100125b0
add eax, edi
push eax
push esi
mov esi, dword [ebp - 0x3c]
push dword [esi + 0xc]
call fcn.10012ab0
add esp, 0x18
mov byte [ebp - 0x29], 0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dl, 0x17
mov byte [ebp - 0x29], 0
cmovae eax, dword [ebp + 8]
mov cl, 0x64
push eax
mov al, 0x32
mov byte [ebp - 0x2c], dl
xor al, dl
sub esp, 0x18
xor cl, dl
mov byte [ebp - 0x2b], al
mov byte [ebp - 0x2a], cl
lea eax, [ebp - 0x2b]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x84]
push eax
call fcn.100322e0
push eax
push dword [esi + 8]
mov byte [ebp - 4], 1
call fcn.100136d0
add esp, 0x28
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.10001840
movaps xmm0, xmmword [0x100699b0]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x6e677b66
mov dword [ebp - 0x70], 0x2a6e7f
nop word [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x16
jb 0x10024fb0
sub esp, 0x18
mov byte [ebp - 0x6d], 0
lea eax, [ebp - 0x83]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0xa4]
push eax
call fcn.100322e0
push eax
push dword [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.100136d0
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10001840
push 1
push dword [ebx]
call fcn.10012be0
add esp, 8
jmp 0x1002539e
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dl, 0x75
mov byte [ebp - 0x29], 0
cmovae eax, dword [ebp + 8]
mov cl, 6
push eax
mov byte [ebp - 0x2c], dl
mov al, 0x50
xor al, dl
mov byte [ebp - 0x29], 0
xor cl, dl
mov byte [ebp - 0x2b], al
sub esp, 0x18
mov byte [ebp - 0x2a], cl
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10025058
mov eax, dword [edx]
jmp 0x1002505a
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x10025067
xor ecx, ecx
jmp 0x1002507c
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025070
sub ecx, esi
mov esi, dword [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x84]
push eax
call fcn.100322e0
push eax
push dword [esi + 8]
mov byte [ebp - 4], 3
call fcn.100136d0
mov eax, dword [ebp - 0x70]
add esp, 0x28
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x100250c2
inc eax
push 1
push eax
push dword [ebp - 0x84]
call fcn.10002610
add esp, 0xc
sub dword [ebp - 0x60], edi
sub dword [ebp - 0x64], edi
mov dword [ebp - 0x2c], 4
nop
movzx eax, word [edi]
test ax, ax
je 0x10025388
push eax
call fcn.10007ff0
mov cl, 0x7c
mov byte [ebp - 0x54], 0
mov esi, eax
mov byte [ebp - 0x54], 0
mov ah, 0x12
mov dword [ebp - 0x14], 0xf
mov bl, cl
mov byte [ebp - 0x5c], ah
mov al, 0x47
mov dword [ebp - 0x18], 0
mov bh, bl
mov byte [ebp - 0x28], 0
mov dl, 0x79
mov ch, 0x7d
mov dh, 0x65
xor al, ah
xor cl, ah
mov byte [ebp - 0x5b], al
xor dl, ah
mov byte [ebp - 0x5a], cl
xor bl, ah
mov byte [ebp - 0x59], dl
xor ch, ah
mov byte [ebp - 0x58], bl
xor dh, ah
mov byte [ebp - 0x57], ch
xor bh, ah
mov byte [ebp - 0x56], dh
add esp, 4
mov byte [ebp - 0x55], bh
test al, al
jne 0x1002513f
xor ecx, ecx
jmp 0x1002514e
lea ecx, [ebp - 0x5b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025145
sub ecx, edx
push ecx
lea eax, [ebp - 0x5b]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002800
mov byte [ebp - 4], 4
test esi, esi
je 0x10025180
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x10025243
push 0xffffffffffffffff
push 0
push eax
call fcn.100026e0
jmp 0x10025243
cmp word [edi], 1
jne 0x10025243
mov esi, dword [0x10077f2c]
mov ecx, esi
call fcn.1001a560
cmp byte [esi + 0x34], 1
jne 0x100251ea
mov byte [ebp - 0x48], 0x28
mov al, 0x6d
xor al, byte [ebp - 0x48]
mov dl, 8
mov dh, 0x49
mov byte [ebp - 0x47], al
mov al, byte [ebp - 0x48]
mov cl, 0x44
mov bl, 0x65
mov byte [ebp - 0x3f], 0
mov ah, 0x47
mov byte [ebp - 0x3f], 0
mov ch, 0x5a
xor dl, al
xor dh, al
mov byte [ebp - 0x45], dl
mov bh, 0x4c
mov byte [ebp - 0x41], dh
xor cl, al
lea edx, [ebp - 0x47]
xor bl, al
mov byte [ebp - 0x46], cl
xor ah, al
mov byte [ebp - 0x44], bl
xor ch, al
mov byte [ebp - 0x43], ah
xor bh, al
mov byte [ebp - 0x42], ch
mov byte [ebp - 0x40], bh
jmp 0x1002521d
mov ch, 0x6a
mov byte [ebp - 0x4a], 0
mov dl, 0x18
mov byte [ebp - 0x50], ch
mov al, 0x21
mov byte [ebp - 0x4a], 0
mov cl, 0xb
mov bl, 0x1f
xor dl, ch
mov ah, 0x19
xor al, ch
mov byte [ebp - 0x4d], dl
xor cl, ch
mov byte [ebp - 0x4f], al
xor bl, ch
mov byte [ebp - 0x4e], cl
xor ah, ch
mov byte [ebp - 0x4c], bl
mov byte [ebp - 0x4b], ah
lea edx, [ebp - 0x4f]
cmp byte [edx], 0
jne 0x10025226
xor eax, eax
jmp 0x10025239
mov eax, edx
lea esi, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025230
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10002800
mov eax, dword [ebp - 0x60]
mov dl, 0x55
cmp dword [ebp - 0x14], 0x10
mov cl, 6
mov byte [ebp - 0x38], 0x75
mov ch, 0x5a
mov byte [ebp - 0x2f], 0
movzx eax, word [eax + edi]
push eax
mov eax, dword [ebp - 0x64]
mov byte [ebp - 0x2f], 0
movzx eax, word [eax + edi]
push eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov al, 0x50
mov ah, 0x11
mov bl, al
sub esp, 0x18
xor al, byte [ebp - 0x38]
mov dh, bl
mov byte [ebp - 0x37], al
mov bh, ah
mov al, byte [ebp - 0x38]
xor dl, al
xor dh, al
mov byte [ebp - 0x35], dl
xor cl, al
mov byte [ebp - 0x31], dh
xor bl, al
mov edx, esp
mov byte [ebp - 0x36], cl
xor ah, al
mov byte [ebp - 0x34], bl
xor ch, al
mov byte [ebp - 0x33], ah
xor bh, al
mov byte [ebp - 0x32], ch
mov byte [ebp - 0x30], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100252c4
mov eax, dword [edx]
jmp 0x100252c6
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x100252d3
xor ecx, ecx
jmp 0x100252e9
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100252e0
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x84]
push eax
call fcn.100322e0
mov ebx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
push dword [ebx + 0x28]
call fcn.100136d0
mov eax, dword [ebp - 0x70]
add esp, 0x30
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x10025332
inc eax
push 1
push eax
push dword [ebp - 0x84]
call fcn.10002610
add esp, 0xc
push dword [ebx]
call fcn.100125e0
mov eax, dword [ebp - 0x3c]
mov edi, edx
push dword [eax + 0xc]
call fcn.100125e0
push dword [ebx]
mov esi, eax
call fcn.100125b0
add eax, edi
push eax
push esi
mov esi, dword [ebp - 0x3c]
push dword [esi + 0xc]
call fcn.10012ab0
push 1
push dword [ebx]
call fcn.10012be0
mov eax, dword [ebp - 0x14]
add esp, 0x20
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10025385
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov edi, dword [ebp - 0x6c]
add ebx, 4
add edi, 2
sub dword [ebp - 0x2c], 1
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], edi
jne 0x100250d0
mov ecx, dword [esi + 4]
push 1
call dword [0x10077588]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x100253f7
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x1000
jb 0x100253ee
test cl, 0x1f
je 0x100253c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x100253d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x100253e1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x100253ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.1005f686
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret 0x24