Function at 0x4618b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebef0
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104], ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x461932
mov eax, dword [esi]
jmp 0x461934
mov eax, esi
push 0
push 0x507250
mov ecx, esi
mov byte [eax], 0
call fcn.00409af0
mov dword [esi + 0x18], 0
xor edi, edi
mov dword [ebp - 0x120], 1
xor eax, eax
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0x104]
lea ecx, [ebp - 0x11c]
add edx, 0x1c
mov dword [ebp - 4], 2
call fcn.0042acf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x11c]
mov eax, ecx
mov dword [ebp - 0x100], eax
cmp ecx, dword [ebp - 0x118]
je 0x461bbe
nop dword [eax + eax]
xor ecx, ecx
mov dword [ebp - 0x44], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x58], cx
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x48], 0
call fcn.00403ab0
mov dword [ebp - 0x40], 0x63004d
mov dword [ebp - 0x3c], 0x290029
mov dword [ebp - 0x38], 0x2e
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3e]
xor eax, ecx
mov word [ebp - 0x32], ax
xor edx, ecx
mov eax, dword [ebp - 0x3a]
xor eax, ecx
mov word [ebp - 0x34], dx
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x38]
xor eax, ecx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x2e], ax
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
test dx, dx
jne 0x461a2d
xor ecx, ecx
jmp 0x461a42
lea ecx, [ebp - 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x461a33
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403e20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push 1
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xe0]
call fcn.0042a560
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x461a7f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov edi, dword [ebp - 0xe0]
movq qword [ebp - 0x3e], xmm0
mov word [ebp - 0x36], ax
mov esi, dword [edi]
cmp esi, edi
je 0x461b55
xor ecx, ecx
mov dword [ebp - 0x6c], 7
push 0xffffffffffffffff
push ecx
lea eax, [esi + 0x10]
mov word [ebp - 0x80], cx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
call fcn.00403ab0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xfc]
call fcn.00420b40
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x461b02
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00403f90
cmp byte [esi + 0xd], 0
jne 0x461b47
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x461b2c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x461b47
nop dword [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x461b20
jmp 0x461b47
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x461b45
cmp esi, dword [eax + 8]
jne 0x461b45
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x461b35
mov esi, eax
cmp esi, edi
jne 0x461ab3
mov edi, dword [ebp - 0xe0]
push edi
push dword [edi]
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0042bcc0
push dword [ebp - 0xe0]
call fcn.004a0550
mov byte [ebp - 4], 3
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x461b91
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403f90
mov eax, dword [ebp - 0x100]
add eax, 0x18
mov dword [ebp - 0x100], eax
cmp eax, dword [ebp - 0x118]
jne 0x4619b0
mov eax, dword [ebp - 0xf4]
mov edi, dword [ebp - 0xfc]
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0x108]
lea ecx, [ebp - 0x110]
call fcn.00463380
xor eax, eax
mov byte [ebp - 4], 0xb
push eax
push 0x5026d8
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
call fcn.00403e20
mov byte [ebp - 4], 0xc
mov esi, edi
cmp edi, dword [ebp - 0xf8]
je 0x461dbb
nop dword [eax]
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0xbc], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00403ab0
push ecx
lea edx, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xb8]
call fcn.0041fba0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0042a000
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x461c95
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004099a0
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], 0xf
push eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.004131f0
mov edi, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x110]
je 0x461d16
cmp dword [eax + 0x24], 0x10
lea edx, [eax + 0x10]
lea eax, [edx + 0x10]
jb 0x461cd8
mov edx, dword [edx]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, edi
mov edi, dword [eax]
cmp dword [ebp - 0x18], edi
mov eax, edi
cmovb eax, dword [ebp - 0x18]
push eax
push edx
push ecx
call fcn.00413f70
add esp, 0xc
test eax, eax
jne 0x461d0c
mov eax, dword [ebp - 0x18]
cmp edi, eax
jbe 0x461d08
or eax, 0xffffffff
jmp 0x461d0c
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x461d5c
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x461d29
inc eax
lea ecx, [ebp - 0x28]
push eax
push edi
call fcn.004099a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x461d4b
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00403f90
add esi, 0x18
cmp esi, dword [ebp - 0xf8]
jne 0x461c20
jmp 0x461dbb
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00403ab0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x461d87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x461dbb
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.00403f90
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push 0
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.004c74e3
add esp, 8
cmp eax, 0xffffffff
je 0x4621ed
push ecx
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x58]
call fcn.0041fba0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
call fcn.00420580
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x461e1c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
mov dword [ebp - 0x44], 0xf
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.0043dd50
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x14
call fcn.0043cbc0
test al, al
sete cl
mov byte [ebp - 0xd1], cl
mov byte [ebp - 4], 0x15
or edi, 0xffffffff
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x461ea6
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x461ea6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x461ea0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov cl, byte [ebp - 0xd1]
mov byte [ebp - 4], 0x13
test cl, cl
jne 0x4621d8
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.0043dd50
sub esp, 0x28
mov byte [ebp - 4], 0x16
mov eax, esp
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x3c]
push 1
mov dword [eax + 0x24], 0
call fcn.0043ccb0
add esp, 0x2c
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x461f29
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x461f29
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x461f29
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0x18
movzx eax, byte [ebp - 0x3c]
sub eax, 0
je 0x4621d0
sub eax, 1
je 0x461f4e
sub eax, 1
jne 0x461f60
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x461f55
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x4621d0
movaps xmm0, xmmword [str.BBoHURGHECbGRG]
movups xmmword [ebp - 0x88], xmm0
mov byte [ebp - 4], 0x1a
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x87]
xor al, byte [ebp - 0x88]
mov byte [ebp + ecx - 0x78], al
mov al, byte [ebp + ecx - 0x86]
xor al, byte [ebp - 0x88]
mov byte [ebp + ecx - 0x77], al
add ecx, 2
cmp ecx, 0xe
jb 0x461f80
cmp byte [ebp - 0x78], 0
mov byte [ebp - 0x6a], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jne 0x461fca
xor ecx, ecx
jmp 0x461fd9
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x461fd0
sub ecx, edx
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x58]
call fcn.00409af0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043ce20
push eax
lea ecx, [ebp - 0xe8]
call fcn.00448130
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x462017
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004099a0
mov byte [ebp - 4], 0x1e
movzx eax, byte [ebp - 0xe8]
sub eax, 0
je 0x4621c5
sub eax, 1
je 0x462042
sub eax, 1
jne 0x462057
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jmp 0x46204c
mov eax, dword [ebp - 0xe0]
cmp dword [eax + 4], 0
sete al
test al, al
jne 0x4621c5
movaps xmm0, xmmword [0x50cbb0]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x54], 0
mov byte [ebp - 4], 0x1f
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x63]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x53], al
mov al, byte [ebp + ecx - 0x62]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x52], al
mov al, byte [ebp + ecx - 0x61]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x51], al
mov al, byte [ebp + ecx - 0x60]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x50], al
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x64]
mov byte [ebp + ecx - 0x4f], al
add ecx, 5
cmp ecx, 0xf
jb 0x462070
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
jne 0x4620cf
xor ecx, ecx
jmp 0x4620de
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4620d5
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x80]
call fcn.00409af0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0xe8]
call fcn.0043ce20
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.0044ba80
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x462120
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.004099a0
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0xb8]
mov edi, dword [ebp - 0xd8]
xorps xmm0, xmm0
push edi
push eax
movups xmmword [ebp - 0x63], xmm0
call fcn.0045fc00
cmp dword [edi + 0x18], 0
jne 0x462162
mov ecx, dword [ebp - 0x104]
push edi
call fcn.004606a0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x462180
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.004099a0
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.0044ac70
lea ecx, [ebp - 0x3c]
call fcn.0044ac70
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4621f3
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
jmp 0x4621f3
lea ecx, [ebp - 0xe8]
call fcn.0044ac70
lea ecx, [ebp - 0x3c]
call fcn.0044ac70
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4621ed
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x462211
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x110]
push eax
mov dword [ebp - 0x90], 0
push dword [eax]
lea eax, [ebp - 0xf0]
push eax
call fcn.0045e7a0
push dword [ebp - 0x110]
call fcn.004a0550
mov esi, dword [ebp - 0x11c]
add esp, 4
test esi, esi
je 0x462298
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0x118]
push ecx
mov ecx, esi
call fcn.00422570
mov ecx, dword [ebp - 0x114]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00414110
mov esi, dword [ebp - 0xfc]
test esi, esi
je 0x4622d9
push dword [ebp - 0xf0]
mov edx, dword [ebp - 0xf8]
push ecx
mov ecx, esi
call fcn.00422570
mov ecx, dword [ebp - 0xec]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push esi
call fcn.00414110
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0525
mov esp, ebp
pop ebp
ret 0xc