Function at 0x41c24c
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push 0x1c
push 0x593ac8
call fcn.0051d490
mov esi, ecx
mov dword [ebp - 0x1c], esi
and dword [ebp - 0x28], 0
lea edi, [esi + 0x578e]
mov dword [ebp - 0x2c], edi
push dword [ebp + 0xc]
push 0x556c20
push 0x104
push edi
call fcn.00403b24
add esp, 0x10
push dword [ebp + 8]
mov ecx, esi
call fcn.0041c5c2
test eax, eax
je 0x41c55d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c55d
mov dword [ebp - 0x28], 1
lea ebx, [esi + 0x5998]
push edi
push 0x104
lea eax, [esi + 0xa64]
push eax
push 0x556c1c
push 0x55e1d4
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call edi
lea eax, [esi + 0x578e]
push eax
push 0x63
lea eax, [esi + 0x5c78]
push eax
push 0x556c1c
push str.proctype
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x64c]
push eax
push 0x556c1c
push str.crashtype
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x856]
push eax
push 0x556c1c
push str.trycatchcnt
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x1082]
push eax
push 0x556c1c
push 0x55e224
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0xc6e]
push eax
push 0x556c1c
push str.pdtver
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x27b8]
push eax
push 0x556c1c
push 0x55e244
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x3ff
lea eax, [esi + 0x5d40]
push eax
push 0x556c1c
push str.cururl
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0
push str.joinprivate
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x6540], eax
lea ecx, [esi + 0x234]
mov dword [ebp - 0x20], ecx
lea eax, [esi + 0x578e]
push eax
push 0x103
push ecx
push 0x556c1c
push str.offset
push ebx
call edi
lea ecx, [esi + 0x128c]
lea eax, [esi + 0x578e]
push eax
push 0x104
push ecx
push 0x556c1c
push str.module
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x23a4]
push eax
push 0x556c1c
push str.osver
push ebx
call edi
lea eax, [esi + 0x578e]
push eax
push 0x104
lea eax, [esi + 0x25ae]
push eax
push 0x556c1c
push str.iever
push ebx
call edi
lea ecx, [esi + 0x1cbe]
mov dword [ebp + 0xc], ecx
lea eax, [esi + 0x578e]
push eax
push 0x104
push ecx
push 0x556c1c
push str.modulever
push ebx
call edi
lea ecx, [esi + 0x537a]
mov dword [ebp - 0x24], ecx
lea eax, [esi + 0x578e]
push eax
push 0x104
push ecx
push 0x556c1c
push str.dump
push ebx
call edi
add esi, 0x7ac4
push dword [ebp - 0x2c]
push 0x1f
push esi
push 0x556c1c
push str.ExcptCode
push ebx
call edi
xor edi, edi
push str.0x80000003
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov esi, dword [ebp - 0x1c]
test eax, eax
lea eax, [esi + 0x6544]
jne 0x41c4d6
push 0x557bcc
push 0xa
push eax
call fcn.0053030e
add esp, 0xc
inc edi
jmp 0x41c4e6
push 0x557bb4
push 0xa
push eax
call fcn.0053030e
add esp, 0xc
push dword [ebp + 8]
push 0x55d98c
lea eax, [esi + 0x43c]
push eax
call fcn.0041a601
add esp, 0xc
push str.unknown
lea ebx, [esi + 0x128c]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmove ecx, eax
add esi, 0x29c2
xor eax, eax
mov word [esi], ax
and dword [ebp - 4], eax
push dword [ebp + 0xc]
push dword [ebp - 0x20]
test ecx, ecx
je 0x41c534
push ebx
jmp 0x41c536
push 0
push edi
push 0x105
push esi
push dword [ebp - 0x24]
call fcn.00418124
add esp, 0x1c
jmp 0x41c556
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc