Function at 0x411c50
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43380c
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x68], 2
xor eax, eax
push 0x438444
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 0
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov byte [esp + 0x5d], al
call dword [sym.imp.MSVCP80.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__::append_char_const__]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x438444
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
mov edx, dword [esp + 0xa8]
mov esi, dword [sym.imp.MSVCR80.dll_sprintf_s]
push edx
push 0x43879c
lea eax, [esp + 0x58]
push 0xa
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
push 0x438444
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
mov edx, dword [esp + 0xac]
xor eax, eax
push edx
push 0x43879c
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], ax
lea eax, [esp + 0x58]
push 0xa
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP80.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__::append_char_const__]
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
add eax, 0x7c
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.ts_recent_ip.ini
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 3
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
mov eax, dword [0x446604]
push 0xffffffffffffffff
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x4c], 8
mov ebx, dword [esp + 0x38]
jae 0x411da3
lea ebx, [esp + 0x38]
push 8
call fcn.00404e60
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x411e01
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x411e7e
cmp dword [esp + 0x30], 0x10
mov ecx, dword [esp + 0x1c]
jae 0x411e10
lea ecx, [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [esp + 0x2c]
push eax
push edx
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x68], 0xffffffff
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 al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.00431147
add esp, 0x5c
ret