Function at 0x457010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea9f8
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10c], edi
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x128], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x110], ebx
mov dword [ecx + 0x10], 0
jb 0x457095
mov eax, dword [ecx]
jmp 0x457097
mov eax, ecx
push 0
push 0x507250
mov byte [eax], 0
call fcn.00409af0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
push 0
push 0x507250
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00409af0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
push 0x507250
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00409af0
push ebx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
mov byte [ebp - 0x106], 0
mov byte [ebp - 0x105], 0
call fcn.00459170
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x457155
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x45713a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00407660
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x45716e
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
cmp dword [ebp - 0x30], 0
jne 0x4571d0
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.0045a3b0
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4571b7
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x45719c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00407660
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4571d0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
push 0x50a9d0
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004546a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044ac70
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45722d
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x457212
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00407660
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x457242
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004099a0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x457269
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
lea ebx, [edi + 0x28]
push ebx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [edi + 8]
call fcn.004131f0
mov edi, dword [edi + 8]
mov esi, eax
mov dword [ebp - 0x114], esi
cmp esi, edi
je 0x4572fc
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0x11c], eax
jb 0x4572ac
mov edx, dword [edx]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x11c]
cmovae ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax]
cmp ebx, dword [esi]
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.00413f70
add esp, 0xc
test eax, eax
jne 0x4572e9
mov edx, esi
mov ecx, ebx
mov eax, dword [edx]
cmp eax, ecx
jbe 0x4572e5
or eax, 0xffffffff
jmp 0x4572e9
sbb eax, eax
neg eax
mov esi, dword [ebp - 0x114]
mov ebx, dword [ebp - 0x124]
shr eax, 0x1f
test al, al
je 0x4572fe
mov esi, edi
mov eax, dword [ebp - 0x10c]
cmp esi, dword [eax + 8]
je 0x457344
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [eax + 8]
call fcn.0045b440
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x120]
add eax, 0x28
cmp edi, eax
je 0x45733b
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409690
mov byte [ebp - 0x105], 1
jmp 0x45734a
mov edi, dword [ebp - 0x120]
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0x10], 0
ja 0x4575a3
push dword [ebp - 0x110]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00459b50
mov esi, eax
cmp edi, esi
je 0x4573b1
cmp dword [edi + 0x14], 0x10
jb 0x45738c
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4573a4
mov eax, dword [edi]
jmp 0x4573a6
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4573ca
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
cmp dword [edi + 0x10], 0
jbe 0x4573de
push edi
call fcn.00459f00
test eax, eax
jne 0x4575a3
movaps xmm0, xmmword [0x50cb70]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0xe4], 0x316845
movaps xmm0, xmmword [0x50cba0]
movups xmmword [ebp - 0xf4], xmm0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00477130
mov edx, eax
mov byte [ebp - 4], 0xa
xor ecx, ecx
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x103]
xor al, byte [ebp - 0x104]
mov byte [ebp + ecx - 0xe0], al
movzx eax, byte [ebp + ecx - 0x102]
xor al, byte [ebp - 0x104]
mov byte [ebp + ecx - 0xdf], al
add ecx, 2
cmp ecx, 0x22
jb 0x457420
lea eax, [ebp - 0xe0]
mov byte [ebp - 0xbe], 0
push eax
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00407900
push dword [ebp - 0x110]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0044ac70
add esp, 0x14
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004582f0
mov esi, eax
cmp edi, esi
je 0x4574d1
cmp dword [edi + 0x14], 0x10
jb 0x4574ac
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4574c4
mov eax, dword [edi]
jmp 0x4574c6
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x4574e6
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004099a0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x457513
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004099a0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
cmp eax, 0x10
jb 0x45753d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x45756d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004099a0
mov byte [ebp - 4], 2
cmp dword [edi + 0x10], 0
jbe 0x4575a3
push edi
call fcn.00459f00
test eax, eax
je 0x4575a3
mov esi, dword [ebp - 0x110]
lea eax, [ebp - 0x40]
push edi
push esi
push eax
mov byte [ebp - 0x106], 1
call fcn.00459880
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0045a800
cmp byte [ebp - 0x105], 0
jne 0x4576d2
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0040c460
mov esi, eax
cmp edi, esi
je 0x4575fc
cmp dword [edi + 0x14], 0x10
jb 0x4575d7
mov eax, dword [edi + 0x14]
mov ecx, edi
inc eax
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4575ef
mov eax, dword [edi]
jmp 0x4575f1
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x45761a
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.004099a0
push ebx
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xf
push ecx
mov esi, dword [eax + 8]
lea ecx, [eax + 8]
call fcn.00412b40
cmp dword [eax], esi
jne 0x457692
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xb8]
call fcn.0045af60
add esp, 4
mov esi, dword [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x10
lea ecx, [esi + 8]
call fcn.00414e50
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [esi + 8]
call fcn.00413c80
lea ecx, [ebp - 0xb8]
call fcn.00413730
jmp 0x4576cb
cmp byte [ebp - 0x106], 0
je 0x4576cb
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ecx + 8]
call fcn.0045b440
mov ecx, dword [ebp - 0x118]
add ecx, 0x28
cmp ecx, edi
je 0x4576cb
push 0xffffffffffffffff
push 0
push edi
call fcn.00409690
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4576e7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x45770e
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004099a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret 8