Function at 0x45e950
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f46f
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
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 - 0x178], ecx
call fcn.00478bf0
mov dword [ebp - 0xf4], eax
push 1
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xf4]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x118], al
cmp byte [ebp - 0x118], 1
je 0x45e9b5
jmp 0x45eaa5
push 0x62f320
lea ecx, [ebp - 0x70]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x62f36c
lea ecx, [ebp - 0x88]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0xf8], eax
push 0x62f370
lea ecx, [ebp - 0x174]
push ecx
call fcn.0040b7b0
add esp, 8
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x120]
push eax
push 0x5b5
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x88]
push edx
lea ecx, [ebp - 0x210]
call fcn.0040d3b0
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x128]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf8]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x210]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00405e70
mov byte [ebp - 0xe9], 0
mov dword [ebp - 0xf0], 0
mov ecx, dword [ebp + 8]
call fcn.00403580
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d080
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ec17
call fcn.00478bf0
mov dword [ebp - 0xfc], eax
push 1
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xfc]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x170], al
cmp byte [ebp - 0x170], 1
je 0x45eb19
jmp 0x45ec03
push 0x62f3a0
lea ecx, [ebp - 0x40]
call fcn.00408710
mov byte [ebp - 4], 5
push 0x62f3ec
lea ecx, [ebp - 0x58]
call fcn.00408710
mov byte [ebp - 4], 6
call fcn.00478bf0
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x28]
call fcn.00413b20
push eax
push 0x62f3f0
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x164]
push eax
push 0x5bd
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.0040d3b0
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x15c]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x100]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2a8]
call fcn.0040e140
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x158]
call fcn.00405df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040df90
jmp 0x45ef08
lea ecx, [ebp - 0x28]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x45ed7b
call fcn.00478bf0
mov dword [ebp - 0x114], eax
push 1
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x114]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x154], al
cmp byte [ebp - 0x154], 1
je 0x45ec6d
jmp 0x45ed67
push 0x62f428
lea ecx, [ebp - 0xa0]
call fcn.00408710
mov byte [ebp - 4], 9
push 0x62f474
lea ecx, [ebp - 0xe8]
call fcn.00408710
mov byte [ebp - 4], 0xa
call fcn.00478bf0
mov dword [ebp - 0x104], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x62f478
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x12c]
push eax
push 0x5c2
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x340]
call fcn.0040d3b0
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x134]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x104]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x340]
call fcn.0040e140
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x138]
call fcn.00405df0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040df90
jmp 0x45ef08
push str.Uninst
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x45eedf
call fcn.00478bf0
mov dword [ebp - 0x108], eax
push 1
mov edx, dword [ebp - 0x108]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x108]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0x13c], al
cmp byte [ebp - 0x13c], 1
je 0x45edd4
jmp 0x45eece
push 0x62f4b8
lea ecx, [ebp - 0xb8]
call fcn.00408710
mov byte [ebp - 4], 0xd
push 0x62f4b4
lea ecx, [ebp - 0xd0]
call fcn.00408710
mov byte [ebp - 4], 0xe
call fcn.00478bf0
mov dword [ebp - 0x10c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetProcAddress_fail__errno___d
lea eax, [ebp - 0x150]
push eax
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x144]
push edx
push 0x5c7
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x3d8]
call fcn.0040d3b0
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x14c]
call fcn.0040b2d0
push eax
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x3d8]
call fcn.0040e140
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x150]
call fcn.00405df0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xd0]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040df90
jmp 0x45ef08
push 0x62f504
call dword [ebp - 0x110]
mov byte [ebp - 0xe9], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040df90
xor ecx, ecx
jne 0x45eab6
cmp dword [ebp - 0xf0], 0
je 0x45ef28
mov edx, dword [ebp - 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0xf0], 0
mov al, byte [ebp - 0xe9]
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 4