Function at 0x421c30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5372d7
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x59024c]
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 eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], 0
push dword [eax + 0x2c]
call edi
or ebx, 0xffffffff
test eax, eax
jne 0x421d59
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421e41
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c7b0
push 3
push 0x5490cc
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.0040c7b0
mov byte [ebp - 4], 2
call fcn.00454720
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x240
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e020
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.MainControl::LoadInstalledConfig__info_path
push edi
mov byte [ebp - 4], 3
call fcn.004095f0
mov ecx, dword [esi + 0x2c]
mov edx, 0x548e28
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00407180
push str.is_not_found
push edi
call fcn.004095f0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00408ca0
lea ecx, [ebp - 0x40]
jmp 0x421e39
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
add eax, 0x2c
push eax
call fcn.0040b580
test eax, eax
jne 0x421e88
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421e41
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c7b0
push 3
push 0x5490cc
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.0040c7b0
mov byte [ebp - 4], 5
call fcn.00454720
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x246
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e020
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.MainControl::LoadInstalledConfig__from_json_file_fail_info_path:
push edi
mov byte [ebp - 4], 6
call fcn.004095f0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edx, 0x548e28
cmovne edx, ecx
push edx
push edi
call fcn.00407180
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00409720
lea ecx, [ebp - 0x40]
call fcn.00408ca0
lea ecx, [ebp - 0x28]
call fcn.00408ca0
or ebx, 0xffffffff
xor edi, edi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x421e68
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x421e68
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x421e68
mov edx, dword [esi]
mov ecx, esi
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.00448d5d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call edi
test eax, eax
jne 0x421f30
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421e41
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c7b0
push 3
push 0x5490cc
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.0040c7b0
mov byte [ebp - 4], 8
call fcn.00454720
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x24d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e020
mov edi, eax
mov esi, dword [ebp + 8]
push str.MainControl::LoadInstalledConfig__not_find_ui_:
push edi
mov byte [ebp - 4], 9
call fcn.004095f0
mov ecx, dword [esi + 0x34]
jmp 0x421e07
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.004035b0
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x548b3c
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push str._s_s
push eax
call fcn.004036b0
mov esi, dword [ebp - 0x4c]
add esp, 0x14
push esi
call edi
test eax, eax
jne 0x42205d
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x422039
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c7b0
push 3
push 0x5490cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0xc
call fcn.00454720
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x255
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e020
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_web_view_path:
push edi
mov byte [ebp - 4], 0xd
call fcn.004095f0
test esi, esi
mov ecx, 0x548e28
cmovne ecx, esi
push ecx
push edi
call fcn.00407180
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00409720
lea ecx, [ebp - 0x40]
call fcn.00408ca0
lea ecx, [ebp - 0x28]
call fcn.00408ca0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421e41
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421e41
mov edi, dword [str.libcef.dll]
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x4221e9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.00403470
test al, al
jne 0x4220b9
test edi, edi
jne 0x422096
xor ecx, ecx
jmp 0x4220af
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4220a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.00403cb0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4220de
lock inc dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
call fcn.0041ac50
mov edx, dword [ebp - 0x48]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
mov eax, ebx
sete byte [ebp - 0x41]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422115
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x4221c0
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x422039
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c7b0
push 3
push 0x5490cc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0x11
call fcn.00454720
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x25b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e020
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_lic_cef_path:
push edi
mov byte [ebp - 4], 0x12
call fcn.004095f0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
jmp 0x42201b
mov edi, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x421e43
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421e43
push 0x80004005
call fcn.00403450
int3