Function at 0x11d8160
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x129b408
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x13116ec]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov eax, dword [0x13116ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov eax, dword [ebp]
mov edx, dword [eax + 0x44]
mov ecx, ebp
call edx
mov esi, eax
mov eax, dword [esi]
xor ebx, ebx
cmp dword [edi + 0x1c], 3
push edi
mov dword [esp + 0x18], ebx
mov ecx, esi
push ebp
jne 0x11d81be
mov edx, dword [eax + 0x14]
call edx
mov dword [esp + 0x14], eax
jmp 0x11d81cf
mov edx, dword [eax + 0x10]
call edx
test al, al
je 0x11d81cf
mov dword [esp + 0x14], 1
mov eax, dword [edi + 0x18]
dec eax
mov dword [esp + 0x10], ebx
cmp eax, 0x11
ja case.default.0x11d81e0
jmp dword [eax*4 + 0x11d8668]
cmp dword [edi + 0x1c], 3
jne 0x11d8229
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push ecx
push edi
push ebp
mov ecx, esi
call edx
call fcn.0110c4e0
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d81fb
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push edi
push ebp
mov ecx, esi
call edx
call fcn.0110c4e0
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d8287
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x84]
push ecx
push edi
push ebp
mov ecx, esi
call edx
push edx
push eax
call fcn.011dbca0
add ebx, eax
mov eax, dword [esp + 0x18]
inc eax
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8254
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push edi
push ebp
mov ecx, esi
call edx
push edx
push eax
call fcn.011dbca0
add esp, 8
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d82e7
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x80]
push ecx
push edi
push ebp
mov ecx, esi
call edx
mov ecx, eax
call fcn.011ce6f0
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d82b7
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push edi
push ebp
mov ecx, esi
call edx
mov ecx, eax
call fcn.011ce6f0
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d8361
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x14], eax
jle case.default.0x11d81e0
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x84]
push edi
push ebp
mov ecx, esi
call eax
mov ecx, edx
mov ebx, edx
shld edx, eax, 1
sar ebx, 0x1f
sar ecx, 0x1f
add eax, eax
xor ebx, edx
xor ecx, eax
push ebx
push ecx
call fcn.011dbca0
mov ebx, dword [esp + 0x18]
add ebx, eax
mov eax, dword [esp + 0x20]
inc eax
add esp, 8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8316
jmp case.default.0x11d81e0
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push edi
push ebp
mov ecx, esi
call eax
push edx
push eax
call fcn.0110c4b0
add esp, 8
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d83bf
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0x88]
push eax
push edi
push ebp
mov ecx, esi
call edx
call fcn.0110c470
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8391
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push edi
push ebp
mov ecx, esi
call edx
call fcn.0110c470
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d841d
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
push ecx
push edi
push ebp
mov ecx, esi
call edx
push edx
push eax
call fcn.011dbca0
add ebx, eax
mov eax, dword [esp + 0x18]
inc eax
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d83ea
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push edi
push ebp
mov ecx, esi
call edx
push edx
push eax
call fcn.011dbca0
add esp, 8
mov ebx, eax
jmp case.default.0x11d81e0
mov ebx, dword [esp + 0x14]
add ebx, ebx
add ebx, ebx
jmp case.default.0x11d81e0
mov ebx, dword [esp + 0x14]
add ebx, ebx
add ebx, ebx
add ebx, ebx
jmp case.default.0x11d81e0
mov ebx, dword [esp + 0x14]
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d84a4
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0xa4]
push ecx
push edi
push ebp
mov ecx, esi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8472
jmp case.default.0x11d81e0
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
push 0
push edi
push ebp
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d8505
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov edx, dword [edx + 0xa4]
push eax
push edi
push ebp
mov ecx, esi
call edx
mov ecx, eax
call fcn.011ce730
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d84d5
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0
push edi
push ebp
mov ecx, esi
call edx
mov ecx, eax
call fcn.011ce730
mov ebx, eax
jmp case.default.0x11d81e0
cmp dword [edi + 0x1c], 3
jne 0x11d8565
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x14], ebx
jle case.default.0x11d81e0
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0xa0]
push ecx
push edi
push ebp
mov ecx, esi
call edx
mov eax, dword [eax + 8]
call fcn.0110c4e0
add ebx, eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8534
jmp case.default.0x11d81e0
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push edi
push ebp
mov ecx, esi
call edx
mov eax, dword [eax + 8]
call fcn.0110c4e0
mov ebx, eax
jmp case.default.0x11d81e0
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], eax
jle case.default.0x11d81e0
jmp 0x11d8593
xor eax, eax
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], eax
mov byte [esp + 0x1c], 0
mov dword [esp + 0x44], eax
cmp dword [edi + 0x1c], 3
jne 0x11d85c8
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0xa8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
push ebp
mov ecx, esi
call eax
jmp 0x11d85d8
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
mov ecx, esi
call edx
mov ecx, dword [eax + 0x10]
cmp ecx, 0x80
jae 0x11d85ea
mov eax, 1
jmp 0x11d8613
cmp ecx, 0x4000
jae 0x11d85f9
mov eax, 2
jmp 0x11d8613
cmp ecx, 0x200000
jae 0x11d8608
mov eax, 3
jmp 0x11d8613
cmp ecx, 0x10000000
sbb eax, eax
add eax, 5
add ecx, eax
add ebx, ecx
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x11d8633
mov eax, dword [esp + 0x1c]
push eax
call fcn.01238a36
add esp, 4
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x11d8591
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.01238a41
add esp, 0x38
ret