Function at 0x40f230
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fde27
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 0x40f274
mov edx, dword [edx]
cmp word [edx], 0
jne 0x40f27e
xor ecx, ecx
jmp 0x40f292
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f283
sub ecx, esi
sar ecx, 1
push ecx
lea edi, [ebx + 0xd4]
push edx
mov ecx, edi
call fcn.004072f0
push 0xb
push str.GoodZip.ini
mov ecx, edi
call fcn.0040fc50
push str.gdysgf
push 0x609c84
push str.GDsftinf
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0040d020
mov esi, dword [ebp - 0x24c]
mov ebx, eax
add esi, 0xec
cmp esi, ebx
je 0x40f318
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f2f1
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40f309
mov eax, dword [esi]
jmp 0x40f30b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00406d00
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40f33d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004073f0
cmp dword [esi + 0x14], 8
jb 0x40f347
mov eax, dword [esi]
jmp 0x40f349
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407100
add esp, 0x10
test eax, eax
jne 0x40f3d4
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4b40
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40f37d
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 0x40f3ad
xor ecx, ecx
jmp 0x40f3c5
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f3b6
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004072f0
cmp dword [esi + 0x14], 8
jb 0x40f3de
mov eax, dword [esi]
jmp 0x40f3e0
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407100
add esp, 0x10
test eax, eax
jne 0x40f4f5
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005d4b40
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.004071d0
push 0xb
push str.GoodZip.ini
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0040fc50
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 0x40f4a2
xor ecx, ecx
jmp 0x40f4bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f4b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004072f0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x40f4fb
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004073f0
jmp 0x40f4fb
mov ebx, dword [ebp - 0x24c]
cmp dword [esi + 0x14], 8
jb 0x40f505
mov eax, dword [esi]
jmp 0x40f507
mov eax, esi
push 6
push str.gdysgf
push dword [esi + 0x10]
push eax
call fcn.00407100
add esp, 0x10
test eax, eax
jne 0x40f599
push str.gdysgf
push 0x609c84
push str.GDsftinf
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0040cde0
mov edi, eax
cmp esi, edi
je 0x40f57b
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x40f554
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.004073f0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x40f56c
mov eax, dword [esi]
jmp 0x40f56e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.00406d00
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x40f599
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.004073f0
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.005cabbc
mov esp, ebp
pop ebp
ret