Function at 0x40ad30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c98c
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x411020]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cl, byte [0x40d8fe]
mov byte [ebp - 0x11c], cl
push 0x103
push 0
lea edx, [ebp - 0x11b]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x358]
push eax
movzx ecx, word [ebp - 0x142]
push ecx
movzx edx, word [ebp - 0x144]
push edx
movzx eax, word [ebp - 0x146]
push eax
movzx ecx, word [ebp - 0x148]
push ecx
movzx edx, word [ebp - 0x14a]
push edx
movzx eax, word [ebp - 0x14e]
push eax
movzx ecx, word [ebp - 0x150]
push ecx
push str._n_02d__02d__02d__02d:_02d:_02d._03d__u_:
push 0x104
lea edx, [ebp - 0x11c]
push edx
call fcn.00403950
add esp, 0x2c
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cx, word [0x40dd84]
mov word [ebp - 0x354], cx
push 0x1fe
push 0
lea edx, [ebp - 0x352]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x140]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x1ff
lea eax, [ebp - 0x354]
push eax
call fcn.00404ae0
add esp, 0x10
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x155], 0
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x13c]
push edx
call fcn.0040afd0
add esp, 4
mov dword [ebp - 4], 0
push str.LogsFixDownload.txt
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x374]
push ecx
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], 0
push 0x40dda0
lea ecx, [ebp - 0x374]
call dword [sym.imp.MSVCP80.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 edx, [ebp - 0x120]
push edx
call dword [sym.imp.MSVCR80.dll_fopen_s]
add esp, 0xc
cmp dword [ebp - 0x120], 0
je 0x40af85
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.MSVCR80.dll_fputs]
add esp, 8
lea edx, [ebp - 0x354]
push edx
call sub.MSVCR80.dll_strlen
add esp, 4
add eax, 2
mov dword [ebp - 0x378], eax
cmp dword [ebp - 0x378], 0x200
jae 0x40af39
mov eax, dword [ebp - 0x378]
mov byte [ebp + eax - 0x356], 0xd
mov ecx, dword [ebp - 0x378]
mov byte [ebp + ecx - 0x355], 0xa
mov edx, dword [ebp - 0x378]
mov byte [ebp + edx - 0x354], 0
mov eax, dword [ebp - 0x120]
push eax
lea ecx, [ebp - 0x354]
push ecx
call dword [sym.imp.MSVCR80.dll_fputs]
add esp, 8
mov edx, dword [ebp - 0x120]
push edx
push 0x40dda4
call dword [sym.imp.MSVCR80.dll_fputs]
add esp, 8
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCR80.dll_fflush]
add esp, 4
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x374]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405b7a
mov esp, ebp
pop ebp
ret