Function at 0x406b2b
Capabilities:
Read .ini file

Disassembly:
push 0x560
mov eax, 0x40c8cc
call fcn.0040b91d
mov eax, dword [ebp + 8]
mov esi, ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x38]
push ecx
xor ebx, ebx
mov dword [ebp - 0x568], esi
call fcn.00401955
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], bx
mov eax, str.HaoZipLang.ini
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.00401789
lea eax, [ebp - 0x23c]
push eax
add esi, 0x1c
push esi
lea edi, [ebp - 0x290]
mov byte [ebp - 4], 1
call fcn.004053e0
pop ecx
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.00401a4c
push 0x208
lea eax, [ebp - 0x21e]
push ebx
push eax
mov word [ebp - 0x220], bx
call sub.MSVCR80.dll_memset
mov eax, dword [ebp - 0x28c]
add esp, 0xc
cmp dword [ebp - 0x278], 8
jae 0x406bdd
lea eax, [ebp - 0x28c]
push eax
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0x40d2c4
push str.file
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x406c23
mov word [ebp + eax*2 - 0x220], bx
lea eax, [ebp - 0x220]
lea esi, [ebp - 0x258]
call fcn.004019dd
mov dword [ebp - 0x25c], 7
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], bx
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x258]
mov byte [ebp - 4], 4
call fcn.004071e8
test al, al
jne 0x406c80
lea eax, [ebp - 0x23c]
push eax
call fcn.00402869
call fcn.004073cc
cmp dword [ebp - 0x228], ebx
push ebx
lea esi, [ebp - 0x23c]
push edi
je 0x406cb1
call fcn.00401a4c
push ebx
push edi
lea esi, [ebp - 0x274]
call fcn.00401a4c
push ebx
push edi
lea esi, [ebp - 0x290]
call fcn.00401a4c
push ebx
push edi
lea esi, [ebp - 0x258]
call fcn.00401a4c
mov al, 1
call fcn.0040b9a0
ret 4
call fcn.00401a4c
lea eax, [ebp - 0x258]
call fcn.00403174
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
cmp ax, bx
jbe 0x406d13
cmp ax, 0x804
jne 0x406cdc
mov eax, str.HaoZipLang_chs.dll
jmp 0x406cec
cmp ax, 0x404
mov eax, str.HaoZipLang_cht.dll
je 0x406cec
mov eax, str.HaoZipLang_enu.dll
lea esi, [ebp - 0x258]
call fcn.004019dd
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
mov edx, esi
call fcn.004071e8
test al, al
jne 0x406c80
mov eax, str.HaoZipLang_chs.dll
lea ecx, [ebp - 0x23c]
call fcn.00401789
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 5
call fcn.004071e8
push ebx
push edi
lea esi, [ebp - 0x23c]
mov byte [ebp - 0x561], al
mov byte [ebp - 4], 4
call fcn.00401a4c
cmp byte [ebp - 0x561], bl
jne 0x406c80
mov eax, str.HaoZipLang_enu.dll
lea ecx, [ebp - 0x23c]
call fcn.00401789
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 6
call fcn.004071e8
push ebx
push edi
lea esi, [ebp - 0x23c]
mov byte [ebp - 0x561], al
mov byte [ebp - 4], 4
call fcn.00401a4c
cmp byte [ebp - 0x561], bl
jne 0x406c80
mov eax, str.HaoZipLang_cht.dll
lea ecx, [ebp - 0x23c]
call fcn.00401789
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.004071e8
push ebx
push edi
lea esi, [ebp - 0x23c]
mov byte [ebp - 0x561], al
mov byte [ebp - 4], 4
call fcn.00401a4c
cmp byte [ebp - 0x561], bl
jne 0x406c80
lea esi, [ebp - 0x56c]
call fcn.00406380
mov eax, str.lang
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 8
call fcn.00401789
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x568]
lea edi, [ebp - 0x2ac]
mov byte [ebp - 4], 9
call fcn.004053e0
pop ecx
pop ecx
push ebx
push 1
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 0xb
call fcn.00401a4c
push str.HaoZipLang_.dll
mov eax, edi
push eax
lea eax, [ebp - 0x2c8]
push eax
call fcn.00403b58
add esp, 0xc
lea eax, [ebp - 0x310]
call fcn.00405b00
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x56c]
mov edx, eax
lea ecx, [ebp - 0x2c8]
call fcn.00406220
test al, al
je 0x406f4d
lea esi, [ebp - 0x310]
call fcn.00405c20
test al, al
jne 0x406ec6
mov eax, esi
call fcn.00405c00
test al, al
jne 0x406ec6
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x274]
push eax
lea edx, [ebp - 0x2e8]
call fcn.004071e8
test al, al
jne 0x406ef7
lea eax, [ebp - 0x560]
push eax
mov eax, dword [ebp - 0x56c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne al
cmp al, bl
je 0x406f4d
lea edi, [ebp - 0x310]
lea ecx, [ebp - 0x560]
call fcn.004062b0
jmp 0x406e90
lea esi, [ebp - 0x310]
call fcn.00405b30
push ebx
push 1
lea esi, [ebp - 0x2c8]
call fcn.00401a4c
push ebx
push 1
lea esi, [ebp - 0x2ac]
call fcn.00401a4c
lea edi, [ebp - 0x56c]
call fcn.004063a0
push ebx
push 1
lea esi, [ebp - 0x274]
call fcn.00401a4c
push ebx
push 1
lea esi, [ebp - 0x290]
call fcn.00401a4c
push ebx
push 1
jmp 0x406c9c
lea esi, [ebp - 0x310]
call fcn.00405b30
push ebx
push 1
lea esi, [ebp - 0x2c8]
call fcn.00401a4c
push ebx
push 1
lea esi, [ebp - 0x2ac]
call fcn.00401a4c
lea edi, [ebp - 0x56c]
call fcn.004063a0
push ebx
push 1
lea esi, [ebp - 0x274]
call fcn.00401a4c
push ebx
push 1
lea esi, [ebp - 0x290]
call fcn.00401a4c
push ebx
push 1
lea esi, [ebp - 0x258]
call fcn.00401a4c
xor al, al
jmp 0x406ca9