Function at 0x10012020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bfe7
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x10080440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24c], ebx
cmp dword [ebx + 0x88], 8
lea edx, [ebx + 0x74]
jb 0x10012064
mov edx, dword [edx]
cmp word [edx], 0
jne 0x1001206e
xor ecx, ecx
jmp 0x10012082
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012073
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xd4]
push edx
mov ecx, edi
call fcn.10008730
push 0xb
push str.GoodZip.ini
mov ecx, edi
call fcn.1000d6c0
push str.gdysgf
push 0x10060154
push str.GDsftinf
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.1000fe10
mov esi, dword [ebp - 0x24c]
mov ebx, eax
add esi, 0xec
cmp esi, ebx
je 0x10012108
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x100120e1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10008830
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x100120f9
mov eax, dword [esi]
jmp 0x100120fb
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.1000f2c0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x1001212d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10008830
cmp dword [esi + 0x14], 8
jb 0x10012137
mov eax, dword [esi]
jmp 0x10012139
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.1000f330
add esp, 0x10
test eax, eax
jne 0x100121c4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10044bd0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x1001216d
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.gdysgf
push 0x10060154
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x1001219d
xor ecx, ecx
jmp 0x100121b5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100121a6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10008730
cmp dword [esi + 0x14], 8
jb 0x100121ce
mov eax, dword [esi]
jmp 0x100121d0
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.1000f330
add esp, 0x10
test eax, eax
jne 0x100122e5
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10044bd0
mov ebx, dword [ebp - 0x24c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], cx
mov dword [ebp - 0x220], 0
push 0xffffffffffffffff
push ecx
lea eax, [ebx + 0x5c]
push eax
lea ecx, [ebp - 0x230]
call fcn.10008610
push 0xb
push str.GoodZip.ini
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.1000d6c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.gdysgf
push 0x10060154
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x10012292
xor ecx, ecx
jmp 0x100122af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100122a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10008730
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x100122eb
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.10008830
jmp 0x100122eb
mov ebx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x100122f5
mov eax, dword [esi]
jmp 0x100122f7
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.1000f330
add esp, 0x10
test eax, eax
jne 0x10012389
push str.gdysgf
push 0x10060154
push str.GDsftinf
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.1000fbf0
mov edi, eax
cmp esi, edi
je 0x1001236b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x10012344
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.10008830
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1001235c
mov eax, dword [esi]
jmp 0x1001235e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.1000f2c0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x10012389
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.10008830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c8d2
mov esp, ebp
pop ebp
ret