Function at 0x45a450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov esp, esp
push esi
nop
sub esp, 4
mov dword [esp], 0x34e9931b
mov dword [esp - 0x34], 0x20064f25
add dword [esp], 0x4313ad59
sub dword [esp], 0x63dd3b92
add dword [esp], 0x2d6cef54
sub dword [esp], 0x943e10c
mov dword [esp - 0x1c], ecx
add dword [esp], 0x36f06171
xor dword [esp], 0x6f39749b
push dword [ebp + 8]
mov dword [esp - 0x40], ebp
mov esi, ecx
lea ecx, [ebp - 0x44]
call fcn.004835c0
lea ecx, [ebp - 0x44]
mov dword [esp - 0x44], esi
call fcn.00483a10
test al, al
jne 0x45a4d9
xchg ebx, ebx
mov ecx, esi
call fcn.0045a000
lea ecx, [ebp - 0x44]
mov dword [esp - 0x3c], esp
call fcn.00483810
pop esi
mov esp, ebp
pop ebp
xchg ebx, ebx
ret 4
lea eax, [esi + 0x1164]
lea ecx, [esi + 0x11a4]
mov dword [esp - 0x1c], ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
cmp eax, ecx
mov ebp, ebp
je 0x45af9b
push ebx
push edi
mov eax, dword [eax]
mov esp, esp
xor ebx, ebx
xor esi, esi
mov dword [ebp + 8], eax
xor edi, edi
mov dword [esp - 0x2c], ecx
mov dword [ebp - 0xc], ebx
cmp dword [eax + 0x88], ebx
jbe 0x45af68
add eax, 8
xchg esp, esp
mov dword [ebp - 8], eax
test esi, esi
je 0x45a58f
xchg ecx, ecx
cmp esi, edi
jb 0x45a5d5
add edi, 0x20
mov dword [ebp - 0x14], edi
xchg esi, esi
lea eax, [edi*4]
push eax
call fcn.0048b6d0
mov ebp, ebp
add esp, 4
mov dword [ebp - 0x10], eax
test esi, esi
xchg ecx, ecx
je 0x45a573
mov edi, ebx
mov ecx, eax
sub edi, eax
mov dword [esp - 0x40], ebx
mov edx, esi
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
mov edi, edi
sub edx, 1
jne 0x45a560
mov edi, dword [ebp - 0x14]
test ebx, ebx
xchg ebx, ebx
je 0x45a58a
push ebx
call fcn.0048b6f0
add esp, 4
mov dword [esp - 0x2c], 0x731212c8
mov ebx, dword [ebp - 0x10]
jmp 0x45a5d2
test ebx, ebx
jne 0x45a5d5
sub esp, 4
mov dword [esp], 0x2223da63
mov ecx, ecx
sub dword [esp], 0x1f5f597
xor dword [esp], 0x7f843bd4
sub dword [esp], 0x23d554a8
sub dword [esp], 0x3bd489f0
mov edx, edx
lea edi, [ebx + 0x20]
call fcn.0048b6d0
add esp, 4
mov ebx, eax
mov dword [esp - 0x44], 0x68c3e245
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebx + esi*4]
mov dword [esp - 0x14], ebp
mov dword [edx], ecx
add eax, 4
mov ecx, dword [ebp - 0xc]
mov dword [esp - 0x3c], esp
inc esi
mov edx, dword [ebp + 8]
inc ecx
mov dword [ebp - 0xc], ecx
xchg edi, edi
mov dword [ebp - 8], eax
cmp ecx, dword [edx + 0x88]
jb 0x45a523
xchg esp, esp
test esi, esi
je 0x45af65
lea esi, [ebx + esi*4]
mov ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], esi
mov edi, ebx
mov dword [ebp - 0x14], edi
xchg edi, edi
cmp ebx, esi
je 0x45af65
nop
mov ebx, dword [edi]
xchg edx, edx
mov dword [ebp - 0xc], ebx
mov eax, dword [ebx + 4]
xor eax, 0x6fa836ea
mov dword [esp - 0x14], esi
dec eax
cmp eax, 3
ja case.default.0x45a647
mov ebx, ebx
jmp dword [eax*4 + 0x45afae]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp + 8]
xor edx, 0x6fa836ea
mov dword [esp - 0x2c], 0x4d2c772f
mov ecx, dword [ebx]
xor ecx, 0x6fa836ea
push edx
mov eax, dword [eax]
xchg esi, esi
push ecx
xor eax, 0x6fa836ea
lea ecx, [ebp - 0x44]
push eax
mov ecx, ecx
call fcn.00484460
xor eax, 0x6fa836ea
mov dword [ebx + 8], eax
mov dword [esp - 0x20], ebx
jmp case.default.0x45a647
add ebx, 0x10
lea eax, [ebx + 4]
mov dword [esp - 0x3c], esp
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, 2
mov dword [esp - 0x10], 0x1a0afd29
jbe 0x45a6b2
mov ebx, dword [ebx]
xor ecx, ecx
mov dword [esp - 0x20], 0x49e3126a
inc eax
mov edx, 0x52b506e5
sub edx, 0x4539ee8f
mov dword [esp - 0x34], 0x2e39e283
xor edx, 0x2a1bd0
xor edx, 0x662304d1
add edx, 0xf6a82b3
mov dword [esp - 0x2c], 0x71e66fd9
xor edx, 0x7adc8a08
mul edx
seto cl
mov ecx, ecx
neg ecx
or ecx, eax
push ecx
call fcn.0048b720
mov dword [esp - 0x30], ebx
mov esi, eax
add esp, 4
mov eax, dword [ebp - 8]
mov edx, edx
xor edi, edi
mov dword [ebp - 0x10], esi
test eax, eax
mov ebp, ebp
je 0x45a777
mov edx, esi
sub ebx, esi
mov esp, esp
mov esi, eax
mov ecx, edi
lea edx, [edx + 2]
xchg esp, esp
and ecx, 3
mov eax, 0x7ffb8fb7
xor eax, 0x51dc4cd2
xor eax, 0xadff232
mov dword [esp - 0x14], 0x28bd5e1e
add eax, 0x5be1807
add eax, 0x2beb077c
add eax, 0x1cdcd366
mov ecx, ecx
shl ecx, 3
inc edi
sar eax, cl
cbw
mov dword [esp - 0xc], edx
xor ax, word [ebx + edx - 2]
mov word [edx - 2], ax
cmp edi, esi
mov dword [esp - 0x1c], esp
jb 0x45a722
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [esp - 0x44], ebp
push ecx
push ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 0x1c]
mov ebx, ebx
push ecx
push ecx
mov eax, dword [eax]
mov edx, edx
push eax
push esi
mov dword [ebp - 0x1c], eax
mov dword [esp - 0x10], ebx
mov eax, dword [0x4bab70]
xor eax, dword [0x4ba958]
push ecx
xchg esi, esi
sub esp, 4
mov dword [esp], 0x7e5764d3
sub dword [esp], 0x7892efd4
mov dword [esp - 0x18], 0x315168ca
add dword [esp], 0x371b8b38
xor dword [esp], 0x1f3d0276
sub dword [esp], 0x23dc0458
call eax
xchg esi, esi
mov ebx, eax
lea edi, [ebx + 1]
push edi
call fcn.0048b720
mov dword [esp - 0x34], esp
mov ecx, dword [0x4bab70]
add esp, 4
xor ecx, dword [0x4ba958]
mov dword [esp - 0x40], edx
mov dword [ebp - 0x10], eax
nop
sub esp, 4
mov dword [esp - 0x24], 0x1c7aacbf
mov dword [esp], 0x14a284c9
add dword [esp], 0x41c1a324
sub dword [esp], 0x3076b49d
xor dword [esp], 0x59b79e8d
mov esp, esp
sub dword [esp], 0x53a1d7c6
xor dword [esp], 0x28b91617
nop
sub esp, 4
xchg ecx, ecx
mov dword [esp], 0x1de84164
add dword [esp], 0x58687dbe
sub dword [esp], 0x3f584ec4
xchg esi, esi
sub dword [esp], 0x1529d2ae
sub dword [esp], 0x21ce9db0
push edi
push eax
mov dword [esp - 0x40], 0x7b3c8617
push dword [ebp - 0x1c]
push esi
nop
mov dword [esp - 0x28], esp
sub esp, 4
mov dword [esp], 0x5aa499eb
xor dword [esp], 0x74964bc6
add dword [esp], 0x4de0aae6
xchg edx, edx
xor dword [esp], 0x423ba554
sub dword [esp], 0x3e28d847
nop
mov dword [esp - 0x24], esp
mov dword [esp - 4], 0x6d30aaa4
sub dword [esp - 4], 0x3277ce32
add dword [esp - 4], 0x15fa23f0
mov esp, esp
sub dword [esp - 4], 0x44ce6782
add dword [esp - 4], 0x1aff1809
sub dword [esp - 4], 0xe6d7d96
mov ebx, ebx
sub dword [esp - 4], 0x1875356a
sub esp, 4
call ecx
mov edi, dword [ebp - 0x10]
xchg edi, edi
push esi
mov byte [edi + ebx], 0x57
sub byte [edi + ebx], 0x3d
xor byte [edi + ebx], 0x56
mov dword [esp - 0x34], 0x217b54d6
xor byte [edi + ebx], 0x68
sub byte [edi + ebx], 7
sub byte [edi + ebx], 0x1d
mov dword [esp - 0x20], 0x66776894
call fcn.0048b6f0
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esp - 0x30], esi
mov ecx, dword [ecx]
mov eax, dword [eax]
xor ecx, 0x6fa836ea
and ecx, 0xfffffff1
mov dword [esp - 0x2c], esp
xor eax, 0x6fa836ea
push edi
or ecx, 1
push ecx
mov ebx, ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.004844e0
mov dword [esp - 0x1c], 0x4731173d
mov ebx, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebx + 1]
xchg ebp, ebp
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x45a958
mov dword [esp - 0x44], esp
nop
mov dword [esp - 4], 0x54c0077a
sub dword [esp - 4], 0x4eb10927
xchg esi, esi
add dword [esp - 4], 0x57357ec7
xor dword [esp - 4], 0x77d6f772
sub dword [esp - 4], 0x29e91725
mov dword [esp - 0x14], edi
xor dword [esp - 4], 0x49e72a72
sub dword [esp - 4], 0x494e5931
sub esp, 4
nop
mov dword [esp - 0x3c], ebp
sub esp, 4
mov dword [esp], 0x5ed8b3e5
add dword [esp], 0x8b352f
mov edi, edi
xor dword [esp], 0xc1e3aeb
sub dword [esp], 0x360dd70d
add dword [esp], 0x118caf7e
mov dword [esp - 0x2c], edi
xor dword [esp], 0x2efcac70
sub ebx, edx
push ebx
xchg esi, esi
push eax
mov eax, dword [0x4bab68]
xor eax, dword [0x4ba958]
mov dword [esp - 0x40], 0x2d3dc16b
nop
mov dword [esp - 4], 0x42ac879b
xor dword [esp - 4], 0x6d4a060b
xchg edi, edi
xor dword [esp - 4], 0x6ff9c864
add dword [esp - 4], 0x31b2596b
sub dword [esp - 4], 0x71d1a35f
sub esp, 4
mov dword [esp - 0x40], esi
sub esp, 4
mov dword [esp], 0x1af70ba4
add dword [esp], 0x2993462e
mov edi, edi
xor dword [esp], 0x589f02b1
add dword [esp], 0x6374bb11
xor dword [esp], 0x7f8af39d
call eax
mov dword [esp - 0x34], 0x11cb0a8b
mov edi, eax
xor ecx, ecx
mov edx, 0x52f98a75
mov dword [esp - 0x10], ebp
xor edx, 0x4318c9a2
add edx, 0x2620e2aa
add edx, 0xf2a400f
sub edx, 0x21690b86
mov edx, edx
xor edx, 0x25c35b08
lea esi, [edi + 1]
mov eax, esi
xchg ebp, ebp
mul edx
seto cl
neg ecx
mov dword [esp - 0x10], edi
or ecx, eax
push ecx
call fcn.0048b720
mov dword [esp - 0x3c], esp
mov ecx, dword [0x4bab68]
add esp, 4
xor ecx, dword [0x4ba958]
mov dword [ebp - 8], eax
mov dword [esp - 0x3c], 0x1874ca22
push esi
push eax
push ebx
push dword [ebp - 0x1c]
mov dword [esp - 0x14], edx
nop
mov dword [esp - 4], 0x6203f7b7
sub dword [esp - 4], 0x4915bb4
mov edi, edi
sub dword [esp - 4], 0x11635835
sub dword [esp - 4], 0x13887b73
add dword [esp - 4], 0x37ceb593
mov dword [esp - 0x28], 0x7b3cfa54
sub dword [esp - 4], 0x70557dee
sub esp, 4
sub esp, 4
xchg ecx, ecx
mov dword [esp], 0x281c1157
xor dword [esp], 0x3df91ccb
sub dword [esp], 0x23aa31a
add dword [esp], 0x2efdb2d6
mov esi, esi
add dword [esp], 0x31c3354c
sub dword [esp], 0x746a54bb
call ecx
mov ebx, dword [ebp - 8]
mov dword [esp - 0x1c], 0x488f1f27
xor eax, eax
mov word [ebx + edi*2], ax
mov edi, ebx
mov dword [ebp - 0x2c], eax
mov esp, esp
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
mov ebp, ebp
jne 0x45ab55
sub edi, ecx
lea edx, [ebp - 0x2c]
sar edi, 1
mov dword [esp - 0x10], 0x3f840b11
mov dword [ebp - 0x28], edi
cmp edi, 2
jbe 0x45abda
xor ecx, ecx
xchg edx, edx
mov eax, edi
mov edx, 0x776c27e7
sub edx, 0x67cbf429
xor edx, 0x302a9f6
mov dword [esp - 0x20], ecx
add edx, 0x565fcc78
xor edx, 0x26d066c8
add edx, 0x39a95e1d
xor edx, 0x7f7b5e27
mov dword [esp - 0xc], 0x752f8cd6
mul edx
seto cl
neg ecx
xchg ecx, ecx
or ecx, eax
push ecx
call fcn.0048b720
mov dword [esp - 0x30], 0x76efce35
mov edi, dword [ebp - 0x28]
mov edx, eax
add esp, 4
xchg edi, edi
mov dword [ebp - 0x2c], edx
xor esi, esi
test edi, edi
mov edx, edx
je 0x45ac3f
mov edi, ebx
sub edi, edx
mov dword [esp - 0x18], 0x7d0ce19f
lea ebx, [ebx]
mov ecx, esi
lea edx, [edx + 2]
and ecx, 3
mov esp, esp
mov eax, 0x75e00102
sub eax, 0x68ae591f
add eax, 0x4155dada
add eax, 0x7b4b04a
mov dword [esp - 0x20], 0x38cf9906
add eax, 0x1d41f139
shl ecx, 3
inc esi
sar eax, cl
xchg edi, edi
cbw
xor ax, word [edi + edx - 2]
mov word [edx - 2], ax
mov dword [esp - 0x3c], 0x10458261
cmp esi, dword [ebp - 0x28]
jb 0x45abf4
mov ebx, dword [ebp - 0xc]
mov dword [esp - 0x30], 0x2c6a590
lea eax, [ebp - 0x2c]
nop
sub esp, 4
mov dword [esp - 0x38], 0x575a612
mov dword [esp], 0x7e72d3da
sub dword [esp], 0x31ad696a
sub dword [esp], 0x9d2e30d
add dword [esp], 0x3c291657
mov dword [esp - 0x38], edi
xor dword [esp], 0x664f1c83
sub dword [esp], 0x19548139
push eax
xchg ebx, ebx
lea esi, [ebx + 8]
push esi
call fcn.00481830
add esp, 0xc
mov dword [esp - 0x14], edx
test eax, eax
je 0x45ad3b
mov ecx, dword [ebx + 0x28]
mov dword [esp - 0x20], 0x6ff20999
test ecx, ecx
je 0x45ad3b
dec dword [ecx + 4]
mov dword [esp - 0x3c], esp
cmp dword [ecx + 4], 0
jg 0x45ad04
mov eax, dword [ecx]
nop
mov dword [esp - 0x2c], ecx
mov dword [esp - 4], 0x34d3139b
xor dword [esp - 4], 0x57988392
sub dword [esp - 4], 0x32d78785
sub dword [esp - 4], 0x1e272a50
mov dword [esp - 0x1c], esp
add dword [esp - 4], 0x3e99e1a4
sub dword [esp - 4], 0x50e6bfd7
sub esp, 4
call dword [eax]
xchg ecx, ecx
mov dword [ebx + 0x28], 0x36666740
add dword [ebx + 0x28], 0xd68dafd
sub dword [ebx + 0x28], 0x406ff404
mov esi, esi
add dword [ebx + 0x28], 0x28ba2ec3
sub dword [ebx + 0x28], 0x1861d61f
add dword [ebx + 0x28], 0xe997c36
mov dword [esp - 0x28], ecx
sub dword [ebx + 0x28], 0x22512313
lea eax, [ebp - 0x2c]
mov ecx, esi
mov dword [esp - 0x38], ebp
push eax
call fcn.00480bb0
cmp dword [ebp - 0x28], 2
jbe 0x45ad67
mov dword [esp - 0x20], 0x5db47a68
push dword [ebp - 0x2c]
call fcn.0048b6f0
add esp, 4
mov dword [esp - 0x28], ebx
push dword [ebp - 8]
call fcn.0048b6f0
mov edx, dword [ebx]
add esp, 4
mov ecx, ecx
mov ecx, dword [ebx + 0x1c]
xor edx, 0x6fa836ea
mov edi, dword [ebp + 8]
mov dword [esp - 0x34], 0x6387d5b0
xor ecx, 0x4d682477
and edx, 0xfffffff2
push ecx
mov dword [esp - 0x30], 0x186f1253
or edx, 2
lea ecx, [ebp - 0x44]
mov eax, dword [edi]
xor eax, 0x6fa836ea
xchg ebx, ebx
push edx
push eax
call fcn.004844a0
mov dword [esp - 0x38], ebx
mov ecx, dword [ebx + 0x18]
mov esi, eax
xor ecx, 0x4d682477
xchg ebp, ebp
cmp ecx, esi
je 0x45ae4f
mov ecx, dword [ebx + 0x28]
test ecx, ecx
mov ebx, ebx
je 0x45ae4f
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x45ae21
mov dword [esp - 0x10], ecx
mov eax, dword [ecx]
nop
mov dword [esp - 4], 0x1f1557f5
mov dword [esp - 0x40], esp
add dword [esp - 4], 0x34169db1
add dword [esp - 4], 0x27a7ac17
xor dword [esp - 4], 0x1fc0ae73
sub dword [esp - 4], 0xd332219
mov dword [esp - 0x24], ebp
sub dword [esp - 4], 0x57dfedb4
sub esp, 4
call dword [eax]
mov dword [ebx + 0x28], 0x55c67c5d
mov ebx, ebx
sub dword [ebx + 0x28], 0x73d4b4e
sub dword [ebx + 0x28], 0xdfb7f23
sub dword [ebx + 0x28], 0x10c1b209
mov ecx, ecx
add dword [ebx + 0x28], 0x2e9fb0c
xor dword [ebx + 0x28], 0x32b5faef
mov edx, dword [ebx]
xor esi, 0x4d682477
mov dword [esp - 0x28], 0x14fe6e3d
mov ecx, dword [ebx + 0x24]
xor edx, 0x6fa836ea
xor ecx, 0x6fa836ea
mov dword [ebx + 0x18], esi
mov ebx, ebx
mov eax, dword [edi]
and edx, 0xfffffff4
push ecx
mov ebx, ebx
or edx, 4
lea ecx, [ebp - 0x44]
xor eax, 0x6fa836ea
push edx
mov dword [esp - 0x3c], 0x735ec1d2
push eax
call fcn.00484460
mov ecx, dword [ebx + 0x20]
mov esi, eax
xchg edx, edx
xor ecx, 0x6fa836ea
cmp ecx, esi
je 0x45af32
xchg esp, esp
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x45af32
dec dword [ecx + 4]
mov dword [esp - 0x40], ebp
cmp dword [ecx + 4], 0
jg 0x45aefb
mov eax, dword [ecx]
mov dword [esp - 0x34], edi
nop
sub esp, 4
mov dword [esp], 0x6afc263b
mov dword [esp - 0x44], 0x10a7f397
sub dword [esp], 0x1bd6f8cf
sub dword [esp], 0x16793f04
sub dword [esp], 0x2000f0a2
mov dword [esp - 0x3c], edi
sub dword [esp], 0x18aafdc5
call dword [eax]
mov dword [ebx + 0x28], 0x64cb4946
xor dword [ebx + 0x28], 0x5434077d
xchg edx, edx
xor dword [ebx + 0x28], 0x37075b57
xor dword [ebx + 0x28], 0x12acd655
add dword [ebx + 0x28], 0x56051180
mov dword [esp - 0x14], esi
sub dword [ebx + 0x28], 0x12c72b24
sub dword [ebx + 0x28], 0x5892a995
push dword [ebp - 0x10]
xor esi, 0x6fa836ea
mov edi, edi
mov dword [ebx + 0x20], esi
call fcn.0048b6f0
mov edi, dword [ebp - 0x14]
add esp, 4
xchg esi, esi
mov esi, dword [ebp - 0x20]
add edi, 4
mov dword [ebp - 0x14], edi
cmp edi, esi
mov dword [esp - 0xc], esi
jne 0x45a628
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
test ebx, ebx
xchg ecx, ecx
je 0x45af7c
push ebx
call fcn.0048b6f0
mov ecx, dword [ebp - 4]
xchg ebp, ebp
add esp, 4
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
mov dword [esp - 0x44], 0x383c8fae
cmp eax, ecx
jne 0x45a4fb
pop edi
pop ebx
mov dword [esp - 0x44], ecx
lea ecx, [ebp - 0x44]
call fcn.00483810
pop esi
mov esp, ebp
mov ecx, ecx
pop ebp
ret 4