Function at 0x42af00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e11b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x524a60]
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 edi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x50], ebx
mov edx, dword [eax + 8]
mov eax, dword [eax]
cmp edx, 1
jae 0x42af52
push str.CWebBrowserLogic::_InvokeGetLocalData__no_parameter_
call fcn.00433920
add esp, 4
jmp 0x42b29a
add edx, edx
movzx ecx, word [eax + edx*8 - 0x10]
cmp ecx, 8
jne 0x42b28c
mov eax, dword [eax + edx*8 - 8]
test eax, eax
je 0x42b28c
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403650
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x42afa1
push str.CWebBrowserLogic::_InvokeGetLocalData__empty_key
call fcn.00433920
mov edi, 1
add esp, 4
mov word [ebx], di
jmp 0x42b268
cmp dword [edi + 0x38], 0
jne 0x42b0c1
mov ecx, dword [0x52a958]
call fcn.00418bb0
push eax
lea ecx, [ebp - 0x44]
call fcn.00403620
push 0x12
push str.LocalStorage.json
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040c0e0
mov esi, dword [ebp - 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42b002
push str.CWebBrowserLogic::_InvokeGetLocalData__file_not_exists
call fcn.00433e30
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, 1
mov word [ebx], di
call fcn.00403980
jmp 0x42b268
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004036f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042ff80
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.004039d0
test esi, esi
jg 0x42b051
neg esi
push esi
push str.CWebBrowserLogic::_InvokeGetLocalData__read_file_fail__error_d
jmp 0x42b085
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004341c0
add esp, 4
lea ecx, [edi + 0x38]
push eax
call fcn.0042a2d0
cmp dword [edi + 0x38], 0
jne 0x42b0aa
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.CWebBrowserLogic::_InvokeGetLocalData__parse_file_fail__json_s
call fcn.00433920
add esp, 8
lea ecx, [ebp - 0x28]
mov edi, 1
mov word [ebx], di
call fcn.00409cb0
lea ecx, [ebp - 0x44]
call fcn.00403980
jmp 0x42b268
lea ecx, [ebp - 0x28]
call fcn.00409cb0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00403980
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0043a2c0
push dword [ebp - 0x48]
mov byte [ebp - 4], 4
push dword [edi + 0x38]
call fcn.00434100
add esp, 0x10
test eax, eax
jne 0x42b0ee
mov edi, 1
mov word [ebx], di
jmp 0x42b260
call fcn.004045a0
mov ecx, eax
test ecx, ecx
je 0x42b2c2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
push 0x4e8ad8
push dword [ebp - 0x48]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push dword [edi + 0x38]
push eax
call fcn.00435420
add esp, 0x10
mov eax, dword [ebp - 0x58]
mov edi, 1
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
je 0x42b22b
push eax
lea ecx, [ebp - 0x40]
call fcn.004036f0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004a30c0
add esp, 8
mov dword [ebp - 0x54], eax
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 8
jb 0x42b168
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x42b1c9
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [eax - 1]
test ebx, ebx
jle 0x42b1c9
mov eax, dword [esi - 8]
mov ecx, edi
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x42b1a2
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040ace0
mov esi, dword [ebp - 0x44]
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x54]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp ebx, dword [esi - 8]
jg 0x42b2cc
mov dword [esi - 0xc], ebx
mov byte [ebx + esi], 0
jmp 0x42b214
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov ebx, dword [edx]
je 0x42b214
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x42b1f3
cmp dword [esi - 8], 0
jl 0x42b2cc
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x42b214
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x42b207
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
lea ecx, [ebp - 0x28]
call fcn.004039d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.004039d0
mov ebx, dword [ebp - 0x50]
push esi
lea ecx, [ebp - 0x50]
call fcn.0042a0c0
mov ecx, dword [eax]
mov dword [eax], 0
push dword [ebp - 0x50]
mov dword [ebx + 8], ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 8
lea ecx, [ebp - 0x58]
mov word [ebx], ax
call fcn.00403980
lea ecx, [ebp - 0x44]
call fcn.00403980
lea ecx, [ebp - 0x48]
call fcn.00403980
mov edx, dword [ebp - 0x4c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b2a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42b2a2
push ecx
push str.CWebBrowserLogic::_InvokeGetLocalData__invalid_parameters__arg1_d
call fcn.00433920
add esp, 8
mov edi, 1
mov word [ebx], di
mov eax, edi
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.004a1588
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00403f90
push 0x80070057
call fcn.00403f90
int3