Function at 0x579a00
Capabilities:
Encode data using xor
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a398c
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x831184]
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 esi, ecx
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x3ec], 0
lea ecx, [ebp - 0x404]
mov byte [ebp - 0x3ec], 0
mov edx, esi
push dword [ebp - 0x3ec]
call fcn.0041c8d0
add esp, 4
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], 0
call fcn.00427e60
lea ecx, [ebp - 0x404]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
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_]
test bl, bl
je 0x579d16
push 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x3ec], 4
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], 2
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 dword [ebp - 4], 3
mov eax, 0x1c
mov dword [ebp - 0x42c], eax
xor ecx, ecx
mov dword [ebp - 0x428], 0x8b0088
mov dword [ebp - 0x424], 0x8c008a
mov dword [ebp - 0x420], 0xcb00ff
mov dword [ebp - 0x41c], 0xdf00c2
mov dword [ebp - 0x418], 0xdb00c7
mov dword [ebp - 0x414], 0xd300dd
mov dword [ebp - 0x410], 0xc50095
mov dword [ebp - 0x40c], 0xcb00ce
mov dword [ebp - 0x408], 0xdf00cd
mov dword [ebp - 0x404], 0x9c00d6
mov dword [ebp - 0x400], 0xd100db
mov dword [ebp - 0x3fc], 0xa400d3
mov dword [ebp - 0x3f8], 0xb000a4
mov dword [ebp - 0x3f4], 0xe400f9
mov dword [ebp - 0x3f0], 0xc5
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x428], ax
inc ecx
mov eax, dword [ebp - 0x42c]
cmp ecx, eax
jb 0x579bf0
xor ecx, ecx
mov word [ebp + eax*2 - 0x428], cx
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00404740
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x579c34
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.00404c80
add esp, 0xc
call fcn.004345f0
mov dword [ebp - 0x3ec], eax
lea eax, [ebp - 0x56c]
push eax
call fcn.0057a210
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x579c74
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579c63
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x4cc]
push eax
call fcn.00578e90
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea ebx, [esi + 4]
test edx, edx
je 0x579ca4
lea eax, [ecx + 0xa9]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x579c93
mov ecx, dword [ebp - 0x3ec]
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0xd8]
push eax
push edi
push 0x15c
push ebx
push 0
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 eax, 2
jmp 0x57a1ed
push 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x3ec], 8
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], 5
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 dword [ebp - 4], 6
mov eax, 0x11
movaps xmm0, xmmword [0x7e57f0]
xor ecx, ecx
mov dword [ebp - 0x28], eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xba99
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0x24], al
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x579db7
mov byte [ebp + eax - 0x24], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00413580
add esp, 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x579de9
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
push eax
call fcn.00404c80
add esp, 0xc
call fcn.004345f0
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x56c]
push eax
call fcn.0057a350
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea ebx, [edi + 4]
test edx, edx
je 0x579e31
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebx + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x579e20
xor eax, eax
mov word [ebx + edx*2], ax
lea eax, [ebp - 0x4cc]
push eax
call fcn.00578e90
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x3ec], eax
test edx, edx
je 0x579e7e
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2 + 4], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x579e60
mov esi, dword [ebp - 0x434]
mov eax, dword [ebp - 0x3ec]
xor ecx, ecx
mov word [eax + edx*2], cx
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x430]
push ebx
push 0x160
push eax
push 1
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_]
push 0x260
lea eax, [ebp - 0x3e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x5c
mov dword [ebp - 0x3e8], 0
add esp, 0xc
mov dword [ebp - 0x194], 0
mov word [ebp - 0x190], ax
mov dword [ebp - 0x18c], 0
mov dword [ebp - 4], 7
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x579f37
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x3e8]
call fcn.00415f30
test eax, eax
je 0x57a1ae
cmp dword [ebp - 0x18c], 0
je 0x57a1ae
mov eax, dword [ebp - 0x3e4]
shr eax, 4
and eax, 1
je 0x57a1ae
push esi
lea ecx, [ebp - 0x410]
call fcn.00403150
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 8
push eax
call fcn.00418c00
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3f8]
call fcn.00404220
lea ecx, [ebp - 0x410]
call fcn.00404490
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x579fae
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x3e8]
call fcn.00415f30
test eax, eax
je 0x57a1aa
push str.clntmp
lea ecx, [ebp - 0x404]
call fcn.004040b0
lea edx, [ebp - 0x404]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0041d4e0
lea ecx, [ebp - 0x404]
mov byte [ebp - 4], 0xb
call fcn.00404490
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x57a009
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
push ecx
call edi
test eax, eax
jne 0x57a1a2
mov ecx, esi
call fcn.0057a5d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], 8
jb 0x57a037
mov ecx, dword [esi]
push eax
push ecx
call edi
test eax, eax
jne 0x57a1a2
push 0xb0
push eax
lea eax, [ebp - 0x188]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x188], 0x7d6f90
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x178], 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 - 0x170]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x3ec], 0x18
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], 0xd
mov eax, dword [ebp - 0x188]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x188], 0x7c81a4
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x18c], eax
lea ecx, [ebp - 0x170]
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 - 0x170], 0x7c8164
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x410]
movaps xmm0, xmmword [0x7e5dd0]
movups xmmword [ebp - 0x40c], xmm0
push esi
movaps xmm0, xmmword [0x7e5430]
mov dword [ebp - 0x410], 0x1c
movups xmmword [ebp - 0x3fc], xmm0
call fcn.004131e0
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00413580
add esp, 8
push eax
call fcn.00404930
add esp, 8
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x56c]
push eax
call fcn.0057a490
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0x4cc]
push eax
call fcn.00578e90
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x188]
push ecx
push esi
push 0x17a
push eax
push 0
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x188]
call fcn.00406480
lea ecx, [ebp - 0x28]
call fcn.00404490
mov esi, 2
jmp 0x57a1b3
lea ecx, [ebp - 0x28]
call fcn.00404490
xor esi, esi
jmp 0x57a1b3
mov esi, 1
push dword [ebp - 0x194]
mov dword [ebp - 0x18c], 0
call fcn.007906c5
mov ecx, dword [ebp - 0x3e8]
add esp, 4
mov dword [ebp - 0x194], 0
test ecx, ecx
je 0x57a1eb
cmp ecx, 0xffffffff
je 0x57a1eb
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
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.0076eb7e
mov esp, ebp
pop ebp
ret