Function at 0x440170
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569227
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
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 ebx, ecx
mov dword [ebp - 0xc0], ebx
mov eax, dword [ebx + 0x3a8]
test eax, eax
jne 0x4401f3
push 0x57f0f8
push 0x104
call fcn.00472cb3
add esp, 8
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4401dc
mov ecx, eax
call fcn.0043a3b0
jmp 0x4401de
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x3a8], eax
test eax, eax
je 0x440aeb
mov ecx, eax
call fcn.00448e40
test al, al
je 0x440aeb
mov eax, dword [ebx + 0x3a8]
mov dword [eax + 0xfc], ebx
mov ecx, dword [ebx + 0x3a8]
call fcn.004491a0
test al, al
je 0x440aeb
call fcn.00481d20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4402e2
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_window.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 0x579ac8
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.0041ca10
mov byte [ebp - 4], 2
call fcn.00481d20
mov edi, eax
lea ecx, [ebp - 0x168]
push 0x488
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406ec0
mov esi, eax
push str.create_dialog_succ.
push esi
mov byte [ebp - 4], 3
call fcn.004081f0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.0040ad10
lea ecx, [ebp - 0x58]
call fcn.004078d0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004078d0
push 0x5798f8
lea ecx, [ebp - 0xbc]
call fcn.00406a80
push 0xd
push str.soft_icon_url
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ca10
push 0xfde9
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebx + 0x3b0]
call fcn.0050cb10
push dword [eax]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.00439fb0
mov edx, dword [ebp - 0xc4]
or esi, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x440375
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.004078d0
mov edx, dword [ebp - 0xbc]
mov eax, esi
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44039e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00425690
mov ecx, eax
call fcn.00426920
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xb
call esi
test eax, eax
jne 0x440575
cmp dword [ebp - 0xa8], eax
je 0x440575
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00425690
mov ecx, eax
call fcn.00426920
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xc
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00406a80
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.00406a80
push 0
push 0x493e0
push 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.00445e30
add esp, 0x14
lea ecx, [ebp - 0xbc]
call fcn.004077b0
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0xc
call fcn.004077b0
call fcn.00481d20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x440569
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_window.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x10
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0x168]
push 0x496
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ec0
mov esi, eax
push str.MainWindow::ProcessPushConfig__download_icon_url
push esi
mov byte [ebp - 4], 0x11
call fcn.004081f0
add esp, 8
lea eax, [ebp - 0xb8]
mov ecx, esi
push eax
call fcn.004396a0
mov edi, eax
push str._ndownload_path
push edi
call fcn.004081f0
mov esi, dword [ebx]
lea eax, [ebp - 0x40]
add esp, 8
mov ecx, edi
push eax
call fcn.004396a0
push eax
mov ecx, ebx
call dword [esi + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.0040ad10
lea ecx, [ebp - 0x28]
call fcn.004078d0
lea ecx, [ebp - 0x58]
call fcn.004078d0
mov ebx, dword [ebp - 0xc0]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
call fcn.00407920
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call esi
test eax, eax
je 0x440699
call fcn.00481d20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x440660
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_window.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 0x579ac8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x13
call fcn.00481d20
mov ebx, eax
lea ecx, [ebp - 0x168]
push 0x49b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov edi, eax
push str.find_icon.
push edi
mov byte [ebp - 4], 0x14
call fcn.004081f0
mov esi, dword [ebx]
lea eax, [ebp - 0x88]
add esp, 8
mov ecx, edi
push eax
call fcn.004396a0
push eax
mov ecx, ebx
call dword [esi + 0x1c]
lea ecx, [ebp - 0x168]
call fcn.0040ad10
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
call fcn.004078d0
mov ebx, dword [ebp - 0xc0]
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00439fb0
mov ecx, dword [ebx + 0x3a8]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x15
call fcn.0044a6a0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xb
call fcn.00407920
lea eax, [ebp - 0xd0]
push eax
call fcn.00425690
mov ecx, eax
call fcn.00425660
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
push dword [eax + 0x30]
call fcn.00439fb0
mov ecx, dword [ebx + 0x3a8]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x17
call fcn.0044a750
lea ecx, [ebp - 0x70]
call fcn.00407920
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00407aa0
lea eax, [ebp - 0xd0]
push eax
call fcn.00425690
mov ecx, eax
call fcn.00425660
mov eax, dword [eax]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x18
push dword [eax + 0x18]
call fcn.00439fb0
mov ecx, dword [ebx + 0x3a8]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x19
call fcn.0044a800
lea ecx, [ebp - 0x70]
call fcn.00407920
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xb
call fcn.00407aa0
push 0x5798f8
lea ecx, [ebp - 0xc0]
call fcn.00406a80
push 0xf
push str.soft_title_text
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041ca10
push 0xfde9
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebx + 0x3b0]
call fcn.0050cb10
push dword [eax]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1c
call fcn.00439fb0
mov edx, dword [ebp - 0xc4]
or esi, 0xffffffff
mov byte [ebp - 4], 0x1e
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4407c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
call fcn.004078d0
mov edx, dword [ebp - 0xc0]
mov eax, esi
mov byte [ebp - 4], 0x20
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4407eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0xa0]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00439fb0
mov ecx, dword [ebx + 0x3a8]
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x21
call fcn.0044a5f0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x20
call fcn.00407920
push 0x5798f8
lea ecx, [ebp - 0xc8]
call fcn.00406a80
push 0x10
push str.soft_detail_text
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041ca10
push 0xfde9
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebx + 0x3b0]
call fcn.0050cb10
push dword [eax]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x24
call fcn.00439fb0
mov edx, dword [ebp - 0xcc]
mov eax, esi
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4408b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.004078d0
mov edx, dword [ebp - 0xc8]
mov eax, esi
mov byte [ebp - 4], 0x28
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4408da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xa0]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00439fb0
mov ecx, dword [ebx + 0x3a8]
lea eax, [ebp - 0xa0]
push eax
mov byte [ebp - 4], 0x29
call fcn.0044a540
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x28
call fcn.00407920
mov eax, dword [ebx + 0x3a8]
push 1
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebx + 0x3a8]
call fcn.0044a390
push 0x5798f8
lea ecx, [ebp - 0xc4]
call fcn.00406a80
push str.wdlead
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x2a
call fcn.00406a80
push 0x57cd4c
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x2b
call fcn.00406a80
mov byte [ebp - 4], 0x2c
call fcn.0045e250
lea ecx, [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xbc]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0xc0]
mov eax, esi
mov byte [ebp - 4], 0x2b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4409b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xbc]
mov eax, esi
mov byte [ebp - 4], 0x2a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4409d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xc4]
mov byte [ebp - 4], 0x28
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4409f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00481d20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x440ac5
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxmain_window.cc
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], al
call fcn.0041ca10
push 3
push 0x579ac8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2d
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041ca10
mov byte [ebp - 4], 0x2e
call fcn.00481d20
mov edi, eax
lea ecx, [ebp - 0x200]
push 0x4ac
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov esi, eax
push str.send_state:
push esi
mov byte [ebp - 4], 0x2f
call fcn.004081f0
push str.show
push esi
call fcn.004081f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x200]
call fcn.0040ad10
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0xa0]
call fcn.004078d0
lea ecx, [ebp - 0x58]
call fcn.00407920
lea ecx, [ebp - 0x70]
call fcn.00407920
lea ecx, [ebp - 0x88]
call fcn.00407920
lea ecx, [ebp - 0xb8]
call fcn.00407920
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