Function at 0x4200e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55cf67
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x5bb278]
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 0x420209
call fcn.00477b70
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4202f1
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.0041a210
push 3
push 0x56fa64
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.0041a210
mov byte [ebp - 4], 2
call fcn.00477b70
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2d2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405490
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.MainControl::LoadInstalledConfig__info_path
push edi
mov byte [ebp - 4], 3
call fcn.004067f0
mov ecx, dword [esi + 0x2c]
mov edx, 0x56f948
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00403b20
push str.is_not_found
push edi
call fcn.004067f0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.004085e0
lea ecx, [ebp - 0x28]
call fcn.00405e50
lea ecx, [ebp - 0x40]
jmp 0x4202e9
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
add eax, 0x2c
push eax
call fcn.004332c0
test eax, eax
jne 0x420338
call fcn.00477b70
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4202f1
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.0041a210
push 3
push 0x56fa64
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.0041a210
mov byte [ebp - 4], 5
call fcn.00477b70
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2d8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405490
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.004067f0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edx, 0x56f948
cmovne edx, ecx
push edx
push edi
call fcn.00403b20
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.004085e0
lea ecx, [ebp - 0x40]
call fcn.00405e50
lea ecx, [ebp - 0x28]
call fcn.00405e50
or ebx, 0xffffffff
xor edi, edi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x420318
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x420318
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x420318
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.0046975d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call edi
test eax, eax
jne 0x4203e0
call fcn.00477b70
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4202f1
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.0041a210
push 3
push 0x56fa64
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.0041a210
mov byte [ebp - 4], 8
call fcn.00477b70
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2df
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405490
mov edi, eax
mov esi, dword [ebp + 8]
push str.MainControl::LoadInstalledConfig__not_find_ui_:
push edi
mov byte [ebp - 4], 9
call fcn.004067f0
mov ecx, dword [esi + 0x34]
jmp 0x4202b7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040c1d0
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x56ee1c
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
push 0x5709cc
push eax
call fcn.00411e40
mov esi, dword [ebp - 0x4c]
add esp, 0x14
push esi
call edi
test eax, eax
jne 0x42050d
call fcn.00477b70
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4204e9
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.0041a210
push 3
push 0x56fa64
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.0041a210
mov byte [ebp - 4], 0xc
call fcn.00477b70
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2e7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405490
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_web_view_path:
push edi
mov byte [ebp - 4], 0xd
call fcn.004067f0
test esi, esi
mov ecx, 0x56f948
cmovne ecx, esi
push ecx
push edi
call fcn.00403b20
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.004085e0
lea ecx, [ebp - 0x40]
call fcn.00405e50
lea ecx, [ebp - 0x28]
call fcn.00405e50
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 0x4202f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4202f1
mov edi, dword [str.libcef.dll]
call fcn.00413510
mov ecx, eax
test ecx, ecx
je 0x420699
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.0040bce0
test al, al
jne 0x420569
test edi, edi
jne 0x420546
xor ecx, ecx
jmp 0x42055f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420550
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.004185c0
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 0x42058e
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.00415a30
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 0x4205c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x41], 0
je 0x420670
call fcn.00477b70
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4204e9
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.0041a210
push 3
push 0x56fa64
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.0041a210
mov byte [ebp - 4], 0x11
call fcn.00477b70
mov ebx, eax
lea ecx, [ebp - 0xe8]
push 0x2ed
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405490
mov edi, eax
push str.MainControl::LoadInstalledConfig_not_find_lic_cef_path:
push edi
mov byte [ebp - 4], 0x12
call fcn.004067f0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
jmp 0x4204cb
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 0x4202f3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4202f3
push 0x80004005
call fcn.0040bcc0
int3