Function at 0x444ef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x14c]
mov ecx, 0x53
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x639704]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
call fcn.004040d4
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.004075c2
add esp, 8
movzx edx, al
test edx, edx
je 0x444f53
lea eax, [ebp + 8]
push eax
call fcn.00402d06
add esp, 4
jmp 0x44515d
mov esi, esp
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.MSVCP140D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp esi, esp
call fcn.00407923
test eax, eax
je 0x444fc7
mov esi, esp
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.MSVCP140D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp esi, esp
call fcn.00407923
mov esi, eax
mov edi, esp
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.MSVCP140D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
cmp edi, esp
call fcn.00407923
cmp esi, eax
jae 0x444fc7
lea eax, [ebp + 8]
push eax
call fcn.0040326a
add esp, 4
mov byte [ebp - 0x141], al
mov esi, esp
mov ecx, dword [ebp - 0xc]
call dword [sym.imp.MSVCP140D.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
cmp esi, esp
call fcn.00407923
mov cl, byte [ebp - 0x141]
mov byte [eax], cl
mov eax, dword [ebp + 8]
jmp 0x44515d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x4c], 0
jne 0x444fda
call fcn.004040d4
jmp 0x44515d
mov ecx, dword [ebp - 0xc]
call fcn.00409a43
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
jne 0x445048
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c]
mov dword [ebp - 0x144], ecx
lea edx, [ebp + 8]
push edx
call fcn.0040326a
add esp, 4
mov byte [ebp - 0x145], al
mov eax, dword [ebp - 0x144]
push eax
movzx ecx, byte [ebp - 0x145]
push ecx
call fcn.0040970a
add esp, 8
movzx edx, al
test edx, edx
je 0x445032
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
jmp 0x44503d
call fcn.004040d4
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
jmp 0x44515d
mov dword [ebp - 0x18], 0x20
lea eax, [ebp + 8]
push eax
call fcn.0040326a
add esp, 4
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x144], ecx
mov esi, esp
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x49]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x144]
call dword [sym.imp.MSVCP140D.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
cmp esi, esp
call fcn.00407923
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jl 0x445158
cmp dword [ebp - 0x148], 1
jle 0x4450c8
cmp dword [ebp - 0x148], 3
je 0x44511f
jmp 0x445158
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x40]
sub eax, ecx
mov dword [ebp - 0x70], eax
je 0x445104
mov esi, esp
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.00407923
cmp dword [ebp - 0x70], eax
je 0x445104
call fcn.004040d4
jmp 0x44515d
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x3d], 1
lea eax, [ebp - 0x49]
cmp dword [ebp - 0x58], eax
je 0x445118
mov eax, dword [ebp + 8]
jmp 0x44515d
call fcn.004040d4
jmp 0x44515d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x49]
push edx
call fcn.0040970a
add esp, 8
movzx eax, al
test eax, eax
je 0x445145
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x144], ecx
jmp 0x445150
call fcn.004040d4
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
jmp 0x44515d
call fcn.004040d4
push edx
mov ecx, ebp
push eax
lea edx, [0x445190]
call fcn.00407e46
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406c44
add esp, 0x14c
cmp ebp, esp
call fcn.00407923
mov esp, ebp
pop ebp
ret 4