Function at 0x4502e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x6e7024]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x114], eax
test eax, eax
jne 0x450355
push dword [0x648fa4]
mov dword [ebp - 0x110], 0x64a518
push eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x10c], 0x4e7
call fcn.00437d10
add esp, 0xc
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00630fec
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
call fcn.0042f690
movzx eax, ax
push 0x103
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x107]
push 0
push eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x108], 0
call fcn.00631004
push 0x208
push 0
push dword [ebp - 0x114]
mov dword [ebp - 0x128], 0
call fcn.00631004
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
push 2
lea eax, [ebp - 0x12c]
push eax
push ebx
call fcn.0044fc40
add esp, 0x38
mov dword [ebp - 0x10c], eax
test eax, eax
jns 0x45043e
push eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x64a518
mov dword [ebp - 0x114], 0x4fc
call fcn.0047c780
mov dword [ebp - 0x114], 0x4fe
push 0x64a624
push edi
lea eax, [ebp - 0x118]
push esi
push eax
mov dword [ebp - 0x118], 0x64a518
call fcn.0044f370
mov eax, dword [ebp - 0x10c]
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00630fec
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
push 2
lea eax, [ebp - 0x124]
push eax
push ebx
call fcn.0044fc40
add esp, 0x14
mov dword [ebp - 0x10c], eax
test eax, eax
jns 0x450497
push eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x64a518
mov dword [ebp - 0x114], 0x50a
call fcn.0047c780
mov dword [ebp - 0x114], 0x50c
jmp 0x450407
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
mov eax, dword [ebp - 0x114]
push 4
add eax, 0x208
push eax
push ebx
call fcn.0044fc40
add esp, 0x14
mov dword [ebp - 0x10c], eax
test eax, eax
jns 0x4504f5
push eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x64a518
mov dword [ebp - 0x114], 0x518
call fcn.0047c780
mov dword [ebp - 0x114], 0x51a
jmp 0x450407
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
push 2
lea eax, [ebp - 0x128]
push eax
push ebx
call fcn.0044fc40
add esp, 0x14
mov dword [ebp - 0x10c], eax
test eax, eax
jns 0x45054e
push eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x64a518
mov dword [ebp - 0x114], 0x526
call fcn.0047c780
mov dword [ebp - 0x114], 0x528
jmp 0x450407
cmp word [ebp - 0x11c], 0
je 0x4505c0
push dword [0x648fa4]
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x110], 0x64a518
mov dword [ebp - 0x10c], 0x533
call fcn.00437d10
mov dword [ebp - 0x10c], 0x535
push 0x64a608
push edi
lea eax, [ebp - 0x110]
push esi
push eax
mov dword [ebp - 0x110], 0x64a518
call fcn.0044f370
add esp, 0x1c
mov eax, 0x8007049c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00630fec
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x124], 0x104
jbe 0x450600
push dword [0x648fa4]
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x110], 0x64a518
mov dword [ebp - 0x10c], 0x53f
call fcn.00437d10
mov dword [ebp - 0x10c], 0x541
jmp 0x45058a
push 0
push 0
push 0
call fcn.0042f690
push dword [ebp - 0x120]
movzx eax, ax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
lea eax, [ebp - 0x108]
push eax
push ebx
call fcn.0044fc40
add esp, 0x20
mov dword [ebp - 0x10c], eax
test eax, eax
jns 0x450671
push eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x64a518
mov dword [ebp - 0x114], 0x551
call fcn.0047c780
mov dword [ebp - 0x114], 0x553
jmp 0x450407
push dword [ebp - 0x120]
lea eax, [ebp - 0x11c]
push eax
push 2
lea eax, [ebp - 0x128]
push eax
push ebx
call fcn.0044fc40
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x4506f4
lea eax, [ebp - 0x110]
push ebx
push eax
mov dword [ebp - 0x110], 0x64a518
mov dword [ebp - 0x10c], 0x55f
call fcn.0047c780
push 0x64a624
push edi
lea eax, [ebp - 0x110]
push esi
push eax
mov dword [ebp - 0x110], 0x64a518
mov dword [ebp - 0x10c], 0x561
call fcn.0044f370
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00630fec
mov esp, ebp
pop ebp
ret
cmp word [ebp - 0x11c], 0
je 0x450735
push dword [0x648fa4]
lea eax, [ebp - 0x110]
push 0
push eax
mov dword [ebp - 0x110], 0x64a518
mov dword [ebp - 0x10c], 0x56c
call fcn.00437d10
mov dword [ebp - 0x10c], 0x56e
jmp 0x45058a
mov ecx, dword [ebp - 0x124]
xor eax, eax
test ecx, ecx
je 0x45074e
xor byte [ebp + eax - 0x108], 0x73
inc eax
cmp eax, ecx
jb 0x450741
push 0x104
push dword [ebp - 0x114]
lea eax, [ebp - 0x108]
push 0xffffffffffffffff
push eax
push 0
push 0x3a4
call dword [0x6470d0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00630fec
mov esp, ebp
pop ebp
ret