Function at 0x414f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bcf3
mov eax, dword fs:[0]
push eax
sub esp, 0x2d4
mov eax, dword [0x430480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2e0]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00419a7e
push str._LobbyDir_General_LobbySet_CrashPolicy.ini
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00412750
add esp, 0x18
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x420d00
push 0x420d04
push str.policy
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.CrashRpt1402.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x415191
push 0x64
lea eax, [ebp - 0x2dc]
push 0
push eax
call fcn.00419a7e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
mov eax, 0x64
mov word [ebp - 0x2dc], ax
push str.crInstallW
lea eax, [ebp - 0x218]
push edi
mov dword [ebp - 0x2d8], str.TKLobbyNew
mov dword [ebp - 0x2d4], str.0.7.8.0
mov dword [ebp - 0x2c8], eax
call esi
test eax, eax
je 0x415191
lea ecx, [ebp - 0x2dc]
push ecx
call eax
test eax, eax
jne 0x415191
push str.crAddPropertyW
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x4150cd
call fcn.004181c0
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00418640
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x41507e
mov eax, dword [eax]
push eax
push str.CommerceID
call ebx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00411020
call fcn.00418140
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00418640
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x4150b6
mov eax, dword [eax]
push eax
push str.LobbyVersion
call ebx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00411020
push str.crAddFile2W
push edi
call esi
mov ebx, eax
test ebx, ebx
je 0x41517f
push str._LobbyDat_UserInfoRecord.ini
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00412750
add esp, 0xc
cmp dword [ebp - 0x21c], 8
push 0
push str._u7b
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
mov byte [ebp - 4], 6
call ebx
push str._Log_upd_TKLauncher.log
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00412750
add esp, 0xc
lea ecx, [ebp - 0x230]
push eax
call fcn.00414770
lea ecx, [ebp - 0x278]
call fcn.00411020
cmp dword [ebp - 0x21c], 8
push 0
push 0x420e40
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call ebx
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00411020
push str.crAddScreenshot2
push edi
call esi
test eax, eax
je 0x415191
push 0x38
push 8
call eax
cmp dword [ebp - 0x234], 8
jb 0x4151a8
push dword [ebp - 0x248]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x4151dc
push dword [ebp - 0x260]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419a6e
mov esp, ebp
pop ebp
ret