Function at 0x410059
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xfc4]
mov eax, 0x1044
call fcn.00419cb0
mov eax, dword [0x427c60]
xor eax, ebp
mov dword [ebp + 0xfc0], eax
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esi + 8]
push str.config.ini
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
mov eax, dword [ebp - 0x58]
add esp, 0xc
cmp dword [ebp - 0x44], 8
jae 0x41009f
lea eax, [ebp - 0x58]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push 0x41e884
mov edi, str.product
push edi
call ebx
cmp eax, 1
jae 0x4100e6
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
mov ecx, dword [ebp + 0xfc0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419ad8
add ebp, 0xfc4
leave
ret
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x4c0]
push eax
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x410102
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.name
push edi
call ebx
lea ecx, [esi + 0x4dc]
test eax, eax
jbe 0x41012c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
jmp 0x410139
lea eax, [esi + 0x4c0]
push eax
call dword [sym.imp.MSVCP90.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x410145
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.version
push edi
call ebx
cmp eax, 1
jb 0x4100c3
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x4f8]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x41017e
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.peerid
push edi
call ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x54c]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4101ae
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.path
push edi
call ebx
cmp eax, 1
jb 0x4100c3
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x514]
push eax
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4101e7
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.param
push edi
call ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x530]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x410217
lea eax, [ebp - 0x58]
push eax
push 0x800
lea eax, [ebp - 0x40]
push eax
push 0
push str.thunder_estr
push edi
call ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x568]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
push 0
call dword [sym.imp.MSVCR90.dll__time64]
cmp dword [ebp - 0x44], 8
pop ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x7c], edx
jae 0x410253
lea ecx, [ebp - 0x58]
push ecx
push eax
push str.risetime
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
call edi
and dword [esi + 0x5c4], 0
cmp dword [ebp - 0x44], 8
mov dword [esi + 0x5c0], eax
mov eax, dword [ebp - 0x58]
jae 0x41027c
lea eax, [ebp - 0x58]
push eax
push 0
push str.showmode
push str.report
call edi
cmp dword [ebp - 0x44], 8
mov dword [esi + 0x5c8], eax
mov eax, dword [ebp - 0x58]
jae 0x41029d
lea eax, [ebp - 0x58]
push eax
push 0
push str.workstate
push str.report
call edi
cmp dword [ebp - 0x44], 8
mov dword [esi + 0x5cc], eax
mov eax, dword [ebp - 0x58]
jae 0x4102be
lea eax, [ebp - 0x58]
push eax
push 0
push str.needsend
push str.report
call edi
test eax, eax
setne al
cmp dword [ebp - 0x44], 8
mov byte [esi + 0x5d0], al
mov eax, dword [ebp - 0x58]
jae 0x4102e4
lea eax, [ebp - 0x58]
push eax
push 0
push str.sended
push str.report
call edi
test eax, eax
setne al
cmp dword [ebp - 0x44], 8
mov byte [esi + 0x5d1], al
mov eax, dword [ebp - 0x58]
jae 0x41030a
lea eax, [ebp - 0x58]
push eax
push 0
push str.language
push str.report
call edi
push eax
call fcn.0040cec1
mov ecx, eax
call fcn.0040ce92
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x410332
lea eax, [ebp - 0x58]
push eax
push 0
push str.auto
push str.restart
call edi
test eax, eax
setne al
cmp dword [ebp - 0x44], 8
mov byte [esi + 0x5d3], al
mov eax, dword [ebp - 0x58]
jae 0x410358
lea eax, [ebp - 0x58]
push eax
push 1
push str.need
push str.restart
call edi
test eax, eax
setne al
cmp dword [ebp - 0x44], 8
mov byte [esi + 0x5d2], al
mov eax, dword [ebp - 0x58]
jae 0x41037e
lea eax, [ebp - 0x58]
push eax
push 0
push str.autostep
push str.restart
call edi
cmp dword [ebp - 0x44], 8
mov dword [esi + 0x5d4], eax
mov eax, dword [ebp - 0x58]
jae 0x41039f
lea eax, [ebp - 0x58]
push eax
mov edi, 0x800
push edi
lea eax, [ebp - 0x40]
push eax
push 0
push str.param
push str.restart
call ebx
cmp eax, 1
jbe 0x4103cd
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x5f4]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4103d9
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
push 0
push str.path
push str.restart
call ebx
cmp eax, 1
jbe 0x410402
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x5d8]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [esi + 0x5ec], 1
jae 0x41041e
lea eax, [esi + 0x514]
push eax
lea ecx, [esi + 0x5d8]
call dword [sym.imp.MSVCP90.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.minidump.dmp
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
mov eax, dword [ebp - 0x74]
add esp, 0xc
cmp dword [ebp - 0x60], 8
jae 0x410440
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 0x28]
call fcn.00408a09
test eax, eax
je 0x410468
xor bl, bl
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, bl
jmp 0x4100ce
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x410474
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
push 0
push str.param
push 0x41e784
call ebx
cmp eax, 1
jbe 0x41049d
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x5a0]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
jae 0x4104a9
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
push 0
push str.path
push 0x41e784
call ebx
cmp eax, 1
jbe 0x4104d2
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x584]
call dword [sym.imp.MSVCP90.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__::operator_wchar_t_const__]
mov bl, 1
jmp 0x41044f