Function at 0x470a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611040
mov eax, dword fs:[0]
push eax
sub esp, 0x35c
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 - 0x2b0], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00410370
movzx eax, al
test eax, eax
je 0x470b82
push 0x208
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.005b1170
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
mov ecx, 0x6caa74
call fcn.00413be0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
mov byte [ebp - 0x291], cl
lea ecx, [ebp - 0x291]
call fcn.0046f120
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x470b71
push 0x633824
lea ecx, [ebp - 0x260]
call fcn.0040d080
mov byte [ebp - 4], 1
push str.no_z12_helper
lea ecx, [ebp - 0x248]
call fcn.0040d080
mov byte [ebp - 4], 2
push 0x6338cc
lea ecx, [ebp - 0x230]
call fcn.0040d080
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x230]
push eax
call fcn.0040f720
mov ecx, eax
call fcn.00449160
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.0040df90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.0040df90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.0040df90
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2a8]
jmp 0x470dc9
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00402800
jmp 0x470be9
xor edx, edx
mov byte [ebp - 0x292], dl
xor eax, eax
mov byte [ebp - 0x293], al
lea ecx, [ebp - 0x292]
call fcn.0046f250
push eax
lea ecx, [ebp - 0x293]
call fcn.0046f740
push eax
lea ecx, [ebp + 0xc]
call fcn.00439f40
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x470be9
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2ac]
jmp 0x470dc9
lea ecx, [ebp - 0x298]
call fcn.00405c40
mov byte [ebp - 4], 4
cmp dword [ebp + 8], 0
je 0x470c0a
mov dword [ebp - 0x29c], str._64BitZ12HelperInstall
jmp 0x470c14
mov dword [ebp - 0x29c], str._64BitZ12HelperUninstall
mov ecx, dword [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.00407610
add esp, 8
push 0
push 0x1388
push 1
push 0
lea ecx, [ebp - 0x298]
call fcn.00403580
push eax
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
push 0
mov ecx, dword [ebp - 0x2b0]
call fcn.00470df0
call fcn.00478bf0
mov dword [ebp - 0x2a0], eax
push 1
mov eax, dword [ebp - 0x2a0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2a0]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x2b4], al
cmp byte [ebp - 0x2b4], 1
je 0x470c8b
jmp 0x470d9b
push 0x633938
lea ecx, [ebp - 0x290]
call fcn.00408710
mov byte [ebp - 4], 5
push 0x63398c
lea ecx, [ebp - 0x278]
call fcn.00408710
mov byte [ebp - 4], 6
call fcn.00478bf0
mov dword [ebp - 0x2a4], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2d0], esp
lea edx, [ebp - 0x298]
push edx
call fcn.00405c20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x633990
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.0044ea50
add esp, 0x14
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2bc]
push eax
push 0x5a
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x368]
call fcn.0040d3b0
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c4]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x2a4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2a4]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x368]
call fcn.0040e140
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
call fcn.00405df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
call fcn.00405e70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x290]
call fcn.00405e70
mov dword [ebp - 0x2cc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x298]
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2cc]
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 8