Function at 0x423ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566bb7
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x5c524c]
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 0x423fe9
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4240d1
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041ca10
push 3
push 0x579acc
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.0041ca10
mov byte [ebp - 4], 2
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0xec]
push 0x2d6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ec0
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.ControllerMain::LoadInstalledConfig__info_path
push edi
mov byte [ebp - 4], 3
call fcn.004081f0
mov ecx, dword [esi + 0x2c]
mov edx, 0x579b78
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00405440
push str.is_not_found
push edi
call fcn.004081f0
mov eax, dword [ebx]
add esp, 0x18
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.0040ad10
lea ecx, [ebp - 0x28]
call fcn.004078d0
lea ecx, [ebp - 0x40]
jmp 0x4240c9
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 8]
add eax, 0x2c
push eax
call fcn.00438b10
test eax, eax
jne 0x424118
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4240d1
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579acc
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.0041ca10
mov byte [ebp - 4], 5
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0xec]
push 0x2dc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov edi, eax
mov esi, dword [esi + 0x1c]
push str.ControllerMain::LoadInstalledConfig__from_json_file_fail_info_path:
push edi
mov byte [ebp - 4], 6
call fcn.004081f0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov edx, 0x579b78
cmovne edx, ecx
push edx
push edi
call fcn.00405440
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.0040ad10
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0x28]
call fcn.004078d0
or ebx, 0xffffffff
xor edi, edi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4240f8
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4240f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x4240f8
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.0047285d
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call edi
test eax, eax
jne 0x4241c0
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4240d1
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579acc
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.0041ca10
mov byte [ebp - 4], 8
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0xec]
push 0x2e3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov edi, eax
mov esi, dword [ebp + 8]
push str.ControllerMain::LoadInstalledConfig__not_find_ui_:
push edi
mov byte [ebp - 4], 9
call fcn.004081f0
mov ecx, dword [esi + 0x34]
jmp 0x424097
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040e8f0
add eax, 0x10
mov dword [ebp - 0x54], eax
push 0x57907c
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push str._s_s
push eax
call fcn.00414530
mov esi, dword [ebp - 0x54]
add esp, 0x14
push esi
call edi
test eax, eax
jne 0x424393
push 0x5798f8
lea ecx, [ebp - 0x4c]
call fcn.00406a80
push 0x5798f8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.00406a80
push str.lose_webview_dll
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00406a80
mov byte [ebp - 4], 0xd
call fcn.0045e250
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424268
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424286
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4242a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42436f
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579acc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041ca10
mov byte [ebp - 4], 0xf
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0xec]
push 0x2ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov edi, eax
push str.ControllerMain::LoadInstalledConfig_not_find_web_view_path:
push edi
mov byte [ebp - 4], 0x10
call fcn.004081f0
test esi, esi
mov ecx, 0x579b78
cmovne ecx, esi
push ecx
push edi
call fcn.00405440
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xec]
call fcn.0040ad10
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0x28]
call fcn.004078d0
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 0x4240d1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4240d1
mov edi, dword [str.libcef.dll]
call fcn.00415c50
mov ecx, eax
test ecx, ecx
je 0x4245c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.0040e400
test al, al
jne 0x4243ea
test edi, edi
jne 0x4243cc
xor ecx, ecx
jmp 0x4243e0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4243d1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.0041afc0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x12
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 0x42440f
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.004182d0
mov edx, dword [ebp - 0x44]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 0xa
mov eax, ebx
sete byte [ebp - 0x45]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424446
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x45], 0
je 0x424597
push 0x5798f8
lea ecx, [ebp - 0x44]
call fcn.00406a80
push 0x5798f8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x13
call fcn.00406a80
push str.lose_lib_cef
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x14
call fcn.00406a80
mov byte [ebp - 4], 0x15
call fcn.0045e250
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x50]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4244ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, ebx
mov byte [ebp - 4], 0x13
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4244d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4244f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00481d20
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42436f
push 0x5b
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579acc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x17
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0xec]
push 0x2f3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov edi, eax
push str.ControllerMain::LoadInstalledConfig_not_find_lic_cef_path:
push edi
mov byte [ebp - 4], 0x18
call fcn.004081f0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 0x1c]
jmp 0x424351
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 0x4240d3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4240d3
push 0x80004005
call fcn.0040e3e0
int3