Function at 0x4a9600
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e020
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5c324c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.00453a00
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 4], 0
jb 0x4a964c
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x38]
push str.DuiLibMultiTabWebView::GetMultiTabWebView__group_id:_s
push eax
call fcn.004144a0
mov edi, dword [ebp - 0x38]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.004a9c00
mov eax, dword [esi]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
cmp esi, eax
je 0x4a9694
mov ecx, dword [ebp - 0x30]
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0045e2e0
test al, al
mov eax, dword [ebp - 0x2c]
je 0x4a9696
mov esi, eax
cmp esi, eax
je 0x4a96a2
mov ebx, dword [esi + 0x28]
jmp 0x4a9820
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004a9950
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], eax
jb 0x4a96ce
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4a9816
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a9816
push dword [ebp - 0x2c]
call fcn.0047cd10
add esp, 4
test eax, eax
je 0x4a9816
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4a9816
push dword [0x5c4390]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a9816
call eax
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x4a9816
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
test eax, eax
je 0x4a9816
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4a973d
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x38]
push str.InitMultiTabWebView__group_id:_s
push eax
call fcn.004144a0
mov edi, dword [ebp - 0x38]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.004a9c00
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
cmp esi, dword [ecx]
je 0x4a9780
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0045e2e0
test al, al
je 0x4a97aa
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x31]
mov dword [ebp - 0x2c], ebx
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x586ce8
call fcn.004a8c70
mov ecx, dword [ebp - 0x30]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.004a8e60
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x30]
add eax, 8
push ebx
push ecx
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.004a9c00
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
cmp esi, dword [ecx]
je 0x4a97e0
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.0045e2e0
test al, al
je 0x4a980a
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x31]
mov dword [ebp - 0x30], ebx
push eax
lea eax, [ebp - 0x30]
push eax
push 0x586ce8
call fcn.004a8c70
mov ecx, dword [ebp - 0x2c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.004a8e60
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x3c]
mov dword [esi + 0x28], 0
jmp 0x4a9818
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.004077c0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4a983f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472b5d
mov esp, ebp
pop ebp
ret 4