Function at 0x45be20
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4a2249
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x164], edi
mov eax, dword [0x4cc854]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x170]
mov byte [esp + 0x164], 4
push ecx
lea ecx, [esp + 0x20]
call fcn.0048c53c
lea edx, [esp + 0x14]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x45beac
push 0x4c2288
lea ecx, [esp + 0x20]
call fcn.0048c7df
lea eax, [esp + 0x17c]
push str..ZRA
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0048c698
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 5
call fcn.0048c81b
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 4
call fcn.0048c403
mov edx, dword [esp + 0x1c]
push edi
push edx
call fcn.00476665
or ebp, 0xffffffff
add esp, 8
cmp eax, ebp
je 0x45bf54
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], 3
call fcn.0048c403
lea ecx, [esp + 0x170]
mov byte [esp + 0x164], 2
call fcn.0048c403
lea ecx, [esp + 0x174]
mov byte [esp + 0x164], 1
call fcn.0048c403
lea ecx, [esp + 0x178]
mov byte [esp + 0x164], 0
call fcn.0048c403
mov dword [esp + 0x164], ebp
jmp 0x45c3fb
lea ecx, [esp + 0x3c]
call fcn.00401980
mov eax, dword [esp + 0x170]
mov byte [esp + 0x164], 6
cmp dword [eax - 8], edi
je 0x45c27b
push ecx
lea edx, [esp + 0x174]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0048c178
mov eax, dword [esp + 0x184]
lea ecx, [esp + 0x40]
push eax
call fcn.00404220
mov eax, dword [0x4cc854]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
push 0x4caebc
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 8
call fcn.0048c58c
mov ecx, dword [0x4cc854]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x178]
mov eax, dword [esp + 0x174]
mov ecx, dword [esp + 0x17c]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str.__xml_version_1.0__encoding_GB2312_____r_n__ALLXML_StudentID__s__TestFlag__s__QusID__s_____r_n
push edx
mov byte [esp + 0x178], 9
call fcn.0048a7fc
add esp, 0x14
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
call fcn.0048c53c
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0xa44c]
call fcn.004042c0
test al, al
je 0x45c248
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x45c122
mov edx, dword [esp + 0x16c]
mov bl, 0xa
lea esi, [edx + 4]
mov eax, dword [0x4cc854]
mov dword [esp + 0x10], eax
mov edx, dword [esi]
mov eax, dword [esi - 4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], bl
push ecx
push 0x44
push edx
push eax
lea ecx, [esp + 0x4c]
call fcn.00403100
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
call fcn.0048a476
cmp eax, ebp
je 0x45c0fe
lea ecx, [esp + 0x10]
call fcn.0048a85b
lea ecx, [esp + 0x10]
call fcn.0048a80f
mov edx, dword [0x4cc854]
mov dword [esp + 0x14], edx
mov ecx, dword [esi]
mov edx, dword [esi - 4]
lea eax, [esi + 0x37e]
mov byte [esp + 0x164], 0xb
push eax
push ecx
push edx
lea eax, [esp + 0x20]
push str._TopicIndex__d__TopicSubIndex__d__QuizID__s_
push eax
call fcn.0048a7fc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
add esp, 0x14
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.0048a08f
push 0x4c2db0
lea ecx, [esp + 0x14]
call fcn.0048c7df
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.0048c81b
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], bl
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 9
call fcn.0048c403
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x3a4
cmp edi, eax
jl 0x45c03b
push 0x4cae14
lea ecx, [esp + 0x1c]
call fcn.0048c7df
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x45c1ed
mov ecx, dword [esp + 0x16c]
mov bl, 0xc
lea esi, [ecx + 4]
mov edx, dword [0x4cc854]
mov dword [esp + 0x10], edx
push 0x4cae08
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], bl
call fcn.0048c58c
mov eax, dword [0x4cc854]
mov dword [esp + 0x14], eax
mov edx, dword [esi]
mov eax, dword [esi - 4]
lea ecx, [esi + 0x37e]
mov byte [esp + 0x164], 0xd
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4cadc4
push ecx
call fcn.0048a7fc
add esp, 0x14
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0048c81b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.0048c81b
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], bl
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x164], 9
call fcn.0048c403
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x3a4
cmp edi, eax
jl 0x45c14a
or ebp, 0xffffffff
push 0x4cadb4
lea ecx, [esp + 0x1c]
call fcn.0048c7df
push str.__ALLXML_
lea ecx, [esp + 0x1c]
call fcn.0048c7df
lea ecx, [esp + 0x2c]
call fcn.00490080
mov ecx, dword [esp + 0x1c]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x170], 0xe
call fcn.00490192
test eax, eax
jne 0x45c2f3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 9
call fcn.004900d5
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 8
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 7
call fcn.0048c403
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 6
call fcn.0048c403
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], 4
call fcn.004019d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], 3
call fcn.0048c403
lea ecx, [esp + 0x170]
mov byte [esp + 0x164], 2
call fcn.0048c403
lea ecx, [esp + 0x174]
mov byte [esp + 0x164], 1
call fcn.0048c403
lea ecx, [esp + 0x178]
mov byte [esp + 0x164], 0
call fcn.0048c403
lea ecx, [esp + 0x17c]
mov dword [esp + 0x164], ebp
call fcn.0048c403
xor al, al
jmp 0x45c409
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 8]
push esi
call fcn.0048c144
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
test esi, esi
jle 0x45c331
mov ecx, dword [esp + 0x18]
mov cl, byte [eax + ecx]
xor cl, 0xbc
mov byte [eax + ebp], cl
inc eax
cmp eax, esi
jl 0x45c31f
push esi
push ebp
lea ecx, [esp + 0x34]
call fcn.004902e9
lea ecx, [esp + 0x2c]
call fcn.004903ad
push ebp
call fcn.0048c16d
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x164], 9
call fcn.004900d5
lea ecx, [esp + 0x28]
mov byte [esp + 0x164], 8
call fcn.0048c403
lea ecx, [esp + 0x20]
mov byte [esp + 0x164], 7
call fcn.0048c403
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 6
call fcn.0048c403
lea ecx, [esp + 0x3c]
mov byte [esp + 0x164], 4
call fcn.004019d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x164], 3
call fcn.0048c403
lea ecx, [esp + 0x170]
mov byte [esp + 0x164], 2
call fcn.0048c403
lea ecx, [esp + 0x174]
mov byte [esp + 0x164], 1
call fcn.0048c403
lea ecx, [esp + 0x178]
mov byte [esp + 0x164], 0
call fcn.0048c403
mov dword [esp + 0x164], 0xffffffff
lea ecx, [esp + 0x17c]
call fcn.0048c403
mov al, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret 0x18