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

Disassembly:
push 0x24
push 0x43bd00
call fcn.004167d8
mov ebx, ecx
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x2c], 0
lea edi, [ebx + 0x578e]
push eax
push 0x431f28
mov esi, 0x104
push esi
push edi
call fcn.0041a113
add esp, 0x10
push dword [ebp + 8]
mov ecx, ebx
call fcn.00412bfc
test eax, eax
je 0x412f76
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412f76
mov dword [ebp - 0x2c], 1
lea eax, [ebx + 0x5998]
push edi
push esi
lea ecx, [ebx + 0xa64]
push ecx
mov edi, 0x431b40
push edi
push str.pdtname
push eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x63
lea eax, [ebx + 0x5c78]
push eax
push edi
push str.proctype
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x64c]
push eax
push edi
push str.crashtype
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x856]
push eax
push edi
push str.trycatchcnt
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x1082]
push eax
push edi
push str.cmdline
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0xc6e]
push eax
push edi
push str.pdtver
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x27b8]
push eax
push edi
push 0x438434
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x3ff
lea eax, [ebx + 0x5d40]
push eax
push edi
push str.cururl
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0
push str.joinprivate
lea eax, [ebx + 0x5998]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebx + 0x6540], eax
lea eax, [ebx + 0x234]
mov dword [ebp - 0x20], eax
lea ecx, [ebx + 0x578e]
push ecx
push 0x103
push eax
push edi
push str.offset
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x128c]
lea ecx, [ebx + 0x578e]
push ecx
push 0x104
push eax
push edi
push str.module
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x23a4]
push eax
push edi
push str.osver
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x578e]
push eax
push 0x104
lea eax, [ebx + 0x25ae]
push eax
push edi
push str.iever
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x1cbe]
mov dword [ebp - 0x28], eax
lea ecx, [ebx + 0x578e]
push ecx
push 0x104
push eax
push edi
push str.modulever
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x537a]
mov dword [ebp - 0x24], eax
lea ecx, [ebx + 0x578e]
push ecx
push 0x104
push eax
push edi
push str.dump
lea eax, [ebx + 0x5998]
push eax
call esi
lea eax, [ebx + 0x7ac4]
lea ecx, [ebx + 0x578e]
push ecx
push 0x1f
push eax
push edi
push str.ExcptCode
lea eax, [ebx + 0x5998]
push eax
call esi
xor edi, edi
push 0x438388
lea eax, [ebx + 0x7ac4]
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
call esi
test eax, eax
lea eax, [ebx + 0x6544]
jne 0x412ee9
push 0x437af8
push 0xa
push eax
call fcn.00417033
add esp, 0xc
inc edi
jmp 0x412ef9
push 0x438384
push 0xa
push eax
call fcn.00417033
add esp, 0xc
push dword [ebp + 8]
push 0x437d18
lea eax, [ebx + 0x43c]
push eax
call fcn.004026ef
add esp, 0xc
and dword [ebp - 0x30], 0
push str.unknown
lea eax, [ebx + 0x128c]
mov dword [ebp - 0x34], eax
push eax
call esi
test eax, eax
jne 0x412f30
mov dword [ebp - 0x30], 1
add ebx, 0x29c2
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 4], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
cmp dword [ebp - 0x30], eax
je 0x412f4e
push dword [ebp - 0x34]
jmp 0x412f4f
push eax
push edi
push 0x105
push ebx
push dword [ebp - 0x24]
call fcn.0040a946
add esp, 0x1c
jmp 0x412f6f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x2c]
call fcn.00416820
ret 0xc