Function at 0x445b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79761c
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x1a8], 0
call fcn.0041d330
mov dword [ebp - 4], 0
mov al, byte [ebp - 0xf8]
test al, al
je 0x446577
cmp dword [ebp - 0x100], 0
je 0x446568
mov eax, 4
mov dword [ebp - 0x144], 0xd80087
mov dword [ebp - 0x148], eax
xor ecx, ecx
mov dword [ebp - 0x140], 0xcb00ce
mov dword [ebp - 0x13c], 0xad
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jb 0x445ba0
xor ecx, ecx
mov word [ebp + eax*2 - 0x144], cx
lea eax, [edi + 0x30]
push 0x7cf384
push eax
lea eax, [ebp - 0x1dc]
push eax
call fcn.00421b40
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x164]
call fcn.00413520
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00408060
add esp, 0x1c
lea ecx, [ebp - 0x164]
call fcn.00404490
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 5
call fcn.00404490
mov ecx, dword [esi]
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0xf4], eax
lea eax, [ecx + 0x8c]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404120
mov edi, 1
mov byte [ebp - 4], 6
mov ecx, dword [esi]
cmp byte [ecx + 0xa4], 0
jne 0x445cc1
lea eax, [ecx + 0x1c]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00404120
mov edi, 3
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x164]
push 0x7cf384
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x445c98
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xf0]
call fcn.00407c50
lea ecx, [ebp - 0x164]
call fcn.00404490
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 6
call fcn.00404490
mov ecx, dword [esi]
mov dword [ebp - 0x134], 0
cmp dword [ecx + 0xa8], 0
mov dword [ebp - 0x1ac], edi
mov byte [ebp - 0x135], 0
je 0x445ddd
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 8
mov dword [ebp - 0x1a0], 0xd200f6
mov dword [ebp - 0x19c], 0x98009d
mov dword [ebp - 0x198], 0xdc0083
mov dword [ebp - 0x194], 0xd700ca
mov dword [ebp - 0x190], 0xb1
call fcn.00403e20
push eax
lea ecx, [ebp - 0x164]
call fcn.004040b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 4
mov dword [ebp - 0x144], 0xd80087
mov dword [ebp - 0x140], 0xcb00ce
mov dword [ebp - 0x13c], 0xad
call fcn.00403e20
push eax
lea ecx, [ebp - 0x1dc]
call fcn.004040b0
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1dc]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x1c4]
call fcn.005761b0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.00404030
lea ecx, [ebp - 0x1c4]
call fcn.00404490
lea ecx, [ebp - 0x1dc]
call fcn.00404490
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 6
call fcn.00404490
lea ecx, [ebp - 0x134]
call fcn.00419680
mov byte [ebp - 0x135], al
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x7d6f90
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
push 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xb
or edi, 4
lea ecx, [ebp - 0xd8]
push eax
mov dword [ebp - 0x1a8], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xc0], 0x7c8164
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0xd
mov eax, 0x1c
mov dword [ebp - 0x18c], eax
xor ecx, ecx
mov dword [ebp - 0x188], 0xfb00f2
mov dword [ebp - 0x184], 0xcd00de
mov dword [ebp - 0x180], 0xcf00df
mov dword [ebp - 0x17c], 0xc400c1
mov dword [ebp - 0x178], 0xdc00d8
mov dword [ebp - 0x174], 0xe900d6
mov dword [ebp - 0x170], 0xd700ee
mov dword [ebp - 0x16c], 0xdc00d3
mov dword [ebp - 0x168], 0x9a00e4
mov dword [ebp - 0x164], 0xc400de
mov dword [ebp - 0x160], 0xd100cd
mov dword [ebp - 0x15c], 0xb400cd
mov dword [ebp - 0x158], 0xac00a8
mov dword [ebp - 0x154], 0xe400a4
mov dword [ebp - 0x150], 0xc5
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x445f31
xor ecx, ecx
mov word [ebp + eax*2 - 0x188], cx
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00404740
push 0
lea edx, [ebp - 0xf4]
mov esi, eax
lea ecx, [ebp - 0x1c4]
call fcn.00582710
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x445f8e
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
mov edx, 4
mov dword [ebp - 0x144], 0xde0089
add esp, 0xc
mov dword [ebp - 0x148], edx
mov esi, eax
mov dword [ebp - 0x140], 0x8c00c4
mov dword [ebp - 0x13c], 0xad
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov edx, dword [ebp - 0x148]
cmp ecx, edx
jb 0x445fd0
xor eax, eax
mov word [ebp + edx*2 - 0x144], ax
lea eax, [ebp - 0x144]
push eax
push esi
call fcn.00404740
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push ecx
push eax
call fcn.00404c80
add esp, 0x14
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1c4]
call fcn.00404490
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x270]
push eax
call fcn.004465a0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x314]
push eax
call fcn.00445880
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xd8]
push ecx
push esi
push 0xcb
push eax
push 1
mov ecx, edi
call fcn.00469f50
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call fcn.004073e0
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov dword [ebp - 0x14c], 7
xor ecx, ecx
mov dword [ebp - 0x148], 0xcf00db
mov dword [ebp - 0x144], 0xc900cc
mov dword [ebp - 0x140], 0xc700c9
mov dword [ebp - 0x13c], 0xb000db
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x4460f0
xor ecx, ecx
mov dword [ebp - 0x190], 7
mov word [ebp + eax*2 - 0x148], cx
xor eax, eax
mov dword [ebp - 0x194], ecx
lea ecx, [ebp - 0x148]
mov word [ebp - 0x1a4], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446135
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004044f0
push 0x7cf388
push 0x7d93d8
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xf
call fcn.004486e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x23c]
push 2
xor eax, eax
mov dword [ebp - 0x22c], 0
push 0x7d93d0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x224]
call fcn.00404120
push 0
lea edx, [ebp - 0xf4]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x1c4]
call fcn.00582710
add esp, 4
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x13
push eax
push 0x7cf388
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 7
mov word [ebp - 0x20c], ax
call fcn.004044f0
mov dword [ebp - 0x1e4], 0
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1e0], 0
xor eax, eax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x1f4], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1e4], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00404490
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x26c]
push eax
push ecx
lea ecx, [ebp - 0x16c]
call fcn.004481b0
push 0
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00421920
add esp, 0x10
lea ecx, [ebp - 0x16c]
call fcn.00446810
push fcn.00420a60
push 3
push 0x30
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x18
push eax
call fcn.0076e7c5
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x19
call fcn.00404490
mov cl, byte [ebp - 0x114]
test cl, cl
jne 0x4462d8
push 0xffffffffffffffff
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x135], 0
je 0x4462ec
mov ecx, dword [ebp - 0x134]
call fcn.004195a0
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x7d6f90
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0xd8]
or eax, 0xc
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0xc0]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x1b
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0xc0], 0x7c8164
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0x1c
mov eax, 0x1c
mov dword [ebp - 0x18c], eax
xor ecx, ecx
mov dword [ebp - 0x188], 0xfb00f2
mov dword [ebp - 0x184], 0xcd00de
mov dword [ebp - 0x180], 0xcf00df
mov dword [ebp - 0x17c], 0xc400c1
mov dword [ebp - 0x178], 0xdc00d8
mov dword [ebp - 0x174], 0xe900d6
mov dword [ebp - 0x170], 0xd700ee
mov dword [ebp - 0x16c], 0xdc00d3
mov dword [ebp - 0x168], 0x9a00e4
mov dword [ebp - 0x164], 0xd200de
mov dword [ebp - 0x160], 0x9e00d9
mov dword [ebp - 0x15c], 0xb800da
mov dword [ebp - 0x158], 0xad00b1
mov dword [ebp - 0x154], 0xb000b1
mov dword [ebp - 0x150], 0xc5
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x446450
xor ecx, ecx
mov word [ebp + eax*2 - 0x188], cx
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x270]
push eax
call fcn.004466d0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x314]
push eax
call fcn.00445880
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xd8]
push ecx
push esi
push 0xd9
push eax
push 1
mov ecx, edi
call fcn.00469f50
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], 0x7c81a4
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call fcn.004073e0
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov byte [ebp - 4], 0x1d
mov al, byte [ebp - 0x114]
test al, al
js 0x446548
movsx eax, al
lea ecx, [ebp - 0x135]
push ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x135], 0
push ecx
mov eax, dword [eax*4 + 0x7d76e8]
call eax
add esp, 8
lea ecx, [ebp - 0xf0]
mov byte [ebp - 0x114], 0xff
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov al, byte [ebp - 0xf8]
test al, al
je 0x446577
lea ecx, [ebp - 0x110]
call fcn.00404490
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.0076eb7e
mov esp, ebp
pop ebp
ret 4