Function at 0x100191f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
test eax, eax
je 0x1001989b
test ebx, ebx
je 0x1001989b
test ecx, ecx
je 0x1001989b
test edi, edi
je 0x1001989b
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov word [esp + 0x85], ax
mov byte [esp + 0x87], al
mov dword [esp + 0x2c], eax
mov byte [esp + 0xf], 0
mov byte [esp + 0x74], 0
xor ebx, ebx
lea eax, [edi + 0xc]
jmp 0x10019290
cmp ecx, dword [eax]
je 0x100192b7
inc ebx
add eax, 0x60
cmp ebx, 3
jl 0x10019290
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
cmp ebx, 3
mov dword [esp + 0x18], ebx
jl 0x100192da
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
xor eax, eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x88], 0
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov word [esp + 0x99], ax
mov byte [esp + 0x9b], al
mov dword [esp + 0x88], 0x30303030
mov dword [esp + 0x8c], 0x61616161
test esi, esi
je 0x100193f7
call fcn.1001f600
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10019337
sub eax, edx
mov edx, eax
mov eax, 0
mov ecx, eax
je 0x10019370
jmp 0x10019350
movzx esi, byte [ecx + esi]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x100676c0]
mov esi, dword [esp + 0x24]
inc ecx
cmp ecx, edx
jb 0x10019350
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + ebx*2]
shl ecx, 5
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx + edi + 0x30]
je 0x1001939c
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
push 0x14
push esi
lea edx, [esp + 0x7c]
push 0x15
push edx
call fcn.10032c83
mov edi, dword [ebp + 8]
add esp, 0x10
cmp dword [edi], 0x206
jne 0x100193f7
lea ecx, [esp + 0x88]
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100193e2
test dl, dl
je 0x100193de
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100193e2
add eax, 2
add ecx, 2
test dl, dl
jne 0x100193c2
xor eax, eax
jmp 0x100193e7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100193f7
lea eax, [esp + 0x74]
push eax
mov ecx, edi
call fcn.1001ba50
xor eax, eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov dword [esp + 0x61], eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov word [esp + 0x71], ax
mov byte [esp + 0x73], al
mov byte [esp + 0x34], al
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov word [esp + 0x51], ax
mov byte [esp + 0x53], al
mov eax, dword [esp + 0x20]
cmp word [eax], 0x64
mov byte [esp + 0x54], 0
jb 0x10019494
mov ecx, dword [ebp + 0x14]
cmp ecx, 2
jne 0x10019471
cmp byte [eax + 2], 0
je 0x10019494
cmp byte [eax + 0xb], 0
je 0x10019494
lea ecx, [esp + 0x34]
push ecx
jmp 0x10019487
cmp ecx, 4
jne 0x10019494
cmp byte [eax + 5], 0
je 0x10019494
cmp byte [eax + 0xb], 0
je 0x10019494
lea edx, [esp + 0x34]
push edx
call fcn.1001c0d0
mov byte [esp + 0x13], 1
add esp, 4
test esi, esi
jne 0x100194ab
cmp dword [esp + 0x14], esi
je 0x100194ab
mov esi, dword [esp + 0x14]
lea edi, [esp + 0x34]
jmp 0x1001957a
cmp byte [esp + 0xf], 0
jne 0x10019581
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + ebx*2]
shl eax, 5
lea esi, [eax + ecx]
push 0x10
lea edx, [esi + 0x38]
push edx
lea eax, [esp + 0x5c]
push 0x11
push eax
call fcn.10032c83
lea eax, [esp + 0x84]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100194e2
mov edi, dword [ebp + 8]
sub eax, edx
lea ecx, [esp + 0x54]
push ecx
movzx ecx, byte [esi + 0x58]
lea edx, [esp + 0x38]
push edx
push ecx
push ebx
push eax
lea edx, [esp + 0x88]
push edx
mov ecx, edi
call fcn.1001b190
call fcn.1001f600
cmp dword [edi], 0x206
mov edx, 8
jne 0x10019525
mov edx, 0x10
xor eax, eax
xor ecx, ecx
test edx, edx
jbe 0x1001954d
lea ecx, [ecx]
movzx edi, byte [esp + ecx + 0x34]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x100676c0]
inc ecx
cmp ecx, edx
jb 0x10019530
mov ebx, dword [esp + 0x18]
cmp eax, dword [esi + 0x34]
je 0x1001956e
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10019581
lea esi, [esp + 0x34]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
call fcn.1001f600
mov eax, dword [ebp + 8]
cmp dword [eax], 0x206
mov edi, 8
mov dword [esp + 0x14], edi
jne 0x100195a3
mov edi, 0x10
mov dword [esp + 0x14], edi
xor eax, eax
xor ecx, ecx
test edi, edi
jbe 0x100195c9
jmp 0x100195b0
movzx edx, byte [esp + ecx + 0x34]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x100676c0]
inc ecx
cmp ecx, edi
jb 0x100195b0
mov edx, dword [esp + 0x1c]
lea ecx, [ebx + ebx*2]
shl ecx, 5
lea esi, [ecx + edx]
mov dword [esp + 0x30], esi
mov dword [esi + 0x34], eax
call fcn.1001f600
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100195f0
sub eax, edx
mov edx, eax
mov eax, 0
mov ecx, eax
je 0x10019628
mov edi, dword [esp + 0x10]
movzx edi, byte [ecx + edi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x100676c0]
inc ecx
cmp ecx, edx
jb 0x10019604
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
cmp byte [ebp + 0x20], 0
jne 0x1001964f
cmp eax, dword [esi + 0x30]
jne 0x1001964f
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
mov dword [esi + 0x30], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
push 0x14
push eax
lea ecx, [esp + 0x7c]
push 0x15
push ecx
mov byte [esp + 0x1f], 0
call fcn.10032c83
mov edx, dword [ebp + 8]
add esp, 0x10
cmp dword [edx], 0x206
jne 0x100196e1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x88]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100196c0
test dl, dl
je 0x100196bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100196c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100196a0
xor eax, eax
jmp 0x100196c5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100196e1
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x74]
push eax
call fcn.1001ba50
mov byte [esp + 0xf], 1
lea eax, [esp + 0x74]
jmp 0x100196e5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push ecx
movzx ecx, byte [esi + 0x58]
lea edx, [esp + 0x38]
push edx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push eax
call fcn.1001b410
test al, al
jne 0x1001971e
mov eax, 0xfffffffb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
push edi
lea edx, [esp + 0x58]
push edx
inc edi
push edi
add esi, 0x38
push esi
call fcn.10032c83
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp word [eax], 0x64
jb 0x10019785
mov eax, dword [ebp + 0x14]
cmp eax, 2
jne 0x10019774
mov eax, dword [esp + 0x20]
mov byte [eax + 2], 0
mov byte [eax + 4], 0
jmp 0x10019785
cmp eax, 4
jne 0x10019785
mov eax, dword [esp + 0x20]
mov byte [eax + 5], 0
mov byte [eax + 7], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x64
jne 0x100197b3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
call fcn.1000f0c0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, ebx
shl edx, 6
cmp ecx, dword [edx + eax + 0x30]
lea esi, [edx + eax]
jne 0x10019882
push 8
lea edi, [esi + 0x38]
push edi
lea edx, [esp + 0x5c]
push 9
push edx
call fcn.10032c83
lea eax, [esp + 0x84]
add esp, 0x10
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100197f0
sub eax, edx
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x38]
push edx
push 0
push ebx
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.1001b190
xor eax, eax
xor ecx, ecx
jmp 0x10019820
movzx edx, byte [esp + ecx + 0x34]
movzx ebx, al
xor edx, ebx
shr eax, 8
xor eax, dword [edx*4 + 0x100676c0]
inc ecx
cmp ecx, 8
jb 0x10019820
cmp byte [esp + 0xf], 0
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x30], ecx
lea eax, [esp + 0x74]
jne 0x10019856
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x54]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [ebp + 8]
push 0
push edx
push eax
call fcn.1001b410
push 8
lea eax, [esp + 0x58]
push eax
push 9
push edi
call fcn.10032c83
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0xffffff9c
call fcn.10032551
mov esp, ebp
pop ebp
ret 0x1c