Function at 0x401a40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e966
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x43b198]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e0], ecx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401c8a
lea ecx, [ebp - 0x165]
mov dword [ebp - 0x164], ecx
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00403cb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x171]
mov dword [ebp - 0x170], edx
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.00403cb0
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x150], esp
mov eax, dword [ebp + 0xc]
push eax
call fcn.004038c0
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x4c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x154], esp
mov eax, dword [ebp + 8]
push eax
call fcn.00403930
mov dword [ebp - 0x1ec], eax
push str.DRMStudio
push str.DRMLicense
mov byte [ebp - 4], 1
call fcn.00409500
add esp, 0x44
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x158], esp
mov edx, dword [ebp + 0x10]
push edx
call fcn.004038c0
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x15c], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00403930
mov dword [ebp - 0x1f8], eax
push str.DRMProduct
push str.DRMLicense
mov byte [ebp - 4], 1
call fcn.00409500
add esp, 0x44
cmp dword [ebp - 0x34], 0x10
jb 0x401b92
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1fc], eax
jmp 0x401b9b
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1fc]
push eax
call fcn.00418ebd
add esp, 8
test eax, eax
jne 0x401be7
cmp dword [ebp - 0x18], 0x10
jb 0x401bc3
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x200], ecx
jmp 0x401bcc
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x200], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x200]
push ecx
call fcn.00418ebd
add esp, 8
test eax, eax
je 0x401c67
cmp dword [ebp - 0x18], 0x10
jb 0x401bf8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x204], edx
jmp 0x401c01
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x34], 0x10
jb 0x401c12
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x208], ecx
jmp 0x401c1b
lea edx, [ebp - 0x48]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x208]
push eax
push str.This_registration_program_is_not_configured_correctly_for_this_game___s____s__or___s__s_
push 0x100
lea ecx, [ebp - 0x14c]
push ecx
call fcn.004190da
add esp, 0x1c
push 0x10
push str.Invalid_Configuration
lea edx, [ebp - 0x14c]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00403cb0
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00403cb0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041848f
mov esp, ebp
pop ebp
ret 0xc