Function at 0x457060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eaa38
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 0x4570e5
mov eax, dword [ecx]
jmp 0x4570e7
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.004591c0
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x4571a5
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x45718a
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 0x4571be
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
cmp dword [ebp - 0x30], 0
jne 0x457220
push ebx
lea eax, [ebp - 0x58]
push eax
call fcn.0045a400
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x457207
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x4571ec
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 0x457220
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
push 0x50a9d4
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004546f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0044acc0
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45727d
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x457262
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 0x457292
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 0x4572b9
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 0x45734c
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
lea eax, [edx + 0x10]
mov dword [ebp - 0x11c], eax
jb 0x4572fc
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 0x457339
mov edx, esi
mov ecx, ebx
mov eax, dword [edx]
cmp eax, ecx
jbe 0x457335
or eax, 0xffffffff
jmp 0x457339
sbb eax, eax
neg eax
mov esi, dword [ebp - 0x114]
mov ebx, dword [ebp - 0x124]
shr eax, 0x1f
test al, al
je 0x45734e
mov esi, edi
mov eax, dword [ebp - 0x10c]
cmp esi, dword [eax + 8]
je 0x457394
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [eax + 8]
call fcn.0045b490
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x120]
add eax, 0x28
cmp edi, eax
je 0x45738b
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00409690
mov byte [ebp - 0x105], 1
jmp 0x45739a
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 0x4575f3
push dword [ebp - 0x110]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00459ba0
mov esi, eax
cmp edi, esi
je 0x457401
cmp dword [edi + 0x14], 0x10
jb 0x4573dc
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 0x4573f4
mov eax, dword [edi]
jmp 0x4573f6
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 0x45741a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
cmp dword [edi + 0x10], 0
jbe 0x45742e
push edi
call fcn.00459f50
test eax, eax
jne 0x4575f3
movaps xmm0, xmmword [0x50cc00]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0xe4], 0x29705d
movaps xmm0, xmmword [0x50cb50]
movups xmmword [ebp - 0xf4], xmm0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 9
call fcn.00477170
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 0x457470
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.0044acc0
add esp, 0x14
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00458340
mov esi, eax
cmp edi, esi
je 0x457521
cmp dword [edi + 0x14], 0x10
jb 0x4574fc
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 0x457514
mov eax, dword [edi]
jmp 0x457516
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x457536
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 0x457563
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 0x45758d
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 0x4575bd
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 0x4575f3
push edi
call fcn.00459f50
test eax, eax
je 0x4575f3
mov esi, dword [ebp - 0x110]
lea eax, [ebp - 0x40]
push edi
push esi
push eax
mov byte [ebp - 0x106], 1
call fcn.004598d0
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0045a850
cmp byte [ebp - 0x105], 0
jne 0x457722
mov edx, edi
lea ecx, [ebp - 0xa0]
call fcn.0040c460
mov esi, eax
cmp edi, esi
je 0x45764c
cmp dword [edi + 0x14], 0x10
jb 0x457627
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 0x45763f
mov eax, dword [edi]
jmp 0x457641
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x45766a
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 0x4576e2
push edi
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xb8]
call fcn.0045afb0
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 0x45771b
cmp byte [ebp - 0x106], 0
je 0x45771b
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x118]
push eax
lea ecx, [ecx + 8]
call fcn.0045b490
mov ecx, dword [ebp - 0x118]
add ecx, 0x28
cmp ecx, edi
je 0x45771b
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 0x457737
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 0x45775e
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.004a0525
mov esp, ebp
pop ebp
ret 8