Function at 0x100a93d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x214
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [esp + 0x234]
push edi
push 0x27
lea eax, [esp + 0x1f9]
push 0
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
mov byte [esp + 0x200], 0
call fcn.1013f910
add esp, 0xc
test esi, esi
je 0x100a9778
mov ebx, dword [esp + 0x228]
test ebx, ebx
je 0x100a9778
mov edi, dword [esp + 0x22c]
test edi, edi
je 0x100a9778
mov esi, dword [esp + 0x224]
mov ecx, dword [0x101f47e0]
push esi
push ecx
call fcn.100ab4e0
add esp, 8
test eax, eax
jne 0x100a9474
pop edi
pop esi
mov eax, 0xb3
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
mov eax, dword [esp + 0x234]
cmp eax, 0x40
je 0x100a94c1
cmp eax, 0xc0
je 0x100a94c1
cmp eax, 0xe0
je 0x100a94c1
cmp eax, 0xf0
je 0x100a94c1
mov edx, dword [esp + 0xc]
push edx
mov ebx, 0xb
call fcn.100acf90
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
push ebp
push eax
call fcn.100ac220
push 2
push ebx
lea edx, [esp + 0x114]
push edx
mov ebp, eax
push esi
shr ebp, 3
call fcn.100abb50
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x100a9750
push 1
push edi
lea eax, [esp + 0x20]
push eax
push esi
call fcn.100abb50
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100a9750
push 0x430
call fcn.100ac9f0
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
test edi, edi
je 0x100a974b
mov ecx, dword [0x101bc318]
xor eax, eax
test ecx, ecx
jbe 0x100a9540
mov edx, 0x2c5
cmp dword [eax*8 + 0x101bc308], edx
je 0x100a9540
inc eax
cmp eax, ecx
jb 0x100a9532
cmp eax, ecx
jne 0x100a9571
mov edx, dword [esp + 0x10]
pop ebp
push edx
mov ebx, 0x1a0
call fcn.100acf90
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
mov eax, dword [eax*8 + 0x101bc30c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
push 0x15
push ecx
mov ecx, dword [eax + 0x10]
push 0x14
push edx
mov edx, dword [eax + 0xc]
push 0x14
push ecx
mov ecx, dword [eax + 8]
push 0x14
push edx
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x78]
push 0x14
push ecx
push 0x14
push edx
push 0xa0
push edi
call eax
add esp, 0x38
test eax, eax
jne 0x100a974b
push 0x14
call fcn.1013fbbd
mov esi, eax
add esp, 4
test esi, esi
je 0x100a974b
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x200]
push eax
call fcn.1013fc90
mov ecx, dword [esp + 0xc8]
push ecx
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x220]
push eax
call fcn.1013fc90
push 0x14
push esi
lea ecx, [esp + 0x138]
push ecx
lea edx, [esp + 0x21c]
push edx
push edi
push 2
call fcn.100ad430
add esp, 0x30
test eax, eax
jne 0x100a9715
push ebp
call fcn.1013fbbd
mov edi, eax
add esp, 4
test edi, edi
je 0x100a9715
push ebp
push 0
push edi
call fcn.1013f910
add esp, 0xc
cmp ebp, 0x14
ja 0x100a96ba
push ebp
push esi
push edi
call fcn.1013fc90
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x228]
push edx
push ebp
push edi
push eax
push ecx
call fcn.100abdf0
add esp, 0x14
mov ebx, eax
push edi
call fcn.1013db65
add esp, 4
push esi
call fcn.1013db65
mov edx, dword [esp + 0x14]
add esp, 4
pop ebp
push edx
call fcn.100acf90
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
cmp ebp, 0x24
jae 0x100a970b
mov eax, dword [esi]
mov dword [edi], eax
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov edx, dword [esi + 8]
mov dword [edi + 8], edx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x10], ecx
lea ecx, [ebp - 0x14]
xor eax, eax
test ecx, ecx
jbe 0x100a965f
mov edx, esi
sub edx, 0x101bc31c
mov bl, byte [edx + eax + 0x101bc31c]
xor bl, byte [eax + 0x101bc31c]
inc eax
mov byte [edi + eax + 0x13], bl
cmp eax, ecx
jb 0x100a96f0
jmp 0x100a965f
mov ebx, 0xb
jmp 0x100a9680
push esi
mov ebx, 5
call fcn.1013db65
mov edx, dword [esp + 0x14]
add esp, 4
pop ebp
push edx
call fcn.100acf90
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
mov ebx, 5
mov edx, dword [esp + 0x10]
pop ebp
push edx
call fcn.100acf90
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1013d581
add esp, 0x214
ret
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 0x1a0
call fcn.1013d581
add esp, 0x214
ret