Function at 0x410890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe4], ecx
push str.guardhp.dat
mov eax, dword [ebp - 0xe4]
add eax, 0x14
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0040b6e0
add esp, 0xc
mov dword [ebp - 4], 0
push 0x6190cd
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410a59
call fcn.00478bf0
mov dword [ebp - 0xd4], eax
push 1
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd4]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0xe8], al
cmp byte [ebp - 0xe8], 1
je 0x41093f
jmp 0x410a29
push 0x619d48
lea ecx, [ebp - 0x88]
call fcn.00408710
mov byte [ebp - 4], 2
push 0x619d44
lea ecx, [ebp - 0x70]
call fcn.00408710
mov byte [ebp - 4], 3
call fcn.00478bf0
mov dword [ebp - 0xd8], eax
push str.res_product_json_file_is_not_exist
lea eax, [ebp - 0xfc]
push eax
call fcn.0040b7b0
add esp, 8
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xf0]
push edx
push 0x14a
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x1bc]
call fcn.0040d3b0
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xf8]
call fcn.0040b2d0
push eax
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1bc]
call fcn.0040e140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call fcn.00405df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00405e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00405e70
mov dword [ebp - 0x100], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
mov eax, dword [ebp - 0x100]
jmp 0x410c72
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00413b20
push eax
call fcn.005341a0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00405d30
mov byte [ebp - 4], 6
push 0x6190a8
lea ecx, [ebp - 0xa0]
call fcn.00408710
mov byte [ebp - 4], 7
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00533220
add esp, 0xc
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa0]
call fcn.00405e70
cmp dword [ebp - 0x104], 0
je 0x410c3b
call fcn.00478bf0
mov dword [ebp - 0xdc], eax
push 1
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xdc]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x108], al
cmp byte [ebp - 0x108], 1
je 0x410afb
jmp 0x410bf7
push 0x619dd8
lea ecx, [ebp - 0xd0]
call fcn.00408710
mov byte [ebp - 4], 8
push 0x619e20
lea ecx, [ebp - 0xb8]
call fcn.00408710
mov byte [ebp - 4], 9
call fcn.00478bf0
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x28]
call fcn.00407f70
push eax
push 0x619e24
lea eax, [ebp - 0x11c]
push eax
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x110]
push edx
push 0x151
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x254]
call fcn.0040d3b0
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x118]
call fcn.0040b2d0
push eax
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x254]
call fcn.0040e140
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00405df0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xb8]
call fcn.00405e70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00405e70
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0xe4]
call fcn.00410440
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
mov eax, dword [ebp - 0x120]
jmp 0x410c72
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret