Function at 0x100044e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
lea eax, [edx - 0x3239]
add ecx, 0xffffcdcd
lea ebx, [edx - 0x6b]
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
add esi, 0xfffffd0f
mov ecx, dword [esp + 0x28]
add ecx, 0xa8
mov dword [esp + 0x18], esi
push edi
lea edi, [ebp + 0x348]
cmp eax, ecx
jge 0x100046ba
mov eax, dword [esp + 0x2c]
add eax, 0xffffff6f
cmp edi, eax
jle 0x10004682
mov ecx, dword [esp + 0x14]
lea eax, [ebx - 0x2d2]
mov esi, dword [esp + 0x18]
push eax
lea eax, [edx - 0x89]
push eax
mov eax, dword [esp + 0x38]
add eax, 0xfffff889
push eax
push esi
push ebp
lea eax, [ecx + 0x541]
push eax
lea eax, [ecx + 0x4b0]
push eax
lea eax, [ebx + 0x1a4]
mov ebx, dword [esp + 0x48]
push eax
lea eax, [edi - 0x1bb]
push eax
lea eax, [ebx + 0x25a]
push eax
lea eax, [ebx - 0x52d]
push eax
call fcn.10005b40
lea ecx, [ebx - 0x11a]
add esp, 0x2c
lea eax, [edi + 0x213]
cmp ecx, eax
jge 0x100045bc
mov dword [esi + 0x158], 0xe
mov eax, dword [esi + 0x8c]
or dword [esi + 0xc], eax
dec eax
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0xf8]
mov edx, 0x310f
mov ecx, dword [esi + 0x13c]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x148]
add dword [ecx], eax
mov edi, dword [esi + 0x108]
mov eax, dword [edi + 0x90]
xor eax, 0x2f82
mov dword [esi + 0xac], eax
imul eax, dword [edi + 0x1e8], 0xc6cff1a9
cmp eax, edx
jb 0x10004627
mov ebx, dword [esi + 0xd8]
mov ecx, dword [esi + 0x134]
add ebx, 0xffffce32
nop
xor ecx, ebx
inc edx
mov dword [esi + 0x134], ecx
imul eax, dword [edi + 0x1e8], 0xc6cff1a9
cmp edx, eax
jbe 0x10004610
cmp dword [esi + 0x74], 0x2dad
jb 0x10004641
mov eax, dword [esi + 0xd8]
sub eax, 0x310f
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0x144]
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 0x150]
add dword [ecx], eax
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 0xd8]
jne 0x10004730
imul eax, dword [esi + 0xf0], 0x31ce
pop edi
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
pop esi
pop ebp
add eax, 0xffffff6f
pop ebx
ret
mov ecx, dword [esp + 0x18]
imul ebx, edi
or ebx, dword [ecx + 0x2c]
cmp dword [ecx + 0x10c], ebx
ja 0x10004730
mov eax, dword [ecx + 0x1b4]
or eax, dword [ecx + 0x98]
or eax, esi
sub dword [ecx + 0x1e8], eax
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
add eax, 0xffffff6f
pop ebx
ret
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0xe8]
mov ebp, dword [esi + 0xc]
and ecx, 0x3451
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ecx
cmp ebp, ecx
jne 0x10004730
imul ebx, dword [esp + 0x1c]
nop
lea ecx, [ebx + eax]
mov edx, eax
cmp eax, ecx
jge 0x10004723
mov edi, dword [esi + 0x160]
imul edi, dword [esp + 0x28]
mov ebp, dword [esi + 0x6c]
sub edi, dword [esp + 0x1c]
nop dword [eax + eax]
cmp ebp, edi
jae 0x10004715
mov eax, dword [esi + 0x1c4]
or eax, 0x31b0
add eax, dword [esi + 0x1e8]
add edx, 3
lea ecx, [ebx + eax]
cmp edx, ecx
jl 0x10004700
mov ebp, dword [esp + 0x20]
add ebp, 2
mov dword [esp + 0x20], ebp
cmp ebp, dword [esp + 0x34]
je 0x100046e0
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
add eax, 0xffffff6f
pop ebx
ret