Function at 0x4680f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x799e2e
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x82f184]
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 - 0x100], edi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x6c]
mov esi, dword [ebp + 0xc]
push 0x58
push 0
push eax
mov dword [ebp - 0x14], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x6c]
push esi
call fcn.0042efa0
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x120], 0xd
mov dword [ebp - 0x11c], 0xcd0097
mov dword [ebp - 0x118], 0xc900db
mov dword [ebp - 0x114], 0xdb00d5
mov dword [ebp - 0x110], 0xcc00d8
mov dword [ebp - 0x10c], 0xab00ee
mov dword [ebp - 0x108], 0xac00b1
mov dword [ebp - 0x104], 0xc500aa
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x11c], ax
inc ecx
mov eax, dword [ebp - 0x120]
cmp ecx, eax
jb 0x4681a1
xor ecx, ecx
mov dword [ebp - 0xe0], 7
mov word [ebp + eax*2 - 0x11c], cx
xor eax, eax
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0x11c]
mov word [ebp - 0xf4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4681e6
sub ecx, edx
lea eax, [ebp - 0x11c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.004044f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
lea ecx, [ebp - 0x4c]
push dword [ebp - 0xe4]
cmovae eax, dword [ebp - 0xf4]
push eax
call fcn.004044f0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0
call fcn.00404490
push 0x70
lea eax, [ebp - 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xa
mov dword [ebp - 0xe8], 0xc9dfcaed
add esp, 0xc
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe4], 0xdad9fc91
xor ecx, ecx
mov dword [ebp - 0xe0], 0xc2b5ae
nop dword [eax]
lea eax, [ecx - 0x48]
xor byte [ebp + ecx - 0xe8], al
inc ecx
mov eax, dword [ebp - 0xec]
cmp ecx, eax
jb 0x468280
mov byte [ebp + eax - 0xe8], 0
lea ecx, [ebp - 0x184]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0x14], eax
mov eax, dword [edi]
add eax, 0x190
push eax
call fcn.00404120
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.00405710
add esp, 8
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x1e4]
call fcn.00468d70
lea ecx, [ebp - 0x19c]
call fcn.00407a10
lea ecx, [ebp - 0x184]
call fcn.00404490
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e4]
push eax
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00434560
mov edi, eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x6c]
call fcn.0042c320
push eax
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 6
push eax
call fcn.00405710
add esp, 8
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.00769a10
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0076a120
push edi
lea ecx, [ebp - 0x14]
call fcn.0076a150
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00769cf0
lea ecx, [ebp - 0x14]
call fcn.00769cd0
lea ecx, [ebp - 0x1b4]
call fcn.00407a10
lea ecx, [ebp - 0x118]
call fcn.00404490
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0xfc]
push dword [esi + 4]
lea ecx, [ebp - 0xfc]
call fcn.00435740
mov eax, dword [ebp - 0xfc]
push 0x40
mov dword [eax + 4], esi
mov eax, dword [ebp - 0xfc]
mov dword [eax], esi
mov eax, dword [ebp - 0xfc]
mov dword [eax + 8], esi
push dword [ebp - 0xfc]
mov dword [ebp - 0xf8], 0
call fcn.0076d313
add esp, 8
push fcn.00430150
push 1
push 0x30
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 0xe
push eax
call fcn.0076d1e5
cmp dword [ebp - 0x8c], 0
jne 0x46847a
cmp dword [ebp - 0xdc], 0xc8
jne 0x46847a
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xd8]
mov ecx, dword [ecx + 4]
cmp ecx, eax
je 0x468442
cmp dword [ebp - 0xc4], 0x10
push dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0xd8]
push eax
call fcn.00407ab0
mov dword [ebx], 0
lea ecx, [ebp - 0xdc]
xor eax, eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 7
mov word [ebx + 4], ax
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x34], al
call fcn.00434010
lea ecx, [ebp - 0x6c]
call fcn.0042bd80
jmp 0x4685d6
mov ecx, 0x16
mov dword [ebp - 0x150], 0xd800cc
mov dword [ebp - 0x154], ecx
xor eax, eax
mov dword [ebp - 0x14c], 0xc900c8
mov dword [ebp - 0x148], 0xdb00d5
mov dword [ebp - 0x144], 0xe000cd
mov dword [ebp - 0x140], 0xae00a4
mov dword [ebp - 0x13c], 0xad00b5
mov dword [ebp - 0x138], 0xaa00a8
mov dword [ebp - 0x134], 0xa300a7
mov dword [ebp - 0x130], 0xac0097
mov dword [ebp - 0x12c], 0xb900b8
mov dword [ebp - 0x128], 0xbf00a3
mov dword [ebp - 0x124], 0xce
nop
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x150], cx
inc eax
mov ecx, dword [ebp - 0x154]
cmp eax, ecx
jb 0x468500
xor eax, eax
mov dword [ebp - 0x158], 7
mov word [ebp + ecx*2 - 0x150], ax
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x15c], eax
lea edx, [ecx + 2]
mov word [ebp - 0x16c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x468543
sub ecx, edx
lea eax, [ebp - 0x150]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x16c]
call fcn.004044f0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebx + 4]
mov dword [ebx], 1
call fcn.00404120
lea ecx, [ebp - 0x16c]
mov byte [ebx + 0x1c], 0
mov byte [ebx + 0x34], 0
call fcn.00404490
lea ecx, [ebp - 0xdc]
call fcn.00434010
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x100]
push eax
call fcn.0042d190
push 0x40
push dword [ebp - 0x1c]
call fcn.0076d313
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.00404490
lea ecx, [ebp - 0x4c]
call fcn.00404490
lea ecx, [ebp - 0x64]
call fcn.00404490
mov eax, ebx
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.0076d59e
mov esp, ebp
pop ebp
ret 8