Function at 0x101404f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
cmp dword [esi], 0x2404c750
jne 0x101407fa
mov ebp, dword [esp + 0x34]
mov eax, dword [esi + 4]
sub eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
je 0x101407fa
cmp dword [ebp + 0x38], eax
jb 0x101407fa
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, dword [0x107ab964]
push esi
push edi
push edi
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x101407fa
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x101407fa
add eax, 0xffffffe0
xor edi, edi
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], eax
jle 0x101407fa
mov ebx, dword [esp + 0x30]
jmp 0x10140586
mov ebp, dword [esp + 0x34]
cmp edi, 2
jge 0x101405ea
mov eax, edi
sub eax, 0
je 0x101405b6
dec eax
jne 0x101405e1
cmp dword [ecx + esi], 0x8124048b
jne 0x101405e1
cmp word [ecx + esi + 4], 0x134
jne 0x101405e1
mov edx, dword [ecx + esi + 6]
mov edi, 2
mov dword [esp + 0x10], edx
jmp 0x101405e1
cmp byte [ecx + esi], 0x68
jne 0x101405e1
mov eax, dword [ecx + esi + 1]
mov edx, dword [ebp + 0x1c]
sub eax, edx
mov edx, dword [ebx + 0xc]
cmp eax, edx
jbe 0x101405e1
mov ebp, dword [ebx + 8]
add ebp, edx
cmp eax, ebp
jae 0x101405e1
add eax, 4
mov edi, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jl 0x10140582
mov edx, dword [esp + 0x28]
xor ebp, ebp
cmp edx, ebp
jbe 0x101407fa
cmp edi, 2
jne 0x101407fa
cmp ecx, eax
jge 0x101407fa
push ebp
push ebp
push ebp
push ebp
push 0x1500
call sub.platform.dll_Ordinal_24
mov esi, eax
add esp, 0x14
cmp esi, ebp
je 0x101407fa
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x28]
push esi
push 0x1500
push 0x1500
push ecx
mov ecx, dword [0x107ab964]
push edx
push eax
push ecx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x101407f1
mov ecx, dword [esp + 0x24]
cmp ecx, 0x1500
jg 0x101407f1
lea edx, [ecx - 4]
xor eax, eax
test edx, edx
jle 0x1014068e
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + eax]
xor edx, ecx
mov dword [esi + eax], edx
mov ecx, dword [esp + 0x24]
add eax, 4
lea edx, [ecx - 4]
cmp eax, edx
jl 0x10140674
add ecx, 0xffffffd0
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x2c], ebp
test ecx, ecx
jle 0x1014079e
mov edx, 0x400000
cmp ebp, 2
jge 0x1014079e
mov eax, ebp
sub eax, 0
je 0x10140756
dec eax
jne 0x10140795
cmp dword [esi + edi], 0x75726956
jne 0x10140795
cmp dword [esi + edi + 4], 0x50273a73
jne 0x10140795
cmp dword [esi + edi + 8], 0x4d594c4f
jne 0x10140795
cmp dword [esi + edi + 0xc], 0x53415245
jne 0x10140795
cmp dword [esi + edi + 0x10], 0x27422d45
jne 0x10140795
cmp dword [esi + edi + 0x14], 0x6f43202e
jne 0x10140795
cmp dword [esi + edi + 0x18], 0x20646564
jne 0x10140795
cmp dword [esi + edi + 0x1c], 0x50207962
jne 0x10140795
cmp dword [esi + edi + 0x20], 0x61627961
jne 0x10140795
cmp dword [esi + edi + 0x24], 0x52286b63
jne 0x10140795
cmp dword [esi + edi + 0x28], 0x69737375
jne 0x10140795
cmp word [esi + edi + 0x2c], 0x2961
jne 0x10140795
mov ebp, 2
jmp 0x10140795
cmp word [esi + edi], 0x8b
jne 0x10140795
cmp byte [esi + edi + 2], 5
jne 0x10140795
cmp word [esi + edi + 7], 0x8589
jne 0x10140795
cmp dword [esi + edi + 0xa], edx
jbe 0x10140795
mov eax, dword [esi + edi + 3]
cmp eax, 0x1500
mov dword [esp + 0x2c], eax
jae 0x101407f1
mov ebx, dword [eax + esi - 5]
mov eax, dword [esp + 0x34]
mov ebp, dword [eax + 0x1c]
sub ebx, ebp
mov ebp, 1
inc edi
cmp edi, ecx
jl 0x101406a6
push esi
call sub.platform.dll_Ordinal_27
add esp, 4
cmp ebp, 2
jne 0x101407fa
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x101407fa
mov ecx, dword [esp + 0x24]
add ecx, 0xffffffd0
cmp edi, ecx
jge 0x101407fa
test ebx, ebx
jbe 0x101407fa
mov edx, dword [esp + 0x34]
cmp dword [edx + 0x38], ebx
jb 0x101407fa
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x101407e4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x101407e4
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [ecx], ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
push esi
call sub.platform.dll_Ordinal_27
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret