Function at 0x40f150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed5e
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x6280b8]
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
call fcn.0040f010
test eax, eax
je 0x40f1a0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.CVipUser.0
je 0x40f1a0
mov ecx, eax
call edx
test al, al
jne 0x40f7b0
push 0xa
xor eax, eax
mov dword [ebp - 0xa4], 7
push str.GDzmtn.exe
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.00401d80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
push 0xa
xor eax, eax
mov dword [ebp - 0x5c], 7
push str.GDztip.exe
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
call fcn.00401d80
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa8], 0
je 0x40f769
cmp dword [ebp - 0x60], 0
je 0x40f769
call fcn.00402c80
mov ecx, eax
call fcn.00424a52
test al, al
jne 0x40f769
call fcn.00402c80
mov ecx, eax
call fcn.00424970
test al, al
jne 0x40f769
push 0
call fcn.004492be
add esp, 4
mov edi, eax
push 1
push str.5a54d1
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004239c0
test eax, eax
jne 0x40f2f7
call fcn.00402c80
mov ecx, eax
call fcn.00424a23
test al, al
jne 0x40f2f7
push 0
push str.8ed067
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004239c0
mov esi, eax
cmp esi, 0x64
jg 0x40f2f7
push 0
push str.8dd391
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004239c0
mov ecx, edi
sub ecx, eax
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x708
jl 0x40f2db
lea eax, [esi + 1]
push eax
push str.8ed067
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004253cf
push edi
push str.8dd391
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004253cf
jmp 0x40f769
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
push eax
push str.f8507b
push str.GDftSet
mov byte [ebp - 4], 3
mov byte [ebp - 0x119], al
call fcn.00402c80
mov ecx, eax
call fcn.004239c0
mov ebx, eax
lea ecx, [ebp - 0x88]
test bl, 1
jne 0x40f362
push str.GDzmtn.exe
mov byte [ebp - 0x119], 1
call fcn.00401a50
push str.19afa5
jmp 0x40f371
push str.GDztip.exe
call fcn.00401a50
push str.dc70cb
lea ecx, [ebp - 0x40]
call fcn.00401a50
call fcn.00402c80
mov ecx, eax
call fcn.00423871
push eax
lea ecx, [ebp - 0x118]
call fcn.00401b60
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x118]
call fcn.00402600
lea ecx, [ebx + 1]
xor eax, eax
cmp ecx, 0x3e8
cmovl eax, ecx
push eax
push str.f8507b
push str.GDftSet
call fcn.00402c80
mov ecx, eax
call fcn.004253cf
cmp dword [ebp - 0x78], 0
je 0x40f74b
call fcn.0042babd
test al, al
je 0x40f402
pop esi
pop esi
pop eax
push edi
pop ebx
push edx
pop ebx
push edi
push edx
push ebp
pop esp
push esi
pop edx
push eax
pop ecx
pop eax
pop ebx
push edx
push ebp
pop edi
pop esi
push eax
push edi
pop esi
push esi
pop ebp
pop eax
push eax
push ebp
pop ebp
push ebp
call fcn.0042bf0d
test al, al
je 0x40f41d
push edi
push esp
push esi
push esp
pop ecx
pop ecx
push esi
push ebp
push ebp
pop edi
pop edx
pop esp
push esp
push edi
pop esi
pop esi
pop esp
pop ebp
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402e90
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00425ed5
add esp, 4
test eax, eax
jne 0x40f743
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402e90
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f4bf
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
call fcn.00402c80
cmp byte [eax + 5], 0
je 0x40f4a7
push 1
push esi
push edi
call fcn.0042fd53
add esp, 0xc
movzx eax, al
jmp 0x40f4b7
push 0
push 0
push 0
push esi
push edi
call fcn.0042561a
add esp, 0x14
test eax, eax
jne 0x40f73b
push str.4120726657395727074557006926493141591515
lea ecx, [ebp - 0xe8]
call fcn.00401cb0
cmp byte [ebp - 0x119], 0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 7
je 0x40f4e9
push str.4120726657395727074557006926493141591515
jmp 0x40f4ee
push str.6927372709560931233640694534671960154444
call fcn.00407530
cmp dword [ebp - 0xd4], 0x10
lea eax, [ebp - 0xe8]
cmovae eax, dword [ebp - 0xe8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0042a0eb
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
push 0x61e630
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.00401cb0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x100]
cmp dword [ebp - 0xec], 0x10
lea ecx, [ebp - 0xa0]
cmovae eax, dword [ebp - 0x100]
push eax
call fcn.00401cb0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004274b3
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00401bc0
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.00401bc0
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
cmp esi, eax
je 0x40f71a
nop dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x40f5ca
mov eax, dword [esi]
jmp 0x40f5cc
mov eax, esi
push eax
lea ecx, [ebp - 0xd0]
call fcn.00401cb0
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0042f5ce
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.004059a0
lea ecx, [ebp - 0xa0]
call fcn.00401aa0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00425ed5
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.00401bc0
mov eax, dword [ebp - 0x124]
add esi, 0x18
cmp esi, eax
jne 0x40f5c0
mov esi, dword [ebp - 0x128]
cmp esi, eax
je 0x40f71a
cmp dword [esi + 0x14], 0x10
jb 0x40f64e
mov eax, dword [esi]
jmp 0x40f650
mov eax, esi
push eax
lea ecx, [ebp - 0xa0]
call fcn.00401cb0
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0042f5ce
add esp, 8
lea ecx, [ebp - 0x58]
push eax
call fcn.004059a0
lea ecx, [ebp - 0xd0]
call fcn.00401aa0
call fcn.00402c80
mov ecx, eax
call fcn.00423871
push eax
lea ecx, [ebp - 0x28]
call fcn.00401a50
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402600
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x40]
lea ebx, [ebp - 0x28]
cmovae edi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae ebx, dword [ebp - 0x28]
call fcn.00402c80
cmp byte [eax + 5], 0
je 0x40f6e1
push 1
push edi
push ebx
call fcn.0042fd53
add esp, 0xc
movzx eax, al
jmp 0x40f6f1
push 0
push 0
push 0
push edi
push ebx
call fcn.0042561a
add esp, 0x14
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x40f715
mov byte [ebp - 4], 9
call fcn.00401bc0
add esi, 0x18
cmp esi, dword [ebp - 0x124]
jne 0x40f644
jmp 0x40f71a
call fcn.00401bc0
lea ecx, [ebp - 0x128]
call fcn.00409410
lea ecx, [ebp - 0x100]
call fcn.00401bc0
lea ecx, [ebp - 0xe8]
call fcn.00401bc0
lea ecx, [ebp - 0x28]
call fcn.00401aa0
lea ecx, [ebp - 0x58]
call fcn.00401aa0
lea ecx, [ebp - 0x118]
call fcn.00401aa0
lea ecx, [ebp - 0x40]
call fcn.00401aa0
lea ecx, [ebp - 0x88]
call fcn.00401aa0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x40f77e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402340
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x40f7b0
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00402340
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.0041feb9
mov esp, ebp
pop ebp
ret 4