Function at 0x1000239d
Capabilities:
Encode data using xor

Disassembly:
push 0x174
mov eax, 0x10071db6
call fcn.1003bd50
mov ebx, ecx
mov dword [ebp - 0x138], ebx
call fcn.100362ad
push 0
push 0x989680
push edx
push eax
call fcn.100711d0
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp byte [ebx], 0
je 0x10002aa8
cmp dword [0x10098bc0], 0
je 0x10002abf
mov cl, 0x11
mov dword [ebp - 0xd8], 0x7d7e4211
mov word [ebp - 0xd4], 0x7e
xor edx, edx
xor cl, byte [ebp + edx - 0xd7]
mov byte [ebp + edx - 0xd7], cl
inc edx
cmp edx, 4
jae 0x10002416
mov cl, byte [ebp - 0xd8]
jmp 0x100023fa
lea eax, [ebp - 0xd7]
mov byte [ebp - 0xd3], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.1000416d
and dword [ebp - 4], 0
mov al, byte [ebx + 1]
cmp al, 1
jne 0x100024ec
cmp byte [ebx + 3], 0
jne 0x1000249e
mov cl, 0x6b
mov dword [ebp - 0xe4], 0x190e266b
mov dword [ebp - 0xe0], 0x50a0308
xor edx, edx
mov word [ebp - 0xdc], 0x1f
xor cl, byte [ebp + edx - 0xe3]
mov byte [ebp + edx - 0xe3], cl
inc edx
cmp edx, 8
jae 0x1000247e
mov cl, byte [ebp - 0xe4]
jmp 0x10002462
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xdb], 0
push eax
call fcn.10004150
pop ecx
push eax
lea eax, [ebp - 0xe3]
jmp 0x10002540
cmp al, 1
jne 0x100024ec
cmp byte [ebx + 3], 0
jle 0x10002549
movaps xmm0, xmmword [0x10089250]
xor edx, edx
movups xmmword [ebp - 0x12c], xmm0
mov cl, byte [ebp - 0x12c]
xor byte [ebp + edx - 0x12b], cl
inc edx
cmp edx, 0xe
jb 0x100024bc
lea eax, [ebp - 0x12b]
mov byte [ebp - 0x11d], 0
push eax
call fcn.10004150
pop ecx
push eax
lea eax, [ebp - 0x12b]
jmp 0x10002540
cmp byte [ebx + 3], 0
jle 0x10002549
mov dl, 0x4a
mov dword [ebp - 0xd0], 0x382b1a4a
mov word [ebp - 0xcc], 0x333e
xor ecx, ecx
mov byte [ebp - 0xca], 0
xor byte [ebp + ecx - 0xcf], dl
inc ecx
cmp ecx, 5
jae 0x10002525
mov dl, byte [ebp - 0xd0]
jmp 0x10002510
lea eax, [ebp - 0xcf]
mov byte [ebp - 0xca], 0
push eax
call fcn.10004150
pop ecx
push eax
lea eax, [ebp - 0xcf]
push eax
lea ecx, [ebp - 0x28]
call fcn.100040d7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.100033e4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x1000256d
mov eax, dword [eax]
push eax
mov dl, 0x10
mov dword [ebp - 0xf0], 0x30633510
mov dword [ebp - 0xec], 0x6335306c
xor ecx, ecx
mov byte [ebp - 0xe8], 0
xor byte [ebp + ecx - 0xef], dl
inc ecx
cmp ecx, 7
jae 0x100025a2
mov dl, byte [ebp - 0xf0]
jmp 0x1000258d
sub esp, 0x18
mov byte [ebp - 0xe8], 0
lea eax, [ebp - 0xef]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0xb8]
push eax
call fcn.10003c37
add esp, 0x24
push 0
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.10004022
cmp byte [0x10098bdb], 0
mov edi, dword [0x10098bc0]
je 0x1000261e
mov ecx, 0x10b8134
call fcn.1000dd00
mov esi, eax
test esi, esi
je 0x1000261e
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call ebx
test eax, eax
jne 0x1000261e
push 4
add esi, 0x6e8
push esi
call ebx
test eax, eax
jne 0x1000261e
mov al, byte [esi]
mov byte [edi + 0x3c], al
cmp byte [0x10098bdb], 0
movzx eax, byte [edi + 0x3c]
mov ebx, dword [0x10098bc0]
push eax
je 0x10002680
mov ecx, 0x10b8134
call fcn.1000dd00
mov esi, eax
test esi, esi
je 0x10002680
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002680
push 4
lea edi, [esi + 0x6bc]
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10002680
cmp dword [esi + 0x6d0], 0x10
jb 0x1000266d
mov edi, dword [edi]
lea eax, [ebx + 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x10002678
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
lea eax, [ebx + 0x20]
pop edi
cmp dword [eax + 0x14], edi
jb 0x1000268d
mov eax, dword [eax]
movaps xmm0, xmmword [0x10089e10]
xor ebx, ebx
push eax
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], 0x1352574d
mov ecx, ebx
mov byte [ebp - 0x120], bl
mov al, byte [ebp + ecx - 0x133]
xor al, byte [ebp - 0x134]
mov byte [ebp + ecx - 0x133], al
inc ecx
cmp ecx, 0x13
jb 0x100026b0
sub esp, 0x18
mov byte [ebp - 0x120], bl
lea eax, [ebp - 0x133]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0xa0]
push eax
call fcn.10003c37
add esp, 0x24
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 4
push eax
call fcn.10002ac5
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x1000270b
mov eax, dword [eax]
push eax
mov dl, 0x46
mov dword [ebp - 0xbc], 0x356346
mov ecx, ebx
xor byte [ebp + ecx - 0xbb], dl
inc ecx
cmp ecx, 2
jae 0x1000272f
mov dl, byte [ebp - 0xbc]
jmp 0x1000271a
sub esp, 0x18
mov byte [ebp - 0xb9], bl
lea eax, [ebp - 0xbb]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x88]
push eax
call fcn.10003c37
add esp, 0x20
xor esi, esi
mov byte [ebp - 4], 7
push ebx
inc esi
lea ecx, [ebp - 0x110]
push esi
call fcn.10004022
lea eax, [ebp - 0x134]
push eax
call fcn.10002da4
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], edi
jb 0x10002780
mov eax, dword [eax]
push eax
mov dl, 0x7d
mov dword [ebp - 0xc0], 0xe587d
mov ecx, ebx
xor byte [ebp + ecx - 0xbf], dl
inc ecx
cmp ecx, 2
jae 0x100027a4
mov dl, byte [ebp - 0xc0]
jmp 0x1000278f
sub esp, 0x18
mov byte [ebp - 0xbd], bl
lea eax, [ebp - 0xbf]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x70]
push eax
call fcn.10003c37
add esp, 0x20
push ebx
push esi
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xa
call fcn.10004022
mov ebx, dword [ebp - 0x138]
lea eax, [ebp - 0x110]
push eax
mov ecx, ebx
call fcn.10003080
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], edi
jb 0x100027f7
mov eax, dword [eax]
push eax
mov dl, 0x74
mov dword [ebp - 0xc4], 0x75174
xor ecx, ecx
xor byte [ebp + ecx - 0xc3], dl
inc ecx
cmp ecx, 2
jae 0x1000281b
mov dl, byte [ebp - 0xc4]
jmp 0x10002806
sub esp, 0x18
mov byte [ebp - 0xc1], 0
lea eax, [ebp - 0xc3]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x58]
push eax
call fcn.10003c37
add esp, 0x20
push 0
push esi
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0xd
call fcn.10004022
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.1000323a
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], edi
jb 0x1000286a
mov eax, dword [eax]
push eax
mov dl, 0x56
mov dword [ebp - 0xc8], 0x257356
xor ecx, ecx
xor byte [ebp + ecx - 0xc7], dl
inc ecx
cmp ecx, 2
jae 0x1000288e
mov dl, byte [ebp - 0xc8]
jmp 0x10002879
sub esp, 0x18
mov byte [ebp - 0xc5], 0
lea eax, [ebp - 0xc7]
mov ecx, esp
push eax
call fcn.1000416d
lea eax, [ebp - 0x40]
push eax
call fcn.10003c37
add esp, 0x20
lea ecx, [ebp - 0x134]
push 0
push esi
call fcn.10004022
push 0x48
lea eax, [ebp - 0x180]
push 0
push eax
call fcn.10053790
add esp, 0xc
mov dword [ebp - 0xfc], 0x2e2d2a22
lea eax, [ebp - 0xb8]
mov word [ebp - 0xf8], 0x2c
xorps xmm0, xmm0
movlpd qword [ebp - 0x170], xmm0
push 0x10
pop ecx
cmp dword [ebp - 0xa4], ecx
movaps xmm0, xmmword [0x10089ae0]
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 [0x1008a150]
movups xmmword [ebp - 0x10c], xmm0
mov al, byte [ebp + ecx - 0x11b]
xor al, byte [ebp - 0x11c]
mov byte [ebp + ecx - 0x11b], al
inc ecx
cmp ecx, 0x24
jb 0x1000299e
movaps xmm0, xmmword [0x10089a00]
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], 0x2d161837
mov dword [ebp - 0x104], 0xf280f3a
mov dword [ebp - 0x100], 0xf280f3a
mov word [ebp - 0xfc], 0x627f
mov byte [ebp - 0xfa], dl
mov al, byte [ebp + ecx - 0x117]
xor al, byte [ebp - 0x118]
mov byte [ebp + ecx - 0x117], al
inc ecx
cmp ecx, 0x1d
jb 0x10002a15
lea eax, [ebp - 0x117]
mov byte [ebp - 0xfa], dl
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x148], eax
call fcn.100327b4
push 0
push esi
lea ecx, [ebp - 0x40]
call fcn.10004022
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.10004022
push 0
push esi
lea ecx, [ebp - 0x70]
call fcn.10004022
push 0
push esi
lea ecx, [ebp - 0x88]
call fcn.10004022
push 0
push esi
lea ecx, [ebp - 0xa0]
call fcn.10004022
push 0
push esi
lea ecx, [ebp - 0xb8]
call fcn.10004022
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.10004022
jmp 0x10002aaf
xor ecx, ecx
call fcn.100327b4
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100023cd
call fcn.1003bcfa
ret