Function at 0x41cb00
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461801
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x47a4a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x220], edi
push 1
lea ecx, [ebp - 0x304]
call fcn.0041c6e0
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
cmp dword [esi + 0x18], 8
jb 0x41cb5b
mov eax, dword [esi + 4]
jmp 0x41cb5e
lea eax, [esi + 4]
push 0x40
push 0xb
push eax
lea ecx, [ebp - 0x304]
call fcn.0041bc90
mov eax, dword [ebp - 0x304]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x2fc], 6
je 0x41cb98
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x304]
call fcn.0041bc70
jmp 0x41cdb2
lea ecx, [ebp - 0x304]
call fcn.0041bce0
mov dword [ebp - 4], edi
push 0xffffffffffffffff
push edi
push esi
mov ecx, 0x479820
call fcn.004071e0
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push edi
lea eax, [ebp - 0x21a]
push eax
call fcn.00440910
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push str._COMMONAPPDATA_CheckPointZoneAlarmData
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x21c]
push edx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x41cc0b
push edi
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x21c]
push ecx
call esi
test eax, eax
je 0x41cc5b
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x274]
call fcn.00409040
mov byte [ebp - 4], 3
mov dword [ebp - 0x220], 1
push 0x466f9c
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00408820
add esp, 0xc
mov dword [ebp - 4], 4
mov ebx, 3
jmp 0x41cc77
push 0x4669cc
lea ecx, [ebp - 0x258]
call fcn.00409040
mov dword [ebp - 4], 5
mov ebx, 4
mov dword [ebp - 0x220], ebx
push 0xffffffffffffffff
push edi
push eax
mov ecx, 0x47983c
call fcn.004071e0
mov dword [ebp - 4], 4
test bl, 4
je 0x41ccd4
and ebx, 0xfffffffb
mov dword [ebp - 0x220], ebx
cmp dword [ebp - 0x240], 8
jb 0x41ccb8
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.0043ff5a
add esp, 4
mov esi, 7
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], edi
xor edx, edx
mov word [ebp - 0x254], dx
jmp 0x41ccd9
mov esi, 7
mov dword [ebp - 4], 3
test bl, 2
je 0x41cd1b
and ebx, 0xfffffffd
mov dword [ebp - 0x220], ebx
cmp dword [ebp - 0x224], 8
jb 0x41cd06
mov eax, dword [ebp - 0x238]
push eax
call fcn.0043ff5a
add esp, 4
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], edi
xor ecx, ecx
mov word [ebp - 0x238], cx
mov dword [ebp - 4], edi
test bl, 1
je 0x41cd59
and ebx, 0xfffffffe
mov dword [ebp - 0x220], ebx
cmp dword [ebp - 0x25c], 8
jb 0x41cd44
mov edx, dword [ebp - 0x270]
push edx
call fcn.0043ff5a
add esp, 4
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], edi
xor eax, eax
mov word [ebp - 0x270], ax
push 0x47b898
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a8]
call fcn.0041bb50
lea ecx, [ebp - 0x2a8]
call fcn.00401cc0
mov eax, 1
jmp 0x41cdb4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00440721
mov esp, ebp
pop ebp
ret 4