Function at 0x10011a80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add eax, 0xffffbf25
mov edx, dword [esp + 0x48]
add ecx, 0xffffc8f8
push ebx
mov ebx, dword [esp + 0x50]
add edx, 0xfffffaea
mov dword [esp + 8], eax
mov eax, dword [esp + 0x38]
push ebp
mov ebp, dword [esp + 0x34]
add eax, 0xfffffddb
push esi
mov esi, dword [esp + 0x5c]
add ebp, 0xffffffb7
mov dword [esp + 0x34], eax
add esi, 0xffffc1aa
lea eax, [ebx - 0x342]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x7fa]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x38], ecx
push edi
mov edi, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x50], edi
cmp edx, eax
jge 0x10011c7c
lea eax, [ecx + 0x3af2]
cmp edi, eax
jge 0x10011be8
mov dword [esi + 0x160], 0x15812
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x158]
xor ecx, 0x4330
mov dword [eax + 0x14], ecx
mov dword [esi + 0x168], 0x1245c
mov dword [esi + 0x16c], 1
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x1e8]
or eax, 0x3bbb
add dword [esi + 0x114], eax
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x184]
xor eax, 0x28a
cmp eax, dword [esi + 0x164]
jbe 0x10011b79
mov eax, dword [esi + 0x40]
sub eax, 0x3e1a
imul eax, dword [esi + 0x154]
mov dword [esi + 0x154], eax
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x3d52]
push eax
mov edx, edi
lea eax, [ebx + 0xca]
push eax
add ecx, 0x410b
lea eax, [edx + 0x3879]
push eax
lea eax, [ebx + 0x550]
push eax
lea eax, [ebp + 0x29b]
push eax
push ecx
lea eax, [edx + 0x3af2]
push eax
lea eax, [edx + 0x3c04]
push eax
push ecx
lea eax, [ebp - 0x6cd]
push eax
lea eax, [ebx + 0x550]
push eax
push esi
push dword [esp + 0x88]
lea eax, [edx + 0x3e1a]
push eax
call fcn.1000fcd0
mov edx, eax
add esp, 0x38
mov dword [esp + 0x60], edx
jmp 0x10011c7e
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x40]
mov dword [esp + 0x58], edx
xor dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x58]
jle 0x10011c7c
lea edi, [ebx - 0x342]
xor edi, ebp
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0xf4]
cmp eax, edi
jg 0x10011c67
sub edi, eax
inc edi
nop
mov eax, dword [esi + 0x134]
or eax, dword [esi + 8]
or eax, ebx
cmp dword [esi + 0x58], eax
jne 0x10011c5e
mov eax, dword [esp + 0x50]
add eax, ebp
push eax
mov eax, dword [esi + 0x1f8]
and eax, edx
push eax
mov eax, dword [esi + 0x158]
sub eax, 0x4396
push eax
lea eax, [ecx + ebx]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
sub edi, 1
jne 0x10011c20
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
add eax, 2
mov dword [esp + 0x44], eax
cmp eax, dword [esp + 0x58]
jg 0x10011c11
mov edi, dword [esp + 0x50]
mov edx, edi
lea eax, [edx - 0xca3]
lea ecx, [ebx - 0x342]
cmp ecx, eax
jge 0x10011e13
mov eax, dword [esp + 0x3c]
lea eax, [eax + ebx*2]
cmp edx, eax
jge 0x10011df9
mov eax, dword [esi + 0x1f8]
imul eax, dword [esi + 0x30]
mov dword [esp + 0x58], edx
cmp edx, eax
jne 0x10011e13
mov eax, dword [esp + 0x10]
or edi, 0x3e2e
and eax, 0x4396
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], eax
lea eax, [edx - 0x3e2e]
mov dword [esp + 0x24], eax
nop dword [eax + eax]
mov eax, dword [esi + 0x70]
sub eax, dword [esi + 8]
imul eax, eax, 0x4396
mov edi, dword [esi + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x144]
add eax, ebx
mov ebx, dword [esi + 0x158]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xe4]
lea ecx, [eax + 0x34ee]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x14]
xor ecx, ebx
xor ecx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
sub edx, eax
mov ecx, dword [esi + 0x58]
lea eax, [ebx + 0x43b5]
or ecx, dword [esp + 0x1c]
sub edx, dword [esi + 0xc]
sub ecx, ebp
mov ebp, dword [esi + 0x1ec]
imul ebp, edi
imul edi, edi
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x8c]
xor ecx, 0x3708
or edi, dword [esi + 0x1f8]
push edi
push eax
mov eax, dword [esp + 0x40]
push ecx
push dword [esp + 0x5c]
add eax, 0x3a26
push edx
push ebp
push dword [esp + 0x5c]
and eax, 0x41cf
push dword [esp + 0x30]
push dword [esp + 0x40]
push dword [esp + 0x48]
push eax
push dword [esp + 0x54]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push esi
call fcn.10003130
mov ecx, dword [esi + 0x1c0]
add esp, 0x3c
xor ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x18]
imul ecx, ecx, 0x3708
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
xor eax, ecx
mov ecx, dword [esi + 4]
add ecx, eax
mov dword [esp + 0x3c], eax
add ecx, edx
or dword [esi + 0x134], ecx
mov eax, dword [esi + 0x1f8]
imul eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x58]
add ecx, 4
mov dword [esp + 0x58], ecx
cmp ecx, eax
je 0x10011ce0
pop edi
pop esi
lea eax, [ebp + 0x29b]
pop ebp
pop ebx
add esp, 0x24
ret
test edx, edx
jne 0x10011e13
mov eax, dword [esi + 0x134]
add eax, 0x3af2
or eax, 0x4396
add dword [esi + 0x120], eax
pop edi
pop esi
lea eax, [ebp + 0x29b]
pop ebp
pop ebx
add esp, 0x24
ret