Function at 0x436370
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x6a9a60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 0xe4]
xor ebx, ebx
call fcn.00404190
lea ecx, [ebp - 0xe0]
call fcn.00404190
lea ecx, [ebp - 0xd8]
call fcn.00404190
push 0xc8
lea eax, [ebp - 0xcc]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.00404190
lea ecx, [ebp - 0xd4]
call fcn.00404190
lea eax, [ebp - 0xd0]
push eax
call fcn.00413914
pop ecx
push eax
lea ecx, [ebp - 0xd8]
call fcn.004048f0
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [ebp - 0xd8]
call fcn.0040c9f9
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.004048f0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xe4]
call fcn.004048f0
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
mov edi, 0x6168b4
push edi
call esi
pop ecx
push eax
push edi
lea ecx, [ebp - 0xe0]
call fcn.0040c36b
mov edi, dword [ebp - 0xe0]
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x436495
push str.ressrcchsuplive.svr
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00413eaa
add esp, 0xc
lea ecx, [ebp - 0xe0]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov edi, dword [ebp - 0xe0]
push str.updatekavindexkav.txt.old.txt
call esi
pop ecx
push eax
push str.updatekavindexkav.txt.old.txt
lea ecx, [ebp - 0xe4]
call fcn.0040c36b
mov esi, dword [ebp - 0xe4]
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x4364fd
push str.ressrcchskismain.ini
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.00413eaa
add esp, 0xc
lea ecx, [ebp - 0xe4]
push eax
call fcn.004048f0
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004023e0
mov esi, dword [ebp - 0xe4]
push edi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x698774
push 0x613464
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x436637
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00404cd0
lea ecx, [ebp - 0xd4]
call fcn.0040c9f9
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd4]
push dword [eax - 0xc]
lea eax, [ebp - 0xd0]
push 2
push eax
call fcn.00403da0
push eax
lea ecx, [ebp - 0xdc]
call fcn.004048f0
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push 0x698774
push 0x612f98
lea ecx, [ebp - 0xdc]
call fcn.0042fb1b
push 0x698774
push 0x613e40
lea ecx, [ebp - 0xdc]
call fcn.0042fb1b
push esi
push 0x64
lea eax, [ebp - 0xcc]
push eax
push 0x698774
push 0x616928
push 0x61692c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x436637
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00404cd0
push 6
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00403c90
lea ecx, [ebp - 0xdc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0040c36b
mov ecx, dword [ebp - 0xd0]
lea ecx, [ecx - 0x10]
call fcn.004023e0
push dword [ebp - 0xdc]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0xd4]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp - 0xdc]
add ecx, 0xfffffff0
call fcn.004023e0
mov ecx, dword [ebp - 0xd8]
lea ecx, [ecx - 0x10]
call fcn.004023e0
lea ecx, [edi - 0x10]
call fcn.004023e0
lea ecx, [esi - 0x10]
call fcn.004023e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3004
leave
ret