Function at 0x420f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5585f7
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5b627c]
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 0x421069
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421151
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 2
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x291
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.MainControl::LoadInstalledConfig__info_path
push edi
mov byte [ebp - 4], 3
call fcn.00407a90
mov ecx, dword [esi + 0x2c]
mov edx, 0x56ba88
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00405390
push str.is_not_found
push edi
call fcn.00407a90
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00407f30
lea ecx, [ebp - 0x28]
call fcn.004070a0
lea ecx, [ebp - 0x40]
jmp 0x421149
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
add eax, 0x2c
push eax
call fcn.00433130
test eax, eax
jne 0x421198
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421151
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 5
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x297
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066e0
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.00407a90
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edx, 0x56ba88
cmovne edx, ecx
push edx
push edi
call fcn.00405390
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00407f30
lea ecx, [ebp - 0x40]
call fcn.004070a0
lea ecx, [ebp - 0x28]
call fcn.004070a0
or ebx, 0xffffffff
xor edi, edi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x421178
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x421178
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x421178
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.00465d1b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call edi
test eax, eax
jne 0x421240
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421151
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 8
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x29e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066e0
mov edi, eax
mov esi, dword [ebp + 8]
push str.MainControl::LoadInstalledConfig__not_find_ui_:
push edi
mov byte [ebp - 4], 9
call fcn.00407a90
mov ecx, dword [esi + 0x34]
jmp 0x421117
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040c650
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x56afa0
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push str._s_s
push eax
call fcn.00412720
mov esi, dword [ebp - 0x4c]
add esp, 0x14
push esi
call edi
test eax, eax
jne 0x42136d
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421349
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 0xc
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2a6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066e0
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_web_view_path:
push edi
mov byte [ebp - 4], 0xd
call fcn.00407a90
test esi, esi
mov ecx, 0x56ba88
cmovne ecx, esi
push ecx
push edi
call fcn.00405390
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.00407f30
lea ecx, [ebp - 0x40]
call fcn.004070a0
lea ecx, [ebp - 0x28]
call fcn.004070a0
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 0x421151
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421151
mov edi, dword [str.libcef.dll]
call fcn.00414250
mov ecx, eax
test ecx, ecx
je 0x4214f9
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.0040c160
test al, al
jne 0x4213c9
test edi, edi
jne 0x4213a6
xor ecx, ecx
jmp 0x4213bf
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4213b0
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.0041a8f0
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 0x4213ee
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.00417120
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 0x421425
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x4214d0
call fcn.00474150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x421349
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.0041c540
push 3
push 0x56bba4
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.0041c540
mov byte [ebp - 4], 0x11
call fcn.00474150
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2ac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066e0
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_lic_cef_path:
push edi
mov byte [ebp - 4], 0x12
call fcn.00407a90
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
jmp 0x42132b
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 0x421153
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x421153
push 0x80004005
call fcn.0040c140
int3