Function at 0x40dbb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x456243
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x4731fc]
xor eax, esp
mov dword [esp + 0x904], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4731fc]
xor eax, esp
push eax
lea eax, [esp + 0x91c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x92c]
mov ebp, dword [esp + 0x930]
mov ebx, ecx
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00401e40
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
test eax, eax
mov dword [ebp], eax
jne 0x40df24
push esi
lea ecx, [esp + 0x68]
call fcn.00405ba0
lea ecx, [esp + 0x64]
mov dword [esp + 0x924], 0
call fcn.00401e40
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
cmp eax, 0xffffffff
jne 0x40dee3
push 0
call edi
push 0x400
lea ecx, [esp + 0x11c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x118]
push edx
lea ecx, [esp + 0x44]
call fcn.004031c0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0x928], 1
call fcn.00405ba0
lea ecx, [esp + 0x40]
mov byte [esp + 0x924], 3
call fcn.00401d80
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x8c]
call fcn.00403f60
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x928], 4
call fcn.00404f20
lea ecx, [esp + 0xac]
mov byte [esp + 0x924], 3
call fcn.00401d80
lea ecx, [esp + 0x64]
call fcn.00401e40
push eax
call esi
cmp eax, 0xffffffff
jne 0x40decf
lea edx, [esp + 0x14]
xor edi, edi
push edx
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00407940
mov ecx, dword [esp + 0x14]
cmp ecx, edi
jne 0x40dd38
lea ecx, [esp + 0x88]
mov byte [esp + 0x924], 0
call fcn.00401d80
lea ecx, [esp + 0x64]
mov dword [esp + 0x924], 0xffffffff
call fcn.00401d80
mov eax, 6
jmp 0x40df26
lea eax, [esp + 0x14]
push eax
lea edx, [ecx + 0xe0]
push edx
mov dword [esp + 0x1c], edi
call fcn.00408830
lea ecx, [esp + 0xd0]
call fcn.00401cf0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xd0]
push eax
push str.PRODUCTDLLPATH
mov byte [esp + 0x92c], 5
call fcn.00418730
mov esi, eax
cmp esi, edi
je 0x40ddc0
lea ecx, [esp + 0xd0]
mov byte [esp + 0x924], 3
call fcn.00401d80
lea ecx, [esp + 0x88]
mov byte [esp + 0x924], 0
call fcn.00401d80
lea ecx, [esp + 0x64]
mov dword [esp + 0x924], 0xffffffff
call fcn.00401d80
mov eax, esi
jmp 0x40df26
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call fcn.00406880
lea ecx, [esp + 0xf4]
mov byte [esp + 0x924], 6
call fcn.00401cf0
lea edx, [esp + 0x1c]
mov bl, 7
push edx
lea ecx, [esp + 0xb0]
mov byte [esp + 0x928], bl
call fcn.00403f60
mov esi, eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x924], 8
call fcn.00401e40
push eax
mov ecx, esi
call fcn.00401e40
push eax
lea eax, [esp + 0xfc]
push str._s_s
push eax
call fcn.004021e0
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x924], bl
call fcn.00401d80
lea ecx, [esp + 0xf4]
push ecx
lea ecx, [esp + 0x68]
call fcn.00404f20
lea ecx, [esp + 0x64]
call fcn.00403b00
test al, al
jne 0x40de8f
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x68]
call fcn.004042c0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x928], 9
call fcn.00404c00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x924], bl
call fcn.00401d80
lea ecx, [esp + 0xf4]
mov byte [esp + 0x924], 6
call fcn.00401d80
lea ecx, [esp + 0xac]
mov byte [esp + 0x924], 5
call fcn.00401d80
lea ecx, [esp + 0xd0]
mov byte [esp + 0x924], 3
call fcn.00401d80
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x88]
mov byte [esp + 0x924], 0
call fcn.00401d80
cmp dword [esp + 0x80], 8
mov eax, dword [esp + 0x6c]
jae 0x40def5
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp], eax
je 0x40dd1a
push ebp
lea ecx, [ebx + 0x18]
call fcn.0040db00
lea ecx, [esp + 0x64]
mov dword [esp + 0x924], 0xffffffff
call fcn.00401d80
xor eax, eax
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x904]
xor ecx, esp
call fcn.004420bc
add esp, 0x914
ret 8