Function at 0x40f1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fd7f7
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x69cef4]
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 0x40f1f4
mov edx, dword [edx]
cmp word [edx], 0
jne 0x40f1fe
xor ecx, ecx
jmp 0x40f212
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f203
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xd4]
push edx
mov ecx, edi
call fcn.00407280
push 0xb
push str.GoodZip.ini
mov ecx, edi
call fcn.0040fbd0
push str.gdysgf
push 0x608c84
push str.GDsftinf
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0040cfa0
mov esi, dword [ebp - 0x24c]
mov ebx, eax
add esi, 0xec
cmp esi, ebx
je 0x40f298
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f271
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407380
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40f289
mov eax, dword [esi]
jmp 0x40f28b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00406c30
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40f2bd
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407380
cmp dword [esi + 0x14], 8
jb 0x40f2c7
mov eax, dword [esi]
jmp 0x40f2c9
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
jne 0x40f354
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4520
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40f2fd
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.gdysgf
push 0x608c84
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40f32d
xor ecx, ecx
jmp 0x40f345
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f336
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00407280
cmp dword [esi + 0x14], 8
jb 0x40f35e
mov eax, dword [esi]
jmp 0x40f360
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
jne 0x40f475
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4520
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.00407160
push 0xb
push str.GoodZip.ini
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0040fbd0
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 0x608c84
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40f422
xor ecx, ecx
jmp 0x40f43f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f430
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00407280
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40f47b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407380
jmp 0x40f47b
mov ebx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x40f485
mov eax, dword [esi]
jmp 0x40f487
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407090
add esp, 0x10
test eax, eax
jne 0x40f519
push str.gdysgf
push 0x608c84
push str.GDsftinf
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0040cd80
mov edi, eax
cmp esi, edi
je 0x40f4fb
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f4d4
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407380
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40f4ec
mov eax, dword [esi]
jmp 0x40f4ee
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00406c30
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x40f519
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407380
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.005ca59c
mov esp, ebp
pop ebp
ret