Function at 0x10024ca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100618fc
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10075604]
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 [0x10075f2c], 0
mov dword [ebp - 4], 0
je 0x10025229
cmp byte [0x10075580], 0
je 0x10025229
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 0x10024d2a
push 0
push eax
call fcn.10012b10
mov ecx, dword [ebp - 0x2c]
add esp, 8
add esi, 4
sub ecx, 1
mov dword [ebp - 0x2c], ecx
jne 0x10024d16
mov esi, dword [ebp - 0x3c]
mov ecx, dword [esi + 4]
call dword [0x10075584]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov ax, word [ecx]
cmp ax, word [edx]
jb 0x10024e94
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jb 0x10024e94
mov ax, word [ecx + 4]
cmp ax, word [edx + 4]
jb 0x10024e94
mov ax, word [ecx + 6]
cmp ax, word [edx + 6]
jb 0x10024e94
push dword [ebx]
call fcn.10012510
push dword [esi + 0xc]
mov edi, edx
call fcn.10012510
push dword [ebx]
mov esi, eax
call fcn.100124e0
add eax, edi
push eax
push esi
mov esi, dword [ebp - 0x3c]
push dword [esi + 0xc]
call fcn.100129e0
add esp, 0x18
mov byte [ebp - 0x29], 0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dl, 0x4b
mov byte [ebp - 0x29], 0
cmovae eax, dword [ebp + 8]
mov cl, 0x38
push eax
mov al, 0x6e
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.10031980
push eax
push dword [esi + 8]
mov byte [ebp - 4], 1
call fcn.10013630
add esp, 0x28
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.10001840
movaps xmm0, xmmword [0x100689a0]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x2d243825
mov dword [ebp - 0x70], 0x692d3c
nop word [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x16
jb 0x10024e30
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.10031980
push eax
push dword [esi + 0x38]
mov byte [ebp - 4], 2
call fcn.10013630
add esp, 0x24
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.10001840
push 1
push dword [ebx]
call fcn.10012b10
add esp, 8
jmp 0x1002521e
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dl, 0x2a
mov byte [ebp - 0x29], 0
cmovae eax, dword [ebp + 8]
mov cl, 0x59
push eax
mov byte [ebp - 0x2c], dl
mov al, 0xf
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 0x10024ed8
mov eax, dword [edx]
jmp 0x10024eda
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x10024ee7
xor ecx, ecx
jmp 0x10024efc
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024ef0
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.10031980
push eax
push dword [esi + 8]
mov byte [ebp - 4], 3
call fcn.10013630
mov eax, dword [ebp - 0x70]
add esp, 0x28
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10024f42
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 0x10025208
push eax
call fcn.10007f60
mov cl, 0x44
mov byte [ebp - 0x54], 0
mov esi, eax
mov byte [ebp - 0x54], 0
mov ah, 0x2a
mov dword [ebp - 0x14], 0xf
mov bl, cl
mov byte [ebp - 0x5c], ah
mov al, 0x7f
mov dword [ebp - 0x18], 0
mov bh, bl
mov byte [ebp - 0x28], 0
mov dl, 0x41
mov ch, 0x45
mov dh, 0x5d
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 0x10024fbf
xor ecx, ecx
jmp 0x10024fce
lea ecx, [ebp - 0x5b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024fc5
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 0x10025000
lea eax, [esi + 4]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x100250c3
push 0xffffffffffffffff
push 0
push eax
call fcn.100026e0
jmp 0x100250c3
cmp word [edi], 1
jne 0x100250c3
mov esi, dword [0x10075f2c]
mov ecx, esi
call fcn.1001a500
cmp byte [esi + 0x34], 1
jne 0x1002506a
mov byte [ebp - 0x48], 0x40
mov al, 5
xor al, byte [ebp - 0x48]
mov dl, 0x60
mov dh, 0x21
mov byte [ebp - 0x47], al
mov al, byte [ebp - 0x48]
mov cl, 0x2c
mov bl, 0xd
mov byte [ebp - 0x3f], 0
mov ah, 0x2f
mov byte [ebp - 0x3f], 0
mov ch, 0x32
xor dl, al
xor dh, al
mov byte [ebp - 0x45], dl
mov bh, 0x24
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 0x1002509d
mov ch, 0x62
mov byte [ebp - 0x4a], 0
mov dl, 0x10
mov byte [ebp - 0x50], ch
mov al, 0x29
mov byte [ebp - 0x4a], 0
mov cl, 3
mov bl, 0x17
xor dl, ch
mov ah, 0x11
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 0x100250a6
xor eax, eax
jmp 0x100250b9
mov eax, edx
lea esi, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100250b0
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10002800
mov eax, dword [ebp - 0x60]
mov dl, 7
cmp dword [ebp - 0x14], 0x10
mov cl, 0x54
mov byte [ebp - 0x38], 0x27
mov ch, 8
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, 2
mov ah, 0x43
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 0x10025144
mov eax, dword [edx]
jmp 0x10025146
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10025153
xor ecx, ecx
jmp 0x10025169
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10025160
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.10031980
mov ebx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
push dword [ebx + 0x28]
call fcn.10013630
mov eax, dword [ebp - 0x70]
add esp, 0x30
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x100251b2
inc eax
push 1
push eax
push dword [ebp - 0x84]
call fcn.10002610
add esp, 0xc
push dword [ebx]
call fcn.10012510
mov eax, dword [ebp - 0x3c]
mov edi, edx
push dword [eax + 0xc]
call fcn.10012510
push dword [ebx]
mov esi, eax
call fcn.100124e0
add eax, edi
push eax
push esi
mov esi, dword [ebp - 0x3c]
push dword [esi + 0xc]
call fcn.100129e0
push 1
push dword [ebx]
call fcn.10012b10
mov eax, dword [ebp - 0x14]
add esp, 0x20
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10025205
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 0x10024f50
mov ecx, dword [esi + 4]
push 1
call dword [0x10075588]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x10025277
mov ecx, dword [ebp + 8]
inc eax
cmp eax, 0x1000
jb 0x1002526e
test cl, 0x1f
je 0x10025247
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 0x10025254
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x10025261
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x1002526c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.1005e746
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.1005e77e
mov esp, ebp
pop ebp
ret 0x24