Function at 0x44aba0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x4931e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
push 0x44a930
lea edi, [ebx + 8]
mov dword [ebp - 0x43c], ebx
mov ecx, edi
mov dword [ebp - 0x438], edi
call dword [sym.imp.MSVCP120.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea esi, [ebx + 0xc]
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x440], esi
push eax
mov ecx, esi
call fcn.00403640
mov eax, dword [0x49389c]
test eax, eax
je 0x44ac1c
lea ecx, [ebp - 0x41c]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x44adda
test byte [section..data], 2
je 0x44ac42
cmp dword [ebp - 0x408], 0x10
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44ac47
cmp dword [ebx], 2
jl 0x44ac98
cmp dword [ebp - 0x408], 0x10
lea ebx, [ebp - 0x41c]
mov edi, dword [ebp - 0x40c]
cmovae ebx, dword [ebp - 0x41c]
mov esi, dword [sym.imp.MSVCR120.dll___iob_func]
call esi
add eax, 0x40
push eax
push 1
push edi
push ebx
call dword [sym.imp.MSVCR120.dll_fwrite]
call esi
add eax, 0x40
push eax
call dword [sym.imp.MSVCR120.dll_fflush]
mov edi, dword [ebp - 0x438]
add esp, 0x14
mov esi, dword [ebp - 0x440]
mov ebx, dword [ebp - 0x43c]
test byte [section..data], 1
je 0x44ad42
push 0
push 0
call fcn.0044b790
add esp, 8
cmp dword [0x4938ac], 0
jne 0x44acca
push 0xffffffffffffffff
push dword [0x4938a4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44acd5
mov ecx, dword [0x4938a0]
call fcn.00450f90
call fcn.0044b8e0
test al, al
je 0x44ad20
push 2
push 0
push 0
push dword [0x493890]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x408], 0x10
lea ecx, [ebp - 0x438]
push 0
push ecx
push dword [ebp - 0x40c]
lea eax, [ebp - 0x41c]
cmovae eax, dword [ebp - 0x41c]
push eax
push dword [0x493890]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x4938ac], 0
jne 0x44ad37
push dword [0x4938a4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44ad42
mov ecx, dword [0x4938a0]
call fcn.00450fa0
cmp dword [ebx], 3
jne 0x44adda
mov ecx, 0x400
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x40c], ecx
cmovb ecx, dword [ebp - 0x40c]
cmp dword [ebp - 0x408], 0x10
cmovae eax, dword [ebp - 0x41c]
test ecx, ecx
je 0x44ad86
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call fcn.0045b120
add esp, 4
cmp dword [0x493898], 0
je 0x44add5
lea eax, [ebp - 0x434]
mov ecx, esi
push eax
call fcn.00403640
lea eax, [ebp - 0x434]
push eax
call dword [0x493898]
add esp, 4
cmp dword [ebp - 0x420], 0x10
jb 0x44adda
push dword [ebp - 0x434]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x44adda
call fcn.0045ac80
cmp dword [ebp - 0x408], 0x10
jb 0x44adf1
push dword [ebp - 0x41c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [eax + edi], 0x47acbc
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
lea ecx, [edi + 4]
mov dword [edi + 4], 0x47acc0
call fcn.004033a0
lea ecx, [edi + 4]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [edi + 8]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [edi + 0x50]
call dword [sym.imp.MSVCP120.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047259d
mov esp, ebp
pop ebp
ret