Function at 0x40d2ff
Capabilities:
Read .ini file

Disassembly:
push 0x12c
mov eax, 0x5018e5
call fcn.004dead8
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], edi
cmp dword [esi + 0xa4], ebx
jne 0x40d557
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push ebx
push eax
call fcn.004de430
add esp, 0xc
lea eax, [ebp - 0x124]
push 5
push eax
call fcn.0044ff30
mov ecx, eax
call fcn.0044fa5e
cmp dword [ebp - 0x110], 8
mov eax, dword [ebp - 0x124]
mov dword [ebp - 4], ebx
jae 0x40d370
lea eax, [ebp - 0x124]
push 0x20
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.00443160
add esp, 0xc
cmp eax, ebx
jne 0x40d3b0
lea eax, [ebp - 0x50]
push eax
call fcn.004df380
pop ecx
test eax, eax
je 0x40d3b0
lea eax, [ebp - 0x50]
push eax
call fcn.004df380
pop ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0x94]
call fcn.00406caa
jmp 0x40d545
lea eax, [ebp - 0x108]
push 0x15
push eax
call fcn.00441178
mov esi, str.0.0.0.0
lea edi, [ebp - 0xd0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x70
lea eax, [ebp - 0xc0]
push ebx
push eax
mov byte [ebp - 4], 1
movsd dword es:[edi], dword [esi]
call fcn.004de430
mov eax, dword [ebp - 0x108]
add esp, 0x14
cmp dword [ebp - 0xf4], 8
jae 0x40d3f8
lea eax, [ebp - 0x108]
push eax
call fcn.0043fdd5
pop ecx
test al, al
je 0x40d4e7
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0xec]
call fcn.0040cd12
cmp dword [ebp - 0xd8], 8
mov eax, dword [ebp - 0xec]
jae 0x40d42e
lea eax, [ebp - 0xec]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push ebx
push str.MajorVersion
mov esi, str.Version
push esi
call edi
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xec]
jae 0x40d45e
lea eax, [ebp - 0xec]
push eax
push ebx
push str.FirstVersion
push esi
call edi
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xec]
jae 0x40d483
lea eax, [ebp - 0xec]
push eax
push ebx
push str.SecondVersion
push esi
call edi
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0xec]
jae 0x40d4a8
lea eax, [ebp - 0xec]
push eax
push ebx
push esi
push esi
call edi
push eax
push dword [ebp - 0x134]
lea eax, [ebp - 0xd0]
push dword [ebp - 0x130]
push dword [ebp - 0x138]
push str._u._u._u._04u
push 0x3f
push eax
call fcn.004df3cc
add esp, 0x1c
push ebx
push 1
lea ecx, [ebp - 0xec]
call fcn.00406991
jmp 0x40d505
push str.kFileSetupCfg_not_Found.
push str.kupdate::KClientInfoGetter::GetClientVersion
push 0xed
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcmiscKClientInfoGetter.cpp
push 5
call fcn.004081cf
add esp, 0x14
lea eax, [ebp - 0xd0]
push eax
call fcn.004df380
pop ecx
mov ecx, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0xd0]
push eax
add ecx, 0x94
call fcn.00406caa
push ebx
push 1
lea ecx, [ebp - 0x108]
call fcn.00406991
mov esi, dword [ebp - 0x128]
mov edi, dword [ebp - 0x12c]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x124]
call fcn.00406991
push 0xffffffffffffffff
push ebx
add esi, 0x94
push esi
mov ecx, edi
call fcn.00406c0f
cmp dword [edi + 0x14], 8
jb 0x40d570
mov edi, dword [edi]
push edi
push str.Client_Version_is:__s.
push str.kupdate::KClientInfoGetter::GetClientVersion
push 0xf4
push str.D:_fun_pow_4_20190808Coding_supportminisite_srcmiscKClientInfoGetter.cpp
push 7
call fcn.004081cf
add esp, 0x18
xor eax, eax
call fcn.004deb5b
ret 8