Function at 0x403c3e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
lea ebp, [eax - 0x4500]
push esi
lea esi, [eax - 0x976]
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x3c]
lea ebp, [ecx - 0x4500]
add eax, 0x58d
mov dword [esp + 0xc], esi
mov dword [esp + 0x30], eax
lea edx, [ecx + 0x80]
push edi
mov eax, ebp
mov dword [esp + 0x14], edx
lea edi, [ebx - 0xf5b]
xor eax, 0x42b1
xor ebx, 0x125d
mov dword [esp + 0x44], ebx
cmp ebx, eax
jne 0x403e23
lea eax, [ebx - 0x696]
push eax
lea eax, [edi + 0x17]
push eax
lea eax, [edx - 0x554]
push eax
lea eax, [edi + 0xa23]
xor edi, 0x7a1b
push eax
push edi
push dword [0x603bec]
call fcn.00415e7c
mov edi, dword [esp + 0x50]
mov esi, eax
lea eax, [ebp + 0x42b1]
push eax
mov eax, dword [esp + 0x2c]
xor eax, 0x6f99
push eax
push edi
lea eax, [ebx + 0x24f]
mov ebx, dword [esp + 0x58]
push eax
lea eax, [ebp + 0x3c1b]
push eax
lea eax, [ebx + 0x3d8]
push eax
call fcn.004082d7
mov ecx, eax
lea eax, [ebx + 0x1544]
push eax
mov eax, esi
xor esi, 0x29d
xor eax, 0xb44
push eax
push ecx
push esi
lea eax, [ebp + 0x3f43]
push edi
push eax
call fcn.00403f87
add esp, 0x48
mov edx, eax
cmp dword [edi + 0xb0], 0x45cc
jb 0x403d55
mov ecx, dword [0x603bec]
mov eax, dword [ecx + 0xe8]
xor eax, dword [edi + 0xc0]
add eax, 0xf8a7625
mov dword [ecx + 8], eax
jmp 0x403d68
mov eax, dword [0x60d834]
sub eax, dword [edi + 0xfc]
sub eax, 0x22d90
add dword [edi + 0x10], eax
mov eax, dword [0x60d7d4]
mov esi, dword [esp + 0x3c]
add eax, 0xc057e
mov dword [0x60d760], eax
mov eax, esi
xor eax, 0x56ec
push eax
lea eax, [edx + 0x8ff]
push eax
lea eax, [ebp + 0x49f5]
push eax
mov eax, dword [esp + 0x20]
add eax, 0x116c
push eax
lea eax, [edx - 0xc5c]
push eax
push edi
call fcn.00404a00
mov eax, dword [0x60d788]
add esp, 0x18
cmp eax, dword [edi + 0xb4]
mov eax, dword [0x603bec]
je 0x403dd6
mov ecx, 0x1b4b95
sub ecx, dword [eax + 0xd8]
sub ecx, dword [edi + 0xb0]
add dword [edi + 0x108], ecx
jmp 0x403de7
mov eax, dword [eax + 0xa8]
add eax, 0x910c
mov dword [edi + 0x84], eax
mov ecx, dword [0x60d760]
jmp 0x403e19
mov eax, ecx
imul eax, ecx
add dword [0x60d828], eax
mov eax, dword [edi + 0x88]
sub eax, 0x1d3ef4
xor dword [edi + 4], eax
mov eax, dword [0x60d798]
add eax, 0xe06da4e0
or dword [0x60d744], eax
inc ecx
cmp ecx, dword [edi + 0x48]
jbe 0x403def
jmp 0x403f79
lea eax, [ebx + 0x5413]
mov dword [esp + 0x40], edx
xor eax, 0x5413
mov dword [esp + 0x28], eax
cmp edx, eax
jl 0x403f75
mov ecx, dword [esp + 0x34]
mov eax, ebx
xor eax, 0x49f5
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x3c1b]
mov dword [esp + 0x1c], eax
mov ebp, edx
mov eax, ebx
or eax, esi
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x5413]
mov dword [esp + 0x24], eax
mov esi, dword [0x60d788]
mov eax, dword [esp + 0x38]
or esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
and esi, ecx
mov edx, dword [0x60d7ac]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x84]
or ecx, 0x4c7b
sub eax, dword [ebx + 0xa8]
or eax, dword [0x60d808]
xor edx, dword [0x60d788]
push eax
mov eax, dword [esp + 0x38]
imul eax, edi
push eax
push ebx
push ecx
push edx
push esi
call fcn.004082d7
mov edi, dword [esp + 0x30]
or edi, dword [0x60d730]
mov dword [esp + 0x2c], eax
mov eax, ebx
mov edx, dword [eax + 0xfc]
mov esi, edx
mov ecx, dword [eax + 0x5c]
and edx, ebp
mov eax, dword [0x603bec]
or esi, 0x4191
xor ecx, dword [esp + 0x28]
push edx
and ecx, dword [eax + 0xd0]
push ecx
push esi
push edi
push dword [esp + 0x44]
mov esi, ebx
push esi
call fcn.00404a00
mov ecx, dword [esi + 0xac]
add esp, 0x30
and ecx, dword [esp + 0x3c]
mov ebp, eax
mov eax, dword [0x603bec]
push ecx
mov ecx, dword [esi + 0x120]
imul ecx, dword [esi + 0x5c]
mov eax, dword [eax + 0x50]
or eax, ebp
add ecx, dword [esp + 0x38]
push ecx
push dword [esp + 0x28]
push dword [esp + 0x30]
push eax
mov eax, dword [esi + 4]
imul eax, dword [esp + 0x58]
push eax
mov eax, dword [esi + 0xc]
sub eax, dword [esp + 0x5c]
push eax
call dword [0x418004]
mov eax, dword [esi + 0xa4]
xor eax, dword [esi + 0xd8]
sub eax, dword [esp + 0x3c]
push eax
call dword [0x418008]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
inc eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x28]
jge 0x403e6b
mov esi, dword [esp + 0x3c]
pop edi
lea eax, [esi + 0x4161]
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret