Function at 0x4181e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x4747c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x8c], eax
push dword [edi + 0x14]
call fcn.00419580
add esp, 4
mov dword [ebp - 0x84], eax
mov ebx, 1
push esi
nop
mov eax, dword [edi + 8]
mov dword [ebp - 0x90], eax
shl eax, 2
push eax
push 8
push 1
mov dword [ebp - 0x9c], eax
call fcn.004344b0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x90]
test eax, eax
jne 0x418265
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
mov eax, dword [ebp - 0x90]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi], eax
lea eax, [esi + 8]
push eax
mov dword [esi + 4], eax
call fcn.00434d70
push dword [ebp - 0x8c]
push dword [ebp + ebx*4 - 0x88]
push esi
push edi
call fcn.00417f30
mov dword [ebp + ebx*4 - 0x84], esi
add esp, 0x18
inc ebx
cmp ebx, 0x20
jb 0x418220
mov esi, dword [edi + 8]
lea eax, [esi*4]
push eax
push 8
push 1
call fcn.004344b0
add esp, 0xc
mov ebx, eax
mov dword [ebp - 0x9c], ebx
test esi, esi
jne 0x4182d4
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
add esp, 0xc
lea ecx, [esi*4]
mov dword [ebx], esi
lea eax, [ebx + 8]
push ecx
push eax
mov dword [ebx + 4], eax
call fcn.00434d70
mov ecx, dword [edi + 0x14]
mov edi, dword [ecx]
cmp dword [ebx], edi
cmovb edi, dword [ebx]
lea esi, [edi*4]
push esi
push dword [ecx + 4]
push dword [ebx + 4]
call fcn.00438600
mov eax, dword [ebx]
sub eax, edi
shl eax, 2
push eax
mov eax, dword [ebx + 4]
add eax, esi
push eax
call fcn.00434d70
mov eax, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [esi*4]
push eax
push 8
push 1
call fcn.004344b0
add esp, 0x28
mov dword [ebp - 0x94], eax
test esi, esi
jne 0x418355
push 0x48
push str._srccryptompint.c
push 0x461ea8
call fcn.0043cc3e
add esp, 0xc
mov ebx, dword [ebp - 0x94]
lea ecx, [esi*4]
push ecx
lea eax, [ebx + 8]
mov dword [ebx], esi
push eax
mov dword [ebx + 4], eax
call fcn.00434d70
mov eax, dword [ebp + 0x10]
add esp, 8
mov byte [ebp - 0x85], 1
mov ecx, dword [eax]
mov eax, 0xcccccccd
shl ecx, 5
dec ecx
mul ecx
shr edx, 2
lea ecx, [edx + edx*4]
lea edi, [ecx + 2]
mov eax, dword [ebp + 0x10]
mov edx, ecx
shr edx, 5
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ecx
mov esi, dword [eax]
cmp edx, esi
jae 0x4183b9
mov eax, dword [eax + 4]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 0x10]
jmp 0x4183bb
xor edx, edx
and ecx, 0x1f
dec edi
shr edx, cl
mov ecx, edi
shr ecx, 5
and edx, 1
cmp ecx, esi
jae 0x4183d5
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x4183d7
xor eax, eax
and edi, 0x1f
mov ecx, edi
mov edi, dword [ebp - 0x8c]
shr eax, cl
mov ecx, edi
and eax, 1
shr ecx, 5
add eax, eax
or edx, eax
cmp ecx, esi
jae 0x4183ff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x418401
xor eax, eax
mov ecx, edi
inc edi
and ecx, 0x1f
shr eax, cl
mov ecx, edi
and eax, 1
shr ecx, 5
shl eax, 2
or edx, eax
cmp ecx, esi
jae 0x418425
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x418427
xor eax, eax
and edi, 0x1f
mov ecx, edi
mov edi, dword [ebp - 0x8c]
shr eax, cl
add edi, 2
and eax, 1
mov ecx, edi
shl eax, 3
shr ecx, 5
or edx, eax
cmp ecx, esi
jae 0x418453
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
jmp 0x418455
xor eax, eax
and edi, 0x1f
mov ecx, edi
shr eax, cl
mov ecx, dword [ebp - 0x84]
and eax, 1
shl eax, 4
or edx, eax
mov dword [ebp - 0xa0], edx
mov edi, dword [ecx]
cmp dword [ebx], edi
cmovb edi, dword [ebx]
lea esi, [edi*4]
push esi
push dword [ecx + 4]
push dword [ebx + 4]
call fcn.00438600
mov eax, dword [ebx]
sub eax, edi
shl eax, 2
push eax
mov eax, dword [ebx + 4]
add eax, esi
push eax
call fcn.00434d70
mov edi, dword [ebp - 0xa0]
add esp, 0x14
mov esi, 1
nop dword [eax + eax]
mov eax, esi
xor eax, edi
add eax, 0x1f
shr eax, 5
push eax
push ebx
push dword [ebp + esi*4 - 0x84]
push ebx
call fcn.0041c7b0
inc esi
add esp, 0x10
cmp esi, 0x20
jb 0x4184b0
cmp byte [ebp - 0x85], 0
mov ebx, dword [ebp - 0x9c]
jne 0x4184fa
mov edi, dword [ebp - 0x94]
push edi
push ebx
push ebx
push dword [ebp - 0x98]
call fcn.00417f30
add esp, 0x10
jmp 0x41853d
mov ecx, dword [ebp - 0x94]
mov edi, dword [ecx]
cmp dword [ebx], edi
cmovb edi, dword [ebx]
lea esi, [edi*4]
push esi
push dword [ecx + 4]
push dword [ebx + 4]
call fcn.00438600
mov eax, dword [ebx]
sub eax, edi
shl eax, 2
push eax
mov eax, dword [ebx + 4]
add eax, esi
push eax
call fcn.00434d70
mov edi, dword [ebp - 0x94]
add esp, 0x14
mov byte [ebp - 0x85], 0
cmp dword [ebp - 0x90], 0
je 0x418583
mov esi, 5
nop dword [eax + eax]
push ebx
push ebx
push ebx
push dword [ebp - 0x98]
call fcn.00417f30
add esp, 0x10
sub esi, 1
jne 0x418550
mov ecx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x8c]
sub ecx, 5
mov ebx, dword [ebp - 0x94]
sub edi, 5
jmp 0x418394
xor ebx, ebx
nop word [eax + eax]
mov esi, dword [ebp + ebx*4 - 0x84]
mov eax, dword [esi]
shl eax, 2
push eax
push dword [esi + 4]
call fcn.00434d70
push 8
push esi
call fcn.00434d70
push esi
call fcn.00434320
inc ebx
add esp, 0x14
cmp ebx, 0x20
jb 0x418590
mov eax, dword [edi]
pop esi
shl eax, 2
push eax
push dword [edi + 4]
call fcn.00434d70
push 8
push edi
call fcn.00434d70
push edi
call fcn.00434320
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
shl eax, 2
push eax
push dword [ecx + 4]
call fcn.00434d70
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov eax, dword [ebp - 0x9c]
xor ecx, ebp
pop edi
pop ebx
call fcn.00437271
mov esp, ebp
pop ebp
ret