Function at 0x415971
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x5d6c64]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.MSVCR100.dll__time32]
pop ecx
mov dword [ebp - 0x58], eax
xor eax, eax
mov word [ebp - 0x50], ax
push 0x3e
push 0
lea eax, [ebp - 0x4e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp - 0x58]
push 0x56ed2c
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x260], ax
push 0x206
push 0
lea eax, [ebp - 0x25e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
push 0x104
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..crash_records.ini
push 0x104
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.MSVCR100.dll_wcscat_s]
add esp, 0xc
push 0
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.MSVCR100.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x415a4c
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x56ed5c
push 0x56ed68
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
jmp 0x415bd7
lea eax, [ebp - 0x260]
push eax
push 0
push 0x56ed80
push 0x56ed8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0x56eda4
push 0x56edb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 4], 0
jne 0x415aad
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x56edcc
push 0x56edd8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
jmp 0x415bd7
cmp dword [ebp - 0x54], 0
jne 0x415b10
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 4]
jbe 0x415aed
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
cmp eax, 0x258
ja 0x415aed
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x56edf0
push 0x56ee00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 2
pop eax
jmp 0x415bd7
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x56ee18
push 0x56ee24
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
jmp 0x415bd7
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jbe 0x415b9d
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x54]
cmp eax, 0x258
ja 0x415b9d
xor eax, eax
mov word [ebp - 0x2a0], ax
push 0x3e
push 0
lea eax, [ebp - 0x29e]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push dword [ebp - 0x54]
push 0x56ee3c
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x56ee44
push 0x56ee50
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push str.second
push 0x56ee78
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 3
pop eax
jmp 0x415bd7
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x50]
push eax
push str.first
push 0x56ee9c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x260]
push eax
push 0x56eeb4
push 0x56eeb8
push str.Timestamps
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004610a0
leave
ret