Function at 0x44221c07
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
sub esp, 0x23c
lea ebp, [esp - 4]
mov eax, dword [0x442bd0c0]
xor eax, ebp
mov dword [ebp + 0x23c], eax
push 0x4c
mov eax, 0x44280c1c
call fcn.4427ccf5
test byte [0x442bd2e8], 1
mov eax, dword [ebp + 0x250]
mov esi, dword [ebp + 0x248]
mov edi, dword [ebp + 0x24c]
mov dword [ebp - 0x18], eax
jne 0x44221c6f
or dword [0x442bd2e8], 1
push 0x44288603
xor ebx, ebx
push str.CMachineInfo::WriteGlobalMid
mov ecx, 0x442bd2e4
mov dword [ebp - 4], ebx
call fcn.44209dd7
or dword [ebp - 4], 0xffffffff
jmp 0x44221c71
xor ebx, ebx
push 0x442bd2e4
push 1
lea ecx, [ebp - 0x20]
call fcn.44209e1f
push 0x103
lea eax, [ebp + 0x139]
push ebx
push eax
mov dword [ebp - 4], 1
mov byte [ebp + 0x138], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [ebp + 0x138]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x44221cec
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.44209e83
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x23c]
xor ecx, ebp
call fcn.4427cc16
add ebp, 0x240
leave
ret
lea eax, [ebp + 0x138]
push 0x44288654
push eax
call sub.MSVCR90.dll_strcat
lea eax, [ebp + 0x138]
push esi
push eax
call sub.MSVCR90.dll_strcat
lea eax, [ebp + 0x138]
push 0x442886a8
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x44221d36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.44209e83
mov al, bl
jmp 0x44221cc9
mov esi, 0x100
push esi
lea eax, [ebp]
push ebx
push eax
call sub.MSVCR90.dll_memset
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0x73
pop eax
push 0x20
mov word [ebp], ax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 2]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push dword [edi + 0x14]
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp + 0x62]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push esi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x100]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push str.mu8ik_lo90p____
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x100]
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 5
call sym.dwutility.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_DwUtility::encryption::AESEncrypt_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0xc
push eax
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 3
jmp 0x44221e1d
cmp dword [ebp + 0x130], ebx
je 0x44221e7c
push dword [ebp - 0x14]
lea ecx, [ebp + 0x11c]
push 1
push dword [ebp + 0x130]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x44221e7c
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, 1
jmp 0x44221d26
push dword [ebp - 0x14]
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp + 0x100]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x44221d26