Function at 0x447030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], esi
mov eax, dword [0x4a2e68]
and eax, 0x53a0e625
mov dword [0x4a2e68], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov eax, dword [0x49be60]
inc eax
mov dword [0x49be60], eax
add eax, 0x16e7433b
xor eax, 0x369acbea
cmp eax, 0x45bf4e5b
je 0x4470b0
mov eax, dword [0x4a19f4]
shl eax, 6
mov ecx, dword [0x498c88]
lea eax, [eax + ecx - 0x700fe94d]
mov dword [0x498c88], eax
mov eax, dword [0x49d43c]
imul eax, eax, 0xe7a6bfed
mov dword [0x49d43c], eax
cmp dword [esp + 0x30], 0
jle 0x447370
mov eax, 0x9ea73d7f
mov ecx, dword [0x49a2f4]
mov edx, ecx
dec edx
mov dword [0x49a2f4], edx
add ecx, 0xf5a71e3d
mov edx, dword [0x49d1a4]
xor ecx, edx
mov edx, dword [0x49f98c]
and edx, ecx
mov dword [0x49f98c], edx
mov ecx, dword [0x49bbf0]
mov edx, ecx
inc edx
mov dword [0x49bbf0], edx
add ecx, 0x300b9417
mov edx, dword [0x49aca0]
imul edx, ecx
mov dword [0x49aca0], edx
mov ecx, dword [0x4934ec]
mov edx, dword [0x4a1c94]
xor edx, 0xffffffff
xor ecx, edx
cmp eax, ecx
jne 0x447158
mov eax, dword [0x4a1548]
sar eax, 3
add eax, 0x2c39991c
and eax, 0xfa3e3811
mov ecx, dword [0x4a2224]
xor ecx, eax
mov dword [0x4a2224], ecx
mov eax, dword [0x495258]
add eax, 0xfc6439c1
mov dword [0x495258], eax
mov eax, dword [esp + 0x34]
mov ecx, eax
add ecx, 4
mov dword [esp + 0x34], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
mul ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [0x49e998]
shl eax, 9
mov ecx, dword [0x4a2440]
and ecx, eax
mov dword [0x4a2440], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [0x499920]
xor eax, 0x8042044a
mov dword [0x499920], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [0x492c8c]
add eax, 0x857d36a1
mov dword [0x492c8c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [0x492b6c]
imul eax, eax, 0xc2734a2
mov dword [0x492b6c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x10]
adc ecx, 0
mov dword [esp + 0x10], ecx
mov ecx, dword [0x493a68]
mov edx, ecx
inc edx
mov dword [0x493a68], edx
add ecx, 0x11a7f090
mov edx, dword [0x4a0a34]
sub edx, ecx
mov dword [0x4a0a34], edx
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x14]
add edx, ecx
mov dword [esp + 0x14], edx
mov ecx, dword [0x493690]
mov edx, dword [0x4a2654]
and ecx, edx
mov edx, dword [0x4935a0]
sub edx, ecx
mov dword [0x4935a0], edx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
mov edx, dword [edx]
sub ecx, edx
mov edx, dword [esp + 0x10]
adc edx, 0
mov dword [esp + 0x10], edx
mov edx, dword [0x496f78]
mov esi, 0xa074307d
sub esi, edx
mov edx, dword [0x49e108]
xor edx, 0x40358e49
cmp esi, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
jg 0x4472a0
mov eax, dword [0x499dec]
shl eax, 3
mov ecx, dword [0x49c5b8]
or ecx, eax
mov dword [0x49c5b8], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [0x49e394]
xor eax, 0xe9888c6c
mov cx, word [0x4a82d0]
movsx edx, cx
and edx, 0xd655f8ee
xor edx, 0xf6d670b9
cmp eax, edx
jne 0x44730d
mov eax, dword [0x49bad4]
cmp eax, 0x58ca2065
jle 0x447308
mov eax, 0xccd26bf9
mov ecx, dword [0x496d38]
add ecx, 0xe90aa782
cmp eax, ecx
jge 0x4472fe
jmp 0x447303
jmp 0x447303
jmp 0x447308
jmp 0x44730d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
mov edx, ecx
add edx, 4
mov dword [esp + 0x38], edx
mov dword [ecx], eax
mov eax, dword [0x499d4c]
and eax, 0xdcf36661
mov dword [0x499d4c], eax
mov si, word [0x4a9bf8]
mov ax, si
dec eax
mov di, ax
mov word [0x4a9bf8], di
movsx eax, si
imul eax, eax, 0x40397622
add eax, 0xf9964fc5
mov ecx, dword [0x49ebe0]
and ecx, eax
mov dword [0x49ebe0], ecx
mov eax, dword [esp + 0x30]
add eax, 0xffffffff
mov dword [esp + 0x30], eax
jmp 0x4470c0
mov ax, word [0x4a757c]
mov cx, ax
inc ecx
mov dx, cx
mov word [0x4a757c], dx
movsx ecx, ax
mov esi, dword [0x49bbb0]
lea ecx, [ecx + esi - 0x7aa76b8d]
mov esi, dword [0x492220]
xor esi, ecx
mov dword [0x492220], esi
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [0x49c58c]
not ecx
or ecx, 0x1a44fa
and ecx, 0x781a6ffe
mov esi, dword [0x4975a4]
sub esi, ecx
mov dword [0x4975a4], esi
mov eax, dword [0x4934ec]
or eax, 0xc7f757ff
mov dword [0x4934ec], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
add edx, eax
mov dword [ecx], edx
mov eax, dword [0x49db20]
add eax, 0x97a685c9
mov dword [0x49db20], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
sbb ecx, ecx
and ecx, 1
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x497550]
add ecx, 0xb16580a7
mov dword [0x497550], ecx
mov ecx, dword [esp + 0x38]
add ecx, 4
mov dword [esp + 0x38], ecx
mov ecx, dword [0x49cedc]
mov edx, ecx
dec edx
mov dword [0x49cedc], edx
add ecx, 0x7d4049cf
xor ecx, 0xa4fe
mov si, word [0x4a8052]
mov dx, si
and edx, ecx
mov si, dx
mov word [0x4a8052], si
mov dword [esp + 4], eax
cmp dword [esp + 0x2c], 0
jne 0x4473cd
mov eax, dword [0x497ac8]
or eax, 0x450808
mov dword [0x497ac8], eax
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret