Function at 0x4744b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c625
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x5ea6c0]
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 dword [edi + 8], 0
je 0x4745c9
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4745c2
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_security_security_mainwebwndbase.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.0040e990
push 0x63
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x310]
call fcn.004080a0
mov esi, eax
push str.web_window_factory_already_init
push esi
mov byte [ebp - 4], 2
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00409700
lea ecx, [ebp - 0x230]
call fcn.00408b80
lea ecx, [ebp - 0x248]
call fcn.00408b80
mov al, 1
jmp 0x4749f1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005536e0
add esp, 0xc
push str...Utilsjs_basic.dll
call fcn.00428170
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4746d7
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_security_security_mainwebwndbase.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040e990
push 0x69
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x310]
call fcn.004080a0
mov esi, eax
push str.Load_js_basic
push esi
mov byte [ebp - 4], 5
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00409700
lea ecx, [ebp - 0x248]
call fcn.00408b80
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00408b80
lea eax, [ebp - 0x218]
xor esi, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4748fa
lea eax, [ebp - 0x218]
push eax
call fcn.0047b500
add esp, 4
test eax, eax
je 0x4748fa
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x47472a
push str.GetWebWindowFactory
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47472a
call eax
mov esi, eax
test esi, esi
je 0x4748fa
mov dword [edi + 8], esi
mov eax, dword [esi]
push esi
call dword [eax]
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x47481a
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_security_security_mainwebwndbase.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 9
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040e990
push 0x77
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x310]
call fcn.004080a0
mov esi, eax
push str.web_window_factory_init
push esi
mov byte [ebp - 4], 0xb
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00409700
lea ecx, [ebp - 0x248]
call fcn.00408b80
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.00408b80
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4745c2
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_security_security_mainwebwndbase.cpp
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x260]
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040e990
push 0x7f
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x3a8]
call fcn.004080a0
mov esi, eax
push str.Load_js_basic.dll_success
push esi
mov byte [ebp - 4], 0x11
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3a8]
call fcn.00409700
lea ecx, [ebp - 0x260]
call fcn.00408b80
lea ecx, [ebp - 0x278]
call fcn.00408b80
mov al, 1
jmp 0x4749f1
call fcn.00428550
push 0
push 0
push 0
push 0x597944
push str.basicOff
mov ecx, eax
call fcn.00480150
call fcn.0047f3e0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4749ef
push 0x49
push str.d:jenkins.jenkinsworkspacemgame_security_security_mainwebwndbase.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.0040e990
push 3
push 0x597c7c
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 6
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0040e990
push 0x6e
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x310]
call fcn.004080a0
mov esi, eax
push str.Load_js_basic.dll_failed
push esi
mov byte [ebp - 4], 8
call fcn.004062f0
add esp, 8
call fcn.0047f3e0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x310]
call fcn.00409700
lea ecx, [ebp - 0x248]
call fcn.00408b80
lea ecx, [ebp - 0x230]
call fcn.00408b80
xor al, al
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.00512634
mov esp, ebp
pop ebp
ret