Function at 0x40edd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdc97
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x69def4]
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 0x40ee14
mov edx, dword [edx]
cmp word [edx], 0
jne 0x40ee1e
xor ecx, ecx
jmp 0x40ee32
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ee23
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xd4]
push edx
mov ecx, edi
call fcn.00407210
push 0xb
push str.GoodZip.ini
mov ecx, edi
call fcn.0040f7f0
push str.gdysgf
push 0x609c84
push str.GDsftinf
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0040cbc0
mov esi, dword [ebp - 0x24c]
mov ebx, eax
add esi, 0xec
cmp esi, ebx
je 0x40eeb8
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40ee91
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407310
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40eea9
mov eax, dword [esi]
jmp 0x40eeab
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00406bc0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40eedd
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
cmp dword [esi + 0x14], 8
jb 0x40eee7
mov eax, dword [esi]
jmp 0x40eee9
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
jne 0x40ef74
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4960
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40ef1d
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.gdysgf
push 0x609c84
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40ef4d
xor ecx, ecx
jmp 0x40ef65
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ef56
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00407210
cmp dword [esi + 0x14], 8
jb 0x40ef7e
mov eax, dword [esi]
jmp 0x40ef80
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
jne 0x40f095
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4960
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.004070f0
push 0xb
push str.GoodZip.ini
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0040f7f0
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 0x609c84
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40f042
xor ecx, ecx
jmp 0x40f05f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f050
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00407210
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40f09b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407310
jmp 0x40f09b
mov ebx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x40f0a5
mov eax, dword [esi]
jmp 0x40f0a7
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
jne 0x40f139
push str.gdysgf
push 0x609c84
push str.GDsftinf
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0040c980
mov edi, eax
cmp esi, edi
je 0x40f11b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f0f4
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407310
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40f10c
mov eax, dword [esi]
jmp 0x40f10e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00406bc0
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x40f139
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00407310
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.005caa5c
mov esp, ebp
pop ebp
ret