Function at 0x4709d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79ae72
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x82f184]
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 - 0xa0], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x100], 0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
lea esi, [ecx + 0xf0]
mov al, byte [ecx + 0x138]
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x470a6a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x470a5e
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004044f0
push 0x70
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x9c]
push dword [ebp - 0xa4]
call fcn.00430200
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0xa0]
add eax, 0x120
cmp ecx, eax
je 0x470ab9
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x470aaf
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.004044f0
push 1
xor eax, eax
mov dword [ebp - 0x1b0], 0
push 0x7d7ba8
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 7
mov word [ebp - 0x1c0], ax
call fcn.004044f0
push esi
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 4
call fcn.00404120
mov byte [ebp - 4], 5
xor ecx, ecx
mov dword [ebp - 0xc4], 7
mov dword [ebp - 0xc0], 0xd800c8
mov dword [ebp - 0xbc], 0xcf00c8
mov dword [ebp - 0xb8], 0xd800d2
mov dword [ebp - 0xb4], 0xbf00cc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc0], ax
inc ecx
mov eax, dword [ebp - 0xc4]
cmp ecx, eax
jb 0x470b30
xor ecx, ecx
mov word [ebp + eax*2 - 0xc0], cx
xor eax, eax
mov dword [ebp - 0x180], ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x17c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x190], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470b75
sub ecx, edx
lea eax, [ebp - 0xc0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.004044f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x178]
mov esi, dword [ebp - 0xa0]
lea eax, [esi + 0xa4]
push eax
call fcn.00404120
mov byte [ebp - 4], 7
xor ecx, ecx
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0xd4], 0xd000cd
mov dword [ebp - 0xd0], 0xbb00de
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xd4], ax
inc ecx
mov eax, dword [ebp - 0xd8]
cmp ecx, eax
jb 0x470be0
xor ecx, ecx
mov word [ebp + eax*2 - 0xd4], cx
xor eax, eax
mov dword [ebp - 0x150], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x14c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x160], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470c25
sub ecx, edx
lea eax, [ebp - 0xd4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.004044f0
push esi
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 8
call fcn.00404120
mov byte [ebp - 4], 9
cmp byte [esi + 0x138], 0
je 0x470cbb
mov eax, 4
mov dword [ebp - 0xe8], 0xcb00cc
mov dword [ebp - 0xec], eax
xor ecx, ecx
mov dword [ebp - 0xe4], 0xde00cf
mov dword [ebp - 0xe0], 0xbc
nop
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xe8], ax
inc ecx
mov eax, dword [ebp - 0xec]
cmp ecx, eax
jb 0x470c90
xor ecx, ecx
mov word [ebp + eax*2 - 0xe8], cx
lea eax, [ebp - 0xe8]
jmp 0x470d19
mov dword [ebp - 0xfc], 5
xor eax, eax
mov dword [ebp - 0xf8], 0xd800de
mov dword [ebp - 0xf4], 0xc800d6
mov dword [ebp - 0xf0], 0xbd00d9
nop word [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0xf8], cx
inc eax
mov ecx, dword [ebp - 0xfc]
cmp eax, ecx
jb 0x470cf0
xor eax, eax
mov word [ebp + ecx*2 - 0xf8], ax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.0046e3a0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x100]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
push eax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0xac], 0
push eax
mov dword [ebp - 0xa8], 0
call fcn.0046e4d0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
push dword [ebp - 0xdc]
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push dword [ebp - 0x4c]
call fcn.00472640
lea ecx, [ebp - 0xb0]
call fcn.00420a90
push fcn.00420a60
push 4
push 0x30
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 3
push eax
call fcn.0076d1e5
mov dword [edi], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
lea esi, [edi + 0x38]
push eax
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0xa4], esi
call fcn.00404120
movzx eax, byte [ebp - 0x14]
mov byte [ebp - 0xb4], al
mov dword [esi + 0x24], 0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0xe
call fcn.0046e910
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x24], eax
call fcn.00404490
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x60], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 0x64]
call fcn.00404120
movzx eax, byte [ebp - 0x14]
mov byte [edi + 0x7c], al
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x80]
push eax
call fcn.00430200
mov byte [ebp - 4], 0x12
lea esi, [edi + 0xf0]
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
xor eax, eax
lea ecx, [ebp - 0xc8]
push eax
push 0x7cd378
mov word [ebp - 0xc8], ax
call fcn.004044f0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xb0]
mov ecx, esi
push eax
call fcn.0042e370
lea ecx, [ebp - 0xb0]
call fcn.00404220
lea ecx, [ebp - 0xc8]
call fcn.00404490
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
test ecx, ecx
je 0x470f07
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x188], eax
mov dword [edi + 0x18c], ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x100], 1
call fcn.00430170
lea ecx, [ebp - 0x2c]
call fcn.00404490
mov dword [ebp - 4], 0x15
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x470f62
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x470f62
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x470f62
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
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.0076d59e
mov esp, ebp
pop ebp
ret 0x14