Function at 0x41b230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47c524
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4a62e4]
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 ebx, ecx
lea eax, [ebp - 0x44]
push eax
call fcn.004133b0
mov ecx, eax
call fcn.004138c0
push str.js_basic.dll
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00412b30
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b3ad
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040e510
mov byte [ebp - 4], 2
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x233
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405aa0
mov esi, eax
push str.Load_js_basic
push esi
mov byte [ebp - 4], 3
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406fb0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41b363
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b359
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b681
push edx
push ecx
call fcn.00442ea6
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x41b3ad
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b686
push edx
push ecx
call fcn.00442ea6
add esp, 8
mov edi, dword [ebp - 0x44]
xor esi, esi
test edi, edi
je 0x41b588
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b588
push edi
call fcn.00433820
add esp, 4
test eax, eax
je 0x41b588
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41b3f9
push str.GetWebWindowFactory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b3f9
call eax
mov esi, eax
test esi, esi
je 0x41b588
mov dword [ebx + 0xa4], esi
mov eax, dword [esi]
push esi
call dword [eax]
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b4c7
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e510
mov byte [ebp - 4], 8
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x240
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405aa0
mov esi, eax
push str.web_window_factory_init
push esi
mov byte [ebp - 4], 9
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406fb0
lea ecx, [ebp - 0x40]
call fcn.00406570
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406570
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b57e
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e510
mov byte [ebp - 4], 0xe
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x246
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405aa0
mov esi, eax
push str.Load_js_basic.dll_success
push esi
mov byte [ebp - 4], 0xf
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406fb0
lea ecx, [ebp - 0x40]
call fcn.00406570
lea ecx, [ebp - 0x28]
call fcn.00406570
mov edi, 1
jmp 0x41b641
call fcn.0042fcb0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b63f
push 0x3a
push str.d:_buildlib_commonwin11_update_assistant_srcmain_wnd.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e510
push 3
push 0x482dd8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040e510
mov byte [ebp - 4], 5
call fcn.0042fcb0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x237
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405aa0
mov esi, eax
push str.Load_js_basic.dll_failed
push esi
mov byte [ebp - 4], 6
call fcn.00403950
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406fb0
lea ecx, [ebp - 0x40]
call fcn.00406570
lea ecx, [ebp - 0x28]
call fcn.00406570
xor edi, edi
mov esi, dword [ebp - 0x44]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b663
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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.00443153
mov esp, ebp
pop ebp
ret
call fcn.00453ee9
call fcn.00453ee9
int3