Function at 0x4706b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79ad39
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x70
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x20], edi
push edi
mov dword [ebp - 0x64], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
push esi
call fcn.00430200
mov dword [ebp - 4], 0
lea ecx, [edi + 0x58]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x64], 1
lea eax, [esi + 0x120]
cmp ecx, eax
je 0x470739
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x470732
mov eax, dword [eax]
push edx
push eax
call fcn.004044f0
push 1
xor eax, eax
mov dword [ebp - 0x114], 0
push 0x7d7ba8
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
call fcn.004044f0
lea eax, [esi + 0xf0]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10c]
call fcn.00404120
mov dword [ebp - 4], 2
xor ecx, ecx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x50], 0xd800c8
mov dword [ebp - 0x4c], 0xcf00c8
mov dword [ebp - 0x48], 0xd800d2
mov dword [ebp - 0x44], 0xbf00cc
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x4707b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
xor eax, eax
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0xe0], 7
lea edx, [ecx + 2]
mov word [ebp - 0xf4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4707f0
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xf4]
call fcn.004044f0
lea eax, [esi + 0xa4]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xdc]
call fcn.00404120
mov byte [ebp - 4], 4
xor ecx, ecx
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 0xd000cd
mov dword [ebp - 0x14], 0xbb00de
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x18], ax
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jb 0x470840
xor ecx, ecx
mov word [ebp + eax*2 - 0x18], cx
xor eax, eax
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb0], 7
lea edx, [ecx + 2]
mov word [ebp - 0xc4], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470880
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.004044f0
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.00404120
xor ecx, ecx
mov byte [ebp - 4], 6
cmp byte [esi + 0x138], cl
je 0x4708ff
mov eax, 4
mov dword [ebp - 0x2c], 0xcb00cc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0xde00cf
mov dword [ebp - 0x24], 0xbc
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x2c], ax
inc ecx
mov eax, dword [ebp - 0x30]
cmp ecx, eax
jb 0x4708e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x2c], cx
lea eax, [ebp - 0x2c]
jmp 0x47093d
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], 0xd800de
mov dword [ebp - 0x38], 0xc800d6
mov dword [ebp - 0x34], 0xbd00d9
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x3c], ax
inc ecx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
jb 0x470920
xor ecx, ecx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
lea ecx, [ebp - 0x94]
call fcn.0046e3a0
mov dword [ebp - 4], 7
lea eax, [ebp - 0x64]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x58], 0
call fcn.0046e4d0
mov byte [ebp - 4], 8
lea ecx, [edi + 0x4c]
push dword [ebp - 0x20]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ecx + 4]
call fcn.00472640
lea ecx, [ebp - 0x60]
call fcn.00420a90
push fcn.00420a60
push 4
push 0x30
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0
push eax
call fcn.0076d1e5
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8