Function at 0x445b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79602c
mov eax, dword fs:[0]
push eax
sub esp, 0x308
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 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 0x446597
cmp dword [ebp - 0x100], 0
je 0x446588
mov eax, 4
mov dword [ebp - 0x144], 0xcb0096
mov dword [ebp - 0x148], eax
xor ecx, ecx
mov dword [ebp - 0x140], 0xdc00df
mov dword [ebp - 0x13c], 0xbc
nop dword [eax]
nop dword [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov eax, dword [ebp - 0x148]
cmp ecx, eax
jb 0x445bc0
xor ecx, ecx
mov word [ebp + eax*2 - 0x144], cx
lea eax, [edi + 0x30]
push 0x7cd374
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 0x445ce1
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 0x7cd374
push eax
call fcn.00413810
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x445cb8
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 0x445dfd
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 8
mov dword [ebp - 0x1a0], 0xc100e7
mov dword [ebp - 0x19c], 0x8f008c
mov dword [ebp - 0x198], 0xcf0092
mov dword [ebp - 0x194], 0xd800db
mov dword [ebp - 0x190], 0xc0
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], 0xcb0096
mov dword [ebp - 0x140], 0xdc00df
mov dword [ebp - 0x13c], 0xbc
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.00575030
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], 0x7d4f80
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x7d5218
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], vtable..7.0
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], 0x7c6164
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], 0xe800e3
mov dword [ebp - 0x184], 0xda00cf
mov dword [ebp - 0x180], 0xdc00ce
mov dword [ebp - 0x17c], 0xcb00d0
mov dword [ebp - 0x178], 0xaf00a9
mov dword [ebp - 0x174], 0x9e00a7
mov dword [ebp - 0x170], 0xa4009f
mov dword [ebp - 0x16c], 0xa300a2
mov dword [ebp - 0x168], 0xe90095
mov dword [ebp - 0x164], 0xb300af
mov dword [ebp - 0x160], 0xa200bc
mov dword [ebp - 0x15c], 0xbb00bc
mov dword [ebp - 0x158], 0xbf00b9
mov dword [ebp - 0x154], 0xf300b5
mov dword [ebp - 0x150], 0xd4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x445f51
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.00581590
add esp, 0xc
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x445fae
mov eax, dword [eax]
push ecx
push eax
push esi
call fcn.00404c80
mov edx, 4
mov dword [ebp - 0x144], 0xcd0098
add esp, 0xc
mov dword [ebp - 0x148], edx
mov esi, eax
mov dword [ebp - 0x140], 0x9b00d5
mov dword [ebp - 0x13c], 0xbc
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x144], ax
inc ecx
mov edx, dword [ebp - 0x148]
cmp ecx, edx
jb 0x445ff0
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.00434600
mov edi, eax
lea eax, [ebp - 0x270]
push eax
call fcn.004465c0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x314]
push eax
call fcn.004458a0
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.00469240
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable..7.0
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], 0xdc00ca
mov dword [ebp - 0x144], 0xde00dd
mov dword [ebp - 0x140], 0xd400d8
mov dword [ebp - 0x13c], 0xbf00ca
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x148], ax
inc ecx
mov eax, dword [ebp - 0x14c]
cmp ecx, eax
jb 0x446110
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 0x446155
sub ecx, edx
lea eax, [ebp - 0x148]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004044f0
push 0x7cd378
push 0x7d73c8
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0xf
call fcn.004486b0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x23c]
push 2
xor eax, eax
mov dword [ebp - 0x22c], 0
push 0x7d73c0
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.00581590
add esp, 4
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x13
push eax
push 0x7cd378
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.004481e0
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.00446830
push fcn.00420a60
push 3
push 0x30
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x18
push eax
call fcn.0076d1e5
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0x19
call fcn.00404490
mov cl, byte [ebp - 0x114]
test cl, cl
jne 0x4462f8
push 0xffffffffffffffff
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0x135], 0
je 0x44630c
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], 0x7d4f80
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x7d5218
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], vtable..7.0
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], 0x7c6164
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], 0xe800e3
mov dword [ebp - 0x184], 0xda00cf
mov dword [ebp - 0x180], 0xdc00ce
mov dword [ebp - 0x17c], 0xcb00d0
mov dword [ebp - 0x178], 0xaf00a9
mov dword [ebp - 0x174], 0x9e00a7
mov dword [ebp - 0x170], 0xa4009f
mov dword [ebp - 0x16c], 0xa300a2
mov dword [ebp - 0x168], 0xe90095
mov dword [ebp - 0x164], 0xa500af
mov dword [ebp - 0x160], 0xed00a8
mov dword [ebp - 0x15c], 0xb700ab
mov dword [ebp - 0x158], 0xbe00a0
mov dword [ebp - 0x154], 0xa700a0
mov dword [ebp - 0x150], 0xd4
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x188], ax
inc ecx
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
jb 0x446470
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.00434600
mov edi, eax
lea eax, [ebp - 0x270]
push eax
call fcn.004466f0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x314]
push eax
call fcn.004458a0
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.00469240
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable..7.0
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 0x446568
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 + 0x7d56d8]
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 0x446597
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.0076d59e
mov esp, ebp
pop ebp
ret 4