Function at 0x100023cd
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x10077890
call fcn.10040a5d
mov ebx, ecx
mov dword [ebp - 0x138], ebx
lea eax, [ebp - 0xd8]
push eax
call fcn.1003cf90
pop ecx
push 0
push 0x989680
push dword [eax + 4]
push dword [eax]
call fcn.10040c90
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp byte [ebx], 0
je 0x10002abe
cmp dword [0x100a6048], 0
je 0x10002ad5
mov cl, 0x79
mov dword [ebp - 0xd0], 0x15162a79
mov word [ebp - 0xcc], 0x16
xor eax, eax
xor byte [ebp + eax - 0xcf], cl
inc eax
cmp eax, 4
jae 0x1000244a
mov cl, byte [ebp - 0xd0]
jmp 0x10002435
lea eax, [ebp - 0xcf]
mov byte [ebp - 0xcb], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10004181
xor esi, esi
mov dword [ebp - 4], esi
mov al, byte [ebx + 1]
cmp al, 1
jne 0x1000251a
cmp byte [ebx + 3], 0
jne 0x100024cc
mov cl, 0x4a
mov dword [ebp - 0xe4], 0x382f074a
mov dword [ebp - 0xe0], 0x242b2229
xor eax, eax
mov word [ebp - 0xdc], 0x3e
xor byte [ebp + eax - 0xe3], cl
inc eax
cmp eax, 8
jae 0x100024ac
mov cl, byte [ebp - 0xe4]
jmp 0x10002497
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xdb], 0
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0xe3]
jmp 0x1000256e
cmp al, 1
jne 0x1000251a
cmp byte [ebx + 3], 0
jle 0x10002577
movaps xmm0, xmmword [0x10094fb0]
xor ecx, ecx
movups xmmword [ebp - 0x12c], xmm0
mov al, byte [ebp - 0x12c]
xor byte [ebp + ecx - 0x12b], al
inc ecx
cmp ecx, 0xe
jb 0x100024ea
lea eax, [ebp - 0x12b]
mov byte [ebp - 0x11d], 0
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0x12b]
jmp 0x1000256e
cmp byte [ebx + 3], 0
jle 0x10002577
mov cl, 0x35
mov dword [ebp - 0xd8], 0x47546535
mov word [ebp - 0xd4], 0x4c41
xor eax, eax
mov byte [ebp - 0xd2], 0
xor byte [ebp + eax - 0xd7], cl
inc eax
cmp eax, 5
jae 0x10002553
mov cl, byte [ebp - 0xd8]
jmp 0x1000253e
lea eax, [ebp - 0xd7]
mov byte [ebp - 0xd2], 0
push eax
call fcn.10004164
pop ecx
push eax
lea eax, [ebp - 0xd7]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040eb
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100033f8
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1000259b
mov eax, dword [eax]
push eax
mov cl, 0x21
mov dword [ebp - 0xf0], 0x1520421
mov dword [ebp - 0xec], 0x5204015d
xor eax, eax
mov byte [ebp - 0xe8], 0
xor byte [ebp + eax - 0xef], cl
inc eax
cmp eax, 7
jae 0x100025d0
mov cl, byte [ebp - 0xf0]
jmp 0x100025bb
sub esp, 0x18
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xef]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0xb8]
push eax
call fcn.10003c4b
add esp, 0x24
push 0
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.10004036
cmp byte [0x100a610a], 0
mov edi, dword [0x100a6048]
je 0x1000264c
mov ecx, 0x10b8134
call fcn.10010043
mov esi, eax
test esi, esi
je 0x1000264c
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x1000264c
push 4
add esi, 0x6e8
push esi
call ebx
test eax, eax
jne 0x1000264c
mov al, byte [esi]
mov byte [edi + 0x3c], al
cmp byte [0x100a610a], 0
movzx eax, byte [edi + 0x3c]
mov ebx, dword [0x100a6048]
push eax
je 0x100026ae
mov ecx, 0x10b8134
call fcn.10010043
mov esi, eax
test esi, esi
je 0x100026ae
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100026ae
push 4
lea edi, [esi + 0x6bc]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100026ae
cmp dword [esi + 0x6d0], 0x10
jb 0x1000269b
mov edi, dword [edi]
lea eax, [ebx + 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x100026a6
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
lea eax, [ebx + 0x20]
pop esi
cmp dword [eax + 0x14], esi
jb 0x100026bb
mov eax, dword [eax]
movaps xmm0, xmmword [0x10095be0]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], 0x1455504a
mov ecx, ebx
mov byte [ebp - 0x120], bl
mov al, byte [ebp - 0x134]
xor byte [ebp + ecx - 0x133], al
inc ecx
cmp ecx, 0x13
jb 0x100026de
sub esp, 0x18
mov byte [ebp - 0x120], bl
lea eax, [ebp - 0x133]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0xa0]
push eax
call fcn.10003c4b
add esp, 0x24
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 4
push eax
call fcn.10002adb
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], esi
jb 0x10002732
mov eax, dword [eax]
push eax
mov cl, 3
mov dword [ebp - 0xbc], 0x702603
mov eax, ebx
xor byte [ebp + eax - 0xbb], cl
inc eax
cmp eax, 2
jae 0x10002756
mov cl, byte [ebp - 0xbc]
jmp 0x10002741
sub esp, 0x18
mov byte [ebp - 0xb9], bl
lea eax, [ebp - 0xbb]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x88]
push eax
call fcn.10003c4b
add esp, 0x20
xor edi, edi
mov byte [ebp - 4], 7
push ebx
inc edi
lea ecx, [ebp - 0x110]
push edi
call fcn.10004036
lea eax, [ebp - 0x134]
push eax
call fcn.10002db8
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], esi
jb 0x100027a7
mov eax, dword [eax]
push eax
mov cl, 0x5b
mov dword [ebp - 0xc0], 0x287e5b
mov eax, ebx
xor byte [ebp + eax - 0xbf], cl
inc eax
cmp eax, 2
jae 0x100027cb
mov cl, byte [ebp - 0xc0]
jmp 0x100027b6
sub esp, 0x18
mov byte [ebp - 0xbd], bl
lea eax, [ebp - 0xbf]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x70]
push eax
call fcn.10003c4b
add esp, 0x20
push ebx
push edi
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xa
call fcn.10004036
mov ebx, dword [ebp - 0x138]
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.10003094
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], esi
jb 0x1000281e
mov eax, dword [eax]
push eax
mov cl, 0x33
mov dword [ebp - 0xc4], 0x401633
xor eax, eax
xor byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 2
jae 0x10002842
mov cl, byte [ebp - 0xc4]
jmp 0x1000282d
sub esp, 0x18
mov byte [ebp - 0xc1], 0
lea eax, [ebp - 0xc3]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x58]
push eax
call fcn.10003c4b
add esp, 0x20
xor esi, esi
mov byte [ebp - 4], 0xd
push esi
push edi
lea ecx, [ebp - 0x110]
call fcn.10004036
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.1000324e
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x10002893
mov eax, dword [eax]
push eax
mov cl, 0x49
mov dword [ebp - 0xc8], 0x3a6c49
xor eax, eax
xor byte [ebp + eax - 0xc7], cl
inc eax
cmp eax, 2
jae 0x100028b7
mov cl, byte [ebp - 0xc8]
jmp 0x100028a2
sub esp, 0x18
mov byte [ebp - 0xc5], 0
lea eax, [ebp - 0xc7]
mov ecx, esp
push eax
call fcn.10004181
lea eax, [ebp - 0x40]
push eax
call fcn.10003c4b
add esp, 0x20
lea ecx, [ebp - 0x134]
xor esi, esi
push esi
push edi
call fcn.10004036
push 0x48
lea eax, [ebp - 0x180]
push esi
push eax
call fcn.10042b60
add esp, 0xc
mov dword [ebp - 0xfc], 0x3635323a
lea eax, [ebp - 0xb8]
mov word [ebp - 0xf8], 0x34
xorps xmm0, xmm0
movlpd qword [ebp - 0x170], xmm0
push 0x10
pop ecx
cmp dword [ebp - 0xa4], ecx
movaps xmm0, xmmword [0x100958b0]
cmovae eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x8c], ecx
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], ecx
mov dword [ebp - 0x17c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], ecx
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x44], ecx
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], ecx
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor edx, edx
movups xmmword [ebp - 0x11c], xmm0
mov ecx, edx
mov dword [ebp - 0x15c], eax
movaps xmm0, xmmword [0x10095da0]
movups xmmword [ebp - 0x10c], xmm0
mov al, byte [ebp - 0x11c]
xor byte [ebp + ecx - 0x11b], al
inc ecx
cmp ecx, 0x24
jb 0x100029c7
movaps xmm0, xmmword [0x10095fa0]
lea eax, [ebp - 0x11b]
mov dword [ebp - 0x158], eax
mov ecx, edx
movsx eax, byte [ebx + 3]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], 8
movups xmmword [ebp - 0x118], xmm0
mov dword [ebp - 0x108], 0x68535d72
mov dword [ebp - 0x104], 0x4a6d4a7f
mov dword [ebp - 0x100], 0x4a6d4a7f
mov word [ebp - 0xfc], 0x273a
mov byte [ebp - 0xfa], dl
mov al, byte [ebp - 0x118]
xor byte [ebp + ecx - 0x117], al
inc ecx
cmp ecx, 0x1d
jb 0x10002a37
lea eax, [ebp - 0x117]
mov byte [ebp - 0xfa], dl
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x148], eax
call fcn.10035bd0
xor esi, esi
lea ecx, [ebp - 0x40]
push esi
push edi
call fcn.10004036
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.10004036
push esi
push edi
lea ecx, [ebp - 0x70]
call fcn.10004036
push esi
push edi
lea ecx, [ebp - 0x88]
call fcn.10004036
push esi
push edi
lea ecx, [ebp - 0xa0]
call fcn.10004036
push esi
push edi
lea ecx, [ebp - 0xb8]
call fcn.10004036
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push esi
push edi
call fcn.10004036
jmp 0x10002ac5
xor ecx, ecx
call fcn.10035bd0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10002408
call fcn.10040a07
ret