Function at 0x401bf0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4126e5
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401c80
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.00402110
mov dword [ebp - 0x11c], 2
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x120]
mov eax, edx
mov ecx, dword [ebp - 0x124]
sub eax, ecx
push 8
push str.Genetec
cmp eax, 8
jb 0x401cf6
cmp edx, 0x10
lea esi, [ebp - 0x134]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x134]
add esi, ecx
mov dword [ebp - 0x124], eax
push esi
call fcn.00404f00
add esp, 0xc
mov byte [esi + 8], 0
lea eax, [ebp - 0x134]
jmp 0x401d10
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x134]
push dword [ebp - 0x118]
push 8
call fcn.00402300
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x11c], 7
cmp edx, 0x10
jb 0x401d8d
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401d83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401f5e
push edx
push ecx
call fcn.00402653
add esp, 8
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x401d97
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push eax
call esi
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0xd
jb 0x401ddf
lea eax, [ecx + 0xd]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x401dc0
mov eax, dword [edi]
push 0xd
lea esi, [eax + ecx]
push str.Installation
push esi
call fcn.00404f00
mov byte [esi + 0xd], 0
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x401dfc
push 0xd
push str.Installation
mov byte [ebp - 0x118], 0
mov ecx, edi
push dword [ebp - 0x118]
push 0xd
call fcn.00402300
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x401e06
mov eax, dword [edi]
push 0
push eax
call esi
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x401f63
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 1
push 0x4181f0
push ecx
push dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
call fcn.00402460
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 4], 3
lea edx, [ebp - 0x134]
cmp dword [ebp - 0x120], 0x10
mov ecx, dword [edi + 0x10]
cmovae edx, dword [ebp - 0x134]
mov eax, dword [edi + 0x14]
sub eax, ecx
mov dword [ebp - 0x118], ecx
mov ecx, dword [ebp - 0x124]
cmp ecx, eax
ja 0x401eb3
cmp dword [edi + 0x14], 0x10
mov esi, dword [ebp - 0x118]
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x401e94
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call fcn.00404f00
mov eax, dword [ebp - 0x124]
add esp, 0xc
mov byte [eax + esi], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x401eca
push ecx
push edx
mov byte [ebp - 0x118], 0
push dword [ebp - 0x118]
push ecx
mov ecx, edi
call fcn.00402300
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x134]
cmp eax, 0x10
jb 0x401f02
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x401ef8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401f68
push edx
push ecx
call fcn.00402653
add esp, 8
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x401f0c
mov eax, dword [edi]
push 0
push eax
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401f41
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401f68
push edx
push ecx
call fcn.00402653
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402645
mov esp, ebp
pop ebp
ret
call fcn.004057dc
call fcn.004011d0
call fcn.004057dc
int3