Function at 0x47da60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7df8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0xd48], 0
jne 0x47db2c
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00481190
mov esi, dword [ebp - 0x2c]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x4c9b04
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47db03
mov dword [0x4e59d0], esi
call fcn.00481440
test eax, eax
je 0x47db03
mov byte [edi + 0xd48], 1
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x47db1f
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.00404770
cmp byte [edi + 0xd48], 0
je 0x47dce8
cmp dword [edi + 0xd4c], 0
jne 0x47dcdc
mov eax, dword [edi]
mov eax, dword [eax + 0x5c]
cmp eax, method.UiLib::CCheckBoxUI.virtual_92
jne 0x47db52
movups xmm0, xmmword [edi + 0x1fc]
movups xmmword [ebp - 0x20], xmm0
jmp 0x47db5a
lea ecx, [ebp - 0x20]
push ecx
mov ecx, edi
call eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add esi, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], 0x24
movups xmmword [ebp - 0x4c], xmm0
movups xmmword [ebp - 0x3c], xmm0
cmp eax, method.UiLib::CCheckBoxUI.virtual_28
jne 0x47dba1
mov eax, dword [edi + 0x40]
jmp 0x47dbae
mov ecx, edi
call eax
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [eax + 4]
sub ecx, esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
sub edx, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x5bc]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x48], 0x40000000
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
call dword [0x4ebd74]
mov ecx, dword [edi + 0x5bc]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [edi + 0xd4c], eax
mov dword [ebp - 0x28], 8
call dword [0x4eb930]
add esp, 0xc
push 0xfffffffffffffffc
push dword [edi + 0xd4c]
call dword [0x4ebdb0]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
push str.BrowserContext
push dword [edi + 0xd4c]
mov dword [edi + 0xdf8], eax
call dword [0x4ebdb0]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetPropW]
push edi
push 0x480180
push dword [edi + 0xd4c]
call dword [0x4ebac0]
push edi
push 0x4800d0
push dword [edi + 0xd4c]
call dword [0x4ebb38]
push edi
push 0x480260
push dword [edi + 0xd4c]
call dword [0x4ebd20]
mov eax, dword [edi]
add esp, 0x24
mov eax, dword [eax + 0x1c]
cmp eax, method.UiLib::CCheckBoxUI.virtual_28
jne 0x47dc89
mov eax, dword [edi + 0x40]
jmp 0x47dc8d
mov ecx, edi
call eax
mov eax, dword [eax + 0x69c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x47dcc8
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
test al, al
je 0x47dcc8
push 1
push dword [edi + 0xd4c]
call dword [0x4ebc50]
push edi
push 0x480230
push dword [edi + 0xd4c]
call dword [0x4ebd48]
add esp, 0x14
mov eax, dword [edi + 0xd60]
cmp word [eax], 0
je 0x47dcdc
push eax
mov ecx, edi
call fcn.0047f0f0
mov byte [edi + 0xd10], 1
jmp 0x47dd82
movups xmm0, xmmword [ebp + 8]
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00486070
test al, al
je 0x47dd84
push 1
mov ecx, edi
call fcn.0047fe50
mov esi, edi
lea eax, [edi + 0xd30]
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
cmp eax, method.UiLib::CCheckBoxUI.virtual_28
jne 0x47dd2b
mov eax, dword [edi + 0x40]
jmp 0x47dd2f
mov ecx, edi
call eax
push esi
mov ecx, eax
call fcn.00423c70
movups xmm0, xmmword [0x4b9800]
lea esi, [edi + 0xd50]
mov ecx, edi
push esi
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00486390
mov ecx, dword [esi]
test ecx, ecx
je 0x47dd65
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0xf0]
cmp byte [edi + 0xde4], 0
je 0x47dd82
mov eax, dword [edi + 0xd60]
cmp word [eax], 0
je 0x47dd82
push eax
mov ecx, edi
call fcn.0047f0f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret 0x10