Function at 0x10006190
Capabilities:
Encode data using xor

Disassembly:
add al, 0x24
mov dword [ebx + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x34], eax
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x78], ecx
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x3c], eax
mov dword [esp + 0x20], ebp
mov dword [ebx + 0x64], ebp
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x4c], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x24], eax
mov edx, dword [edi + 0xec]
mov ebp, ecx
push edi
call fcn.100063ad
add esp, 4
mov dword [ebx + 0x58], eax
mov edx, dword [edi + 0x90]
mov ecx, ebp
push edi
call fcn.100063ad
add esp, 4
mov dword [ebx + 0x5c], eax
mov eax, dword [esp + 0x58]
mov ebp, dword [eax + 0x14]
adc al, 0x8b
push edi
or byte [ecx - 0x1e17a80f], cl
add eax, 0xc4830000
add al, 0x89
inc esp
and al, 0x2c
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x18], edi
xor ecx, dword [edi + 0xc8]
mov edi, dword [ebp + eax]
xor esi, esi
cmp edi, ecx
jne 0x10005f3b
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
lea esi, [eax + 0x10]
mov eax, dword [esp + 4]
mov ebp, dword [eax + 8]
mov eax, dword [esp + 4]
mov edi, dword [eax + 0xc]
push edi
push 0x40
call dword [ebx + 0x64]
lea ecx, [esp + 0x34]
mov dword [ecx], 0
push ecx
push ebp
mov ebp, eax
push esi
push edi
push eax
push 2
call dword [ebx + 0x3c]
test eax, eax
jne 0x1000630e
mov dword [esp], ebx
mov esi, ebp
lea ecx, [ebp + 0x90]
call fcn.100064c2
mov dword [esp + 8], 0
test eax, eax
mov ecx, 0
jne 0x10005e55
mov ecx, dword [esi + 0x160]
add ecx, ebp
mov edx, dword [esi + 8]
cmp dword [edx + ecx + 0x12c1], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
je 0x100061c3
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
lea eax, [edx + ecx + 0x12c1]
mov dword [esp + 8], eax
lea edi, [edx + ecx + 0x14bb]
xor esi, esi
mov dword [esp + 0x14], edi
imul ecx, esi, 0x8a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
lea ebp, [eax + ecx]
mov ecx, ebp
call fcn.100064c2
lea eax, [eax + eax + 2]
push eax
push 0x40
mov eax, dword [esp + 8]
call dword [eax + 0x64]
mov ebx, eax
mov ecx, ebp
call fcn.100064c2
test eax, eax
je 0x10005ed9
movsx ecx, byte [edi + eax]
mov word [ebx + eax*2], cx
dec eax
jne 0x10005ece
movsx eax, byte [ebp]
mov word [ebx], ax
mov ecx, ebx
call fcn.100064f2
test eax, eax
je 0x10005f07
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x13c]
xor ecx, ecx
imul ecx, edx
movzx ebp, word [ebx]
add ecx, ebp
add ebx, 2
dec eax
jne 0x10005ef7
jmp 0x10005f09
xor ecx, ecx
cmp ecx, dword [esp + 0xc]
je 0x100061d0
inc esi
add edi, 0x8a
mov eax, dword [esp + 8]
cmp esi, dword [eax]
jb 0x10005e9b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
jmp 0x100061f2
mov dword [esp], ebx
lea ebx, [ebp + eax]
mov ebp, dword [ebp + eax + 4]
push edi
push 0x40
call dword [esp + 0x28]
mov esi, eax
add ebx, 8
mov ecx, eax
mov edx, ebx
push edi
call fcn.10006472
add esp, 4
test edi, edi
je 0x10005f6f
xor eax, eax
xor dword [esi + eax], ebp
add eax, 4
cmp eax, edi
jb 0x10005f65
push 0x20a
push 0x40
call dword [esp + 0x28]
mov ebx, eax
mov al, byte [esi]
test al, al
je 0x10005f94
xor ecx, ecx
movsx eax, al
mov word [ebx + ecx*2], ax
mov al, byte [esi + ecx + 1]
inc ecx
test al, al
jne 0x10005f84
push 0x20a
push 0x40
mov edi, dword [esp + 8]
call dword [edi + 0x64]
mov esi, eax
push 0x105
push eax
push 0
call dword [edi + 0x54]
lea eax, [esi - 2]
cmp word [eax + 2], 0
lea eax, [eax + 2]
jne 0x10005fb2
mov word [eax], 0
cmp word [eax - 2], 0x5c
lea eax, [eax - 2]
jne 0x10005fbc
mov edx, esi
add edx, 0xfffffffe
xor eax, eax
dec eax
inc eax
cmp word [edx + 2], 0
lea edx, [edx + 2]
jne 0x10005fd3
xor ecx, ecx
cmp word [edx - 2], 0x5c
je 0x10005fef
mov word [edx], 0x5c
xor ecx, ecx
inc ecx
test ebx, ebx
je 0x10006012
movzx edi, word [ebx]
test di, di
je 0x10006017
lea ebp, [edx + ecx*2]
xor edx, edx
mov word [ebp + edx*2], di
movzx edi, word [ebx + edx*2 + 2]
inc edx
test di, di
jne 0x10006000
jmp 0x10006019
inc eax
mov edx, eax
jmp 0x10006020
xor edx, edx
add edx, ecx
add edx, eax
mov edi, dword [esp]
mov word [esi + edx*2], 0
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
push esi
call dword [edi + 0x44]
cmp eax, 0xffffffff
je 0x1000630e
mov esi, eax
push 0
push eax
call dword [edi + 0x6c]
test eax, eax
je 0x100061ba
mov ebp, eax
inc eax
push eax
push 0x40
call dword [edi + 0x64]
lea ebx, [esp + 0x34]
push 0
push ebx
push ebp
mov dword [esp + 0x20], eax
push eax
push esi
call dword [edi + 0x70]
mov dword [esp + 8], ebp
mov ebp, eax
push esi
call dword [edi + 0x68]
test ebp, ebp
je 0x1000630e
mov edi, dword [esp + 0x18]
lea edx, [edi + 0x2c]
mov esi, 4
mov ecx, ebx
push esi
call fcn.10006472
add esp, 4
lea edx, [edi + 0x134]
add ebx, esi
mov ecx, ebx
push esi
call fcn.10006472
add esp, 4
mov ecx, dword [esp + 8]
lea eax, [ecx - 8]
cmp eax, 8
je 0x1000630e
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x14]
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ebp, esi
inc ebp
add eax, 0xfffffff7
mov edx, ebp
xor edi, edi
lea esi, [ebp + edi]
mov ebx, 0xfffffff8
mov cl, byte [esp + ebx + 0x3c]
cmp byte [edx + ebx + 8], cl
je 0x10006101
cmp cl, 0x3f
jne 0x10006106
inc ebx
jne 0x100060f2
jmp 0x10006113
inc edx
cmp edi, eax
lea edi, [edi + 1]
jne 0x100060e9
jmp 0x100061a9
lea ebx, [esi + 8]
mov edi, dword [esi]
mov eax, dword [esi + 8]
bswap edi
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 0xf0]
jne 0x1000615f
cmp dword [esp + 4], 0
jne 0x1000615f
mov eax, dword [esi + 0x10]
add eax, 0x10
mov dword [esp + 0x10], eax
push eax
push 0x40
mov eax, dword [esp + 8]
call dword [eax + 0x64]
mov dword [esp + 4], eax
mov ecx, eax
mov edx, ebx
push edi
call fcn.10006472
add esp, 4
add dword [esp + 0xc], edi
mov dword [esp + 0x1c], ebx
jmp 0x10006194
cmp dword [esp + 4], 0
je 0x1000618c
mov ecx, dword [esp + 0xc]
lea ebp, [edi + ecx]
cmp ebp, dword [esp + 0x10]
ja 0x10006316
add ecx, dword [esp + 4]
mov edx, ebx
push edi
call fcn.10006472
add esp, 4
mov dword [esp + 0xc], ebp
jmp 0x10006194
mov dword [esp + 4], 0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
sub eax, ebx
add eax, ecx
cmp eax, 8
jne 0x100060df
mov esi, dword [esp + 4]
test esi, esi
jne 0x1000632d
jmp 0x1000630e
push esi
call dword [edi + 0x68]
jmp 0x1000630e
mov dword [esp + 0xc], 0
mov edi, dword [esp]
jmp 0x100061f9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + edx + 0x86]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
add eax, dword [ecx + edx + 0x82]
mov dword [esp + 8], eax
mov edi, dword [esp]
mov ebp, dword [esp + 0x30]
push 0x20a
push 0x40
call dword [esp + 0x28]
mov ebx, eax
add ebp, 0xf4
mov ecx, ebp
call fcn.100064c2
test eax, eax
je 0x10006223
movsx ecx, byte [ebp + eax]
mov word [ebx + eax*2], cx
dec eax
jne 0x10006217
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax + 0x3dd]
mov dword [esp], eax
movsx eax, byte [ebp]
mov word [ebx], ax
add ebx, 2
cmp word [ebx - 2], 0
lea ebx, [ebx + 2]
jne 0x1000623f
cmp word [ebx - 4], 0x5c
lea ebx, [ebx - 2]
jne 0x10006249
push 0x20a
push 0x40
call dword [edi + 0x64]
mov esi, eax
mov ecx, ebx
call fcn.100064f2
test eax, eax
je 0x1000627b
mov ecx, esi
movzx edx, word [ebx]
mov word [ecx], dx
mov dword [ecx], edx
add ecx, 2
add ebx, 2
dec eax
jne 0x1000626c
push esi
call dword [edi + 0x34]
mov esi, eax
mov eax, dword [eax + 0x3c]
add esi, dword [esi + eax + 0x2c]
mov edi, dword [esp + 0xc]
push edi
push 0x40
call dword [esp + 0x28]
mov ebx, eax
mov ecx, eax
mov edx, esi
push edi
call fcn.10006472
add esp, 4
xor eax, eax
mov ecx, dword [esp]
mov dword [ecx + 0xcc4], eax
mov dword [ecx + 0xcc0], ebx
lea ecx, [esp + 0x40]
mov dword [ecx], eax
push ecx
mov ebx, dword [esp + 0x1c]
push dword [ebx + 0xe0]
push edi
push esi
mov ebp, dword [esp + 0x3c]
call ebp
mov ecx, esi
mov edx, dword [esp + 8]
push edi
call fcn.10006472
add esp, 4
lea eax, [esp + 0x40]
push eax
push dword [eax]
push edi
push esi
call ebp
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x34]
push eax
push dword [esp + 8]
push dword [esp + 8]
push dword [esp + 0x28]
call esi
add esp, 0x10
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
sub eax, ecx
mov esi, dword [esp + 4]
add ecx, esi
mov edx, ebx
push eax
call fcn.10006472
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 8]
and eax, 0xfffffffc
je 0x10006349
mov ecx, dword [ecx + 4]
xor edx, edx
xor dword [esi + edx + 0x10], ecx
add edx, 4
cmp edx, eax
jb 0x1000633e
cmp dword [esp + 0xc], 0
mov ebx, dword [esp]
jne 0x10005df1
jmp 0x1000630e