Function at 0x4029bd
Capabilities:
Read .ini file

Disassembly:
push 0x2c8
mov eax, 0x5a1b4e
call fcn.00493819
mov eax, dword [ebp + 8]
mov esi, ecx
push str.zmminiinstall.ini
mov dword [ebp - 0x2cc], esi
mov dword [esi], eax
call fcn.00448c30
lea ecx, [ebp - 0x23c]
push ecx
mov edi, eax
call fcn.004014b3
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.0048b3f0
mov eax, dword [ebp - 0x23c]
add esp, 0x14
cmp dword [ebp - 0x228], 8
jae 0x402a29
lea eax, [ebp - 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x5fd208
push 0x5fd20c
push 0x5fd214
call ebx
lea eax, [ebp - 0x220]
push eax
call fcn.0048af51
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x402a93
lea eax, [ebp - 0x258]
push eax
call fcn.004024d4
pop ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.00402d76
mov esi, eax
call fcn.0044e000
push 1
xor edi, edi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 0
call fcn.004019e2
cmp dword [ebp - 0x228], 8
mov eax, dword [ebp - 0x23c]
jae 0x402aa8
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 0x5fd214
call ebx
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x2ac]
call fcn.004017bc
mov byte [ebp - 4], 2
call fcn.00402ef7
push 0xffffffffffffffff
mov ecx, eax
push edi
lea eax, [ebp - 0x2ac]
call fcn.00401a8e
cmp byte [0x635020], 0
jne 0x402b16
mov byte [0x635020], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x63234c], eax
call fcn.00450350
call fcn.00463920
cmp dword [0x6324c0], edi
jne 0x402b56
mov dword [0x6324c0], 1
call fcn.0045c940
call fcn.0046e190
call fcn.0046bf70
mov ecx, eax
call fcn.0046e730
push 0x40d770
push 0x1f4
push 0x64
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x6324bc], eax
mov esi, str.1.0.2mini_downloader
push esi
lea eax, [ebp - 0x274]
call fcn.004017bc
push str.mini_downloader
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
call fcn.004017bc
mov ebx, dword [ebp - 0x2cc]
mov byte [ebp - 4], 4
mov eax, dword [ebx]
mov eax, dword [eax + 0x794]
mov dword [ebp - 0x2d0], eax
cmp eax, edi
je 0x402c1c
push eax
push esi
lea eax, [ebp - 0x258]
push str._sGameId:_d
push eax
call fcn.004466c0
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 5
call fcn.00401560
push 1
xor edi, edi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.004019e2
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x258]
push str.mini_downloader
push str._sid:_d
push eax
call fcn.004466c0
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 6
call fcn.00401560
push 1
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.004019e2
mov ebx, dword [ebp - 0x2cc]
cmp dword [ebp - 0x27c], 8
mov ecx, dword [ebp - 0x290]
jae 0x402c31
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x260], 8
mov edx, dword [ebp - 0x274]
jae 0x402c46
lea edx, [ebp - 0x274]
lea eax, [ebx + 0x10]
cmp dword [eax + 0x14], 8
jb 0x402c51
mov eax, dword [eax]
push ecx
mov ecx, eax
call fcn.0046ba50
pop ecx
call fcn.00402dd8
mov ecx, eax
lea eax, [ebp - 0x2c8]
call fcn.00446470
mov esi, eax
mov byte [ebp - 4], 7
call fcn.00402dd8
lea ecx, [eax + 0x1c]
lea eax, [ebp - 0x258]
call fcn.00446470
push esi
push eax
push ebx
mov byte [ebp - 4], 8
call fcn.00402ebc
call fcn.00451150
push edi
push 1
lea ecx, [ebp - 0x258]
call fcn.00403347
push edi
push 1
lea ecx, [ebp - 0x2c8]
call fcn.00403347
push 1
xor edi, edi
lea esi, [ebp - 0x290]
call fcn.004019e2
push 1
lea esi, [ebp - 0x274]
call fcn.004019e2
push 1
lea esi, [ebp - 0x2ac]
call fcn.004019e2
push 1
lea esi, [ebp - 0x23c]
call fcn.004019e2
mov al, 1
call fcn.00493863
ret 4