Function at 0x10025ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004671d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10058014]
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 ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x10025f6a
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1005bd5c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1005bdbc]
cmp eax, dword [ecx + 4]
jle 0x10025f5f
push 0x1005bdbc
call fcn.1004207b
add esp, 4
cmp dword [0x1005bdbc], 0xffffffff
jne 0x10025f5f
push 0x10048ff0
mov dword [0x1005bdb0], 0x1005bdac
mov dword [0x1005bdac], 0x1004df4c
call fcn.10042798
push 0x1005bdbc
call fcn.10042031
add esp, 8
mov dword [ebx], 6
jmp 0x10026046
mov eax, dword [ebp + 0xc]
cmp eax, 8
jge 0x10025fd7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1005bd5c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1005bdbc]
cmp eax, dword [ecx + 4]
jle 0x10025fcf
push 0x1005bdbc
call fcn.1004207b
add esp, 4
cmp dword [0x1005bdbc], 0xffffffff
jne 0x10025fcf
push 0x10048ff0
mov dword [0x1005bdb0], 0x1005bdac
mov dword [0x1005bdac], 0x1004df4c
call fcn.10042798
push 0x1005bdbc
call fcn.10042031
add esp, 8
mov dword [ebx], 7
jmp 0x10026046
mov edx, dword [edi + 0x10]
cmp edx, 0x7d
jbe 0x10026086
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1005bd5c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1005bdbc]
cmp eax, dword [ecx + 4]
jle 0x10026040
push 0x1005bdbc
call fcn.1004207b
add esp, 4
cmp dword [0x1005bdbc], 0xffffffff
jne 0x10026040
push 0x10048ff0
mov dword [0x1005bdb0], 0x1005bdac
mov dword [0x1005bdac], 0x1004df4c
call fcn.10042798
push 0x1005bdbc
call fcn.10042031
add esp, 8
mov dword [ebx], 8
mov edi, dword [ebp + 0x18]
mov dword [ebx + 4], 0x1005bdac
test edi, edi
je 0x100262bb
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100262bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100262bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x100262bb
mov bl, byte [ecx + 5]
and al, 0xf
or al, 0x80
mov byte [ebp - 0x21], bl
xor cl, cl
mov byte [ebp - 0x28], al
test bl, bl
movzx eax, cl
mov ecx, 0x80
lea ebx, [esi + 0x38]
mov esi, dword [ebx + 0x10]
cmove eax, ecx
or al, dl
mov byte [ebp - 0x27], al
cmp edx, esi
ja 0x100260c4
mov dword [ebx + 0x10], edx
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x100260be
mov eax, dword [ebx]
mov byte [eax + edx], 0
jmp 0x1002610a
mov eax, dword [ebx + 0x14]
mov ecx, edx
sub ecx, esi
sub eax, esi
mov dword [ebp - 0x14], ecx
cmp ecx, eax
ja 0x100260f8
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
mov dword [ebx + 0x10], edx
jb 0x100260e1
mov eax, dword [ebx]
push ecx
add esi, eax
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x1002610a
push 0
push ecx
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.10014aa0
cmp byte [ebp - 0x21], 0
lea ecx, [ebp - 0x20]
mov eax, dword [edi + 0x10]
push 0
jne 0x100261d7
push 0
push eax
call fcn.10006140
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.10006250
add esp, 4
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x14]
add ecx, 8
cmp ecx, edx
je 0x10026157
cmp dword [edx + 0x14], 0x10
jb 0x1002614e
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.100110a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1002618d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026183
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10026183
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x14], 0
jb 0x1002619c
mov ebx, dword [ebx]
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x100261a8
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x100261b4
mov edi, dword [edi]
xor edx, edx
cmp edi, eax
je 0x10026273
sub ebx, edi
mov cl, byte [ebp + edx - 0x14]
inc edx
xor cl, byte [edi]
and edx, 3
mov byte [ebx + edi], cl
inc edi
cmp edi, eax
jne 0x100261c0
jmp 0x10026273
push eax
call fcn.10006110
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
call fcn.10006250
add esp, 4
mov edx, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x14]
add ecx, 8
cmp ecx, edx
je 0x10026210
cmp dword [edx + 0x14], 0x10
jb 0x10026207
mov eax, dword [edx]
push dword [edx + 0x10]
push eax
call fcn.100110a0
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x10026246
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002623c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002623c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100427b2
add esp, 8
cmp dword [ebx + 0x14], 0x10
jb 0x1002624e
mov ebx, dword [ebx]
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x1002625a
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x10026266
mov edi, dword [edi]
sub eax, edi
push eax
push edi
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
mov dword [eax + 0x50], ecx
mov eax, dword [ebp + 0x14]
mov byte [eax + 0x54], 1
mov edi, dword [ebp + 0x18]
mov dword [ebx], 0
mov dword [ebx + 4], 0x10058030
test edi, edi
je 0x100262bb
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100262bb
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100262bb
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
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.10041f5c
mov esp, ebp
pop ebp
ret 0x14