Function at 0x7304d0
Capabilities:
Check mutex on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bd0a4
mov eax, dword fs:[0]
push eax
sub esp, 0x7bc
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, dword [ebp + 8]
mov dword [ebp - 0x14], 0
cmp byte [esi], 0
je 0x73051b
push esi
call fcn.0072b110
add esp, 4
jmp 0x730b19
cmp byte [esi + 0x34], 0
je 0x73052f
push esi
call fcn.00731da0
add esp, 4
jmp 0x730b19
cmp byte [esi + 0x36], 0
je 0x73053f
call fcn.00728370
jmp 0x730b19
cmp byte [esi + 0x37], 0
je 0x73064d
call fcn.00765f40
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x5ac]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.00420e80
mov eax, dword [ebp - 0x590]
mov byte [ebp - 4], 1
test al, al
js 0x73059d
movsx eax, al
lea ecx, [ebp - 0x585]
push ecx
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 0x585], 0
push ecx
mov eax, dword [eax*4 + 0x7d76e8]
call eax
add esp, 8
lea eax, [ebp - 0x5d8]
mov byte [ebp - 4], 0
push eax
call fcn.006611c0
add esp, 4
push eax
lea eax, [ebp - 0x5ac]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00421030
mov al, byte [ebp - 0x590]
mov byte [ebp - 4], 3
test al, al
js 0x7305f6
movsx eax, al
lea ecx, [ebp - 0x585]
push ecx
lea ecx, [ebp - 0x5ac]
mov byte [ebp - 0x585], 0
push ecx
mov eax, dword [eax*4 + 0x7d76e8]
call eax
add esp, 8
mov edx, dword [ebp - 0x5c4]
mov byte [ebp - 0x590], 0xff
cmp edx, 8
jb 0x73063f
mov ecx, dword [ebp - 0x5d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x730635
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x730635
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076e8f3
add esp, 8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x730b19
cmp byte [esi + 0x38], 0
je 0x73065d
call fcn.0072d690
jmp 0x730b19
lea eax, [ebp - 0x5c0]
push eax
lea ecx, [ebp - 0x585]
call fcn.00726430
mov ebx, eax
xor ecx, ecx
mov edx, dword [ebx]
lea edi, [ebx + 4]
test edx, edx
je 0x730691
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [ebx]
cmp ecx, edx
jb 0x730680
push edi
xor eax, eax
push 1
push eax
mov word [edi + edx*2], ax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x730868
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0xb7
je 0x730868
push 0x410
lea eax, [ebp - 0x584]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x584]
call fcn.0071de50
push esi
lea ecx, [ebp - 0x584]
mov dword [ebp - 4], 0xa
call fcn.0072e540
push ebx
mov dword [ebp - 0x58c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x730852
push 0xb0
push eax
lea eax, [ebp - 0x174]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x174], 0x7d6f90
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x164], 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 - 0x15c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x14], 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 eax, dword [ebp - 0x174]
mov dword [ebp - 4], 0xc
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x174], 0x7c81a4
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x178], eax
lea ecx, [ebp - 0x15c]
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 - 0x15c], 0x7c8164
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x620]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x585]
call fcn.00724a70
mov ecx, eax
call fcn.00403e20
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00404740
add esp, 8
mov esi, eax
call edi
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
call fcn.004345f0
mov edi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x7c8]
push eax
call fcn.00725ce0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x744]
push eax
call fcn.00720fe0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x174]
push ecx
push esi
push 0x2e8
push eax
push 0
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x174]
call fcn.00406480
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x584]
call fcn.007200c0
mov eax, dword [ebp - 0x58c]
jmp 0x730b1b
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d6f90
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 0xac]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x14], 1
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 eax, dword [ebp - 0xc4]
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
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 - 0xac], 0x7c8164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x624]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x585]
call fcn.00726f10
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x730951
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x730940
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0xb4]
push edi
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x6d0]
push eax
call fcn.007211c0
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x64c]
push eax
call fcn.00720fe0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc4]
push ecx
push esi
push 0x2da
push eax
push 1
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406480
call fcn.00769080
test al, al
je 0x730b19
push 0xb0
lea eax, [ebp - 0xc4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xc4], 0x7d6f90
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xb4], 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 - 0xac]
mov dword [ebp - 4], 7
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x14], 3
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 eax, dword [ebp - 0xc4]
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x7c81a4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xac]
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 - 0xac], 0x7c8164
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x620]
mov dword [ebp - 4], 9
push eax
lea ecx, [ebp - 0x585]
call fcn.007249e0
mov ecx, eax
call fcn.00403e20
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00404740
add esp, 8
call fcn.004345f0
mov edi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x6d0]
push eax
call fcn.00723050
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea ecx, [ebp - 0x585]
lea eax, [ebp - 0x64c]
push eax
call fcn.00720fe0
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0xc4]
push ecx
push esi
push 0x2dd
push eax
push 1
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406480
call fcn.00765440
xor eax, eax
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