Function at 0x402ab0
Capabilities:
Read .ini file

Disassembly:
push 0x2c8
mov eax, 0x5a39b0
call fcn.00495539
mov eax, dword [ebp + 8]
mov esi, ecx
push str.zmminiinstall.ini
mov dword [ebp - 0x2cc], esi
mov dword [esi], eax
call fcn.00448020
lea ecx, [ebp - 0x23c]
push ecx
mov edi, eax
call fcn.00401638
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push edi
push eax
call fcn.0048cf80
mov eax, dword [ebp - 0x23c]
add esp, 0x14
cmp dword [ebp - 0x228], 8
jae 0x402b1c
lea eax, [ebp - 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x5ff300
push 0x5ff304
push 0x5ff30c
call ebx
lea eax, [ebp - 0x220]
push eax
call fcn.0048cae1
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x402b86
lea eax, [ebp - 0x258]
push eax
call fcn.004025c7
pop ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00402e69
mov esi, eax
call fcn.0044d6a0
push 1
xor edi, edi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 0
call fcn.00401ad5
cmp dword [ebp - 0x228], 8
mov eax, dword [ebp - 0x23c]
jae 0x402b9b
lea eax, [ebp - 0x23c]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push str.https:__chc_bd.duoyi.com
push str.BigServerUrl
push 0x5ff30c
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2ac]
call fcn.004018af
mov byte [ebp - 4], 2
call fcn.00402fea
push 0xffffffffffffffff
mov ecx, eax
push edi
lea eax, [ebp - 0x2ac]
call fcn.00401b81
cmp byte [0x638200], 0
jne 0x402c09
mov byte [0x638200], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x63552c], eax
call fcn.0044fa50
call fcn.00464770
cmp dword [0x6356a0], edi
jne 0x402c49
mov dword [0x6356a0], 1
call fcn.0045c5d0
call fcn.0046f130
call fcn.0046cf70
mov ecx, eax
call fcn.0046f6d0
push 0x40c575
push 0x1f4
push 0x64
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x63569c], eax
mov esi, str.1.0.2mini_downloader
push esi
lea eax, [ebp - 0x274]
call fcn.004018af
push str.mini_downloader
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.004018af
mov ebx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0x760]
mov dword [ebp - 0x2d0], eax
cmp eax, edi
je 0x402d0f
push eax
push esi
lea eax, [ebp - 0x258]
push str._sGameId:_d
push eax
call fcn.00445760
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 5
call fcn.004016e5
push 1
xor edi, edi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.00401ad5
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x258]
push str.mini_downloader
push str._sid:_d
push eax
call fcn.00445760
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.004016e5
push 1
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.00401ad5
mov ebx, dword [ebp - 0x2cc]
cmp dword [ebp - 0x27c], 8
mov ecx, dword [ebp - 0x290]
jae 0x402d24
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x260], 8
mov edx, dword [ebp - 0x274]
jae 0x402d39
lea edx, [ebp - 0x274]
lea eax, [ebx + 0x10]
cmp dword [eax + 0x14], 8
jb 0x402d44
mov eax, dword [eax]
push ecx
mov ecx, eax
call fcn.0046ca50
pop ecx
call fcn.00402ecb
mov ecx, eax
lea eax, [ebp - 0x2c8]
call fcn.00445510
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00402ecb
lea ecx, [eax + 0x1c]
lea eax, [ebp - 0x258]
call fcn.00445510
push esi
push eax
push ebx
mov byte [ebp - 4], 8
call fcn.00402faf
call fcn.00450850
push edi
push 1
lea ecx, [ebp - 0x258]
call fcn.0040342c
push edi
push 1
lea ecx, [ebp - 0x2c8]
call fcn.0040342c
push 1
xor edi, edi
lea esi, [ebp - 0x290]
call fcn.00401ad5
push 1
lea esi, [ebp - 0x274]
call fcn.00401ad5
push 1
lea esi, [ebp - 0x2ac]
call fcn.00401ad5
push 1
lea esi, [ebp - 0x23c]
call fcn.00401ad5
mov al, 1
call fcn.00495583
ret 4