Function at 0x4703c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610fab
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
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 - 0x2a4], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00410370
movzx eax, al
test eax, eax
je 0x4704e5
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]
call fcn.004305a0
test eax, eax
je 0x47046f
xor ecx, ecx
mov byte [ebp - 0x27d], cl
lea ecx, [ebp - 0x27d]
call fcn.0046ecb0
mov dword [ebp - 0x28c], eax
jmp 0x470488
xor edx, edx
mov byte [ebp - 0x27e], dl
lea ecx, [ebp - 0x27e]
call fcn.0046f5c0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4704d1
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2e8]
jmp 0x4709e4
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp + 0xc]
call fcn.00402800
jmp 0x47057c
call fcn.004305a0
test eax, eax
je 0x470509
xor ecx, ecx
mov byte [ebp - 0x27f], cl
lea ecx, [ebp - 0x27f]
call fcn.0046f030
mov dword [ebp - 0x290], eax
jmp 0x470522
xor edx, edx
mov byte [ebp - 0x280], dl
lea ecx, [ebp - 0x280]
call fcn.0046ef60
mov dword [ebp - 0x290], eax
xor eax, eax
mov byte [ebp - 0x281], al
mov ecx, dword [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x281]
call fcn.0046f520
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 0x47057c
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2e0]
jmp 0x4709e4
lea ecx, [ebp - 0x27c]
call fcn.00405c40
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x47059d
mov dword [ebp - 0x294], 0x63369c
jmp 0x4705a7
mov dword [ebp - 0x294], 0x6336ac
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x294]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00407610
add esp, 0xc
xor edx, edx
mov byte [ebp - 0x287], dl
push 0
push 0x1388
push 1
push 0
lea ecx, [ebp - 0x27c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x287]
call fcn.0046f690
push eax
push 0
mov ecx, dword [ebp - 0x2a4]
call fcn.00470df0
call fcn.00478bf0
mov dword [ebp - 0x298], eax
push 1
mov eax, dword [ebp - 0x298]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x298]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x2ec], al
cmp byte [ebp - 0x2ec], 1
je 0x47062d
jmp 0x47073d
push 0x6336c8
lea ecx, [ebp - 0x278]
call fcn.00408710
mov byte [ebp - 4], 2
push 0x6336c4
lea ecx, [ebp - 0x248]
call fcn.00408710
mov byte [ebp - 4], 3
call fcn.00478bf0
mov dword [ebp - 0x29c], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2f4], esp
lea edx, [ebp - 0x27c]
push edx
call fcn.00405c20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x633730
lea ecx, [ebp - 0x2c0]
push ecx
call fcn.0044ea50
add esp, 0x14
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2b4]
push eax
push 0x2c
lea ecx, [ebp - 0x278]
push ecx
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x390]
call fcn.0040d3b0
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2bc]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x29c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x29c]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x390]
call fcn.0040e140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c0]
call fcn.00405df0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x248]
call fcn.00405e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call fcn.00405e70
cmp dword [ebp + 8], 0
jne 0x4709b6
call fcn.004305a0
test eax, eax
je 0x470788
xor ecx, ecx
mov byte [ebp - 0x282], cl
xor edx, edx
mov byte [ebp - 0x283], dl
lea ecx, [ebp - 0x282]
call fcn.0046f380
push eax
lea ecx, [ebp - 0x283]
call fcn.0046ee70
push eax
lea ecx, [ebp + 0xc]
call fcn.00439f40
mov dword [ebp - 0x2c4], eax
jmp 0x4707be
xor eax, eax
mov byte [ebp - 0x284], al
xor ecx, ecx
mov byte [ebp - 0x285], cl
lea ecx, [ebp - 0x284]
call fcn.0046f460
push eax
lea ecx, [ebp - 0x285]
call fcn.0046eda0
push eax
lea ecx, [ebp + 0xc]
call fcn.00439f40
mov dword [ebp - 0x2c4], eax
cmp dword [ebp + 8], 0
je 0x4707d0
mov dword [ebp - 0x2a0], 0x63371c
jmp 0x4707da
mov dword [ebp - 0x2a0], str._u__s___s_
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00407610
add esp, 0xc
lea ecx, [ebp + 0xc]
call fcn.00403580
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47083a
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2c8]
jmp 0x4709e4
xor edx, edx
mov byte [ebp - 0x286], dl
push 0
push 0x1388
push 1
push 0
lea ecx, [ebp - 0x27c]
call fcn.00403580
push eax
lea ecx, [ebp - 0x286]
call fcn.0046ec00
push eax
push 0
mov ecx, dword [ebp - 0x2a4]
call fcn.00470df0
call fcn.00478bf0
mov dword [ebp - 0x2ac], eax
push 1
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x2cc], al
cmp byte [ebp - 0x2cc], 1
je 0x4708a6
jmp 0x4709b6
push 0x6337d0
lea ecx, [ebp - 0x260]
call fcn.00408710
mov byte [ebp - 4], 6
push 0x63372c
lea ecx, [ebp - 0x230]
call fcn.00408710
mov byte [ebp - 4], 7
call fcn.00478bf0
mov dword [ebp - 0x2a8], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2f8], esp
lea edx, [ebp - 0x27c]
push edx
call fcn.00405c20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._tid:_d__CDeskBandInstallHelper::RegisterBand_bRegister:_d_Param:_s
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.0044ea50
add esp, 0x14
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x2d4]
push eax
push 0x3b
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x230]
push edx
lea ecx, [ebp - 0x428]
call fcn.0040d3b0
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2dc]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x428]
call fcn.0040e140
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2f0]
call fcn.00405df0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x230]
call fcn.00405e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x260]
call fcn.00405e70
mov dword [ebp - 0x2e4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x27c]
call fcn.00405df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00405df0
mov eax, dword [ebp - 0x2e4]
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