Function at 0x412290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cff2
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5852e0]
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 dword [ebp - 0xa0], 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 0
push eax
call fcn.004207e0
mov ecx, eax
call fcn.004207b0
mov byte [ebp - 4], 1
call fcn.00403610
mov ecx, eax
test ecx, ecx
je 0x412ced
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
push str._res.7z
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004032c0
test al, al
jne 0x41232b
push str._res.7z
lea ecx, [ebp - 0x90]
call fcn.0040e050
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp - 0x9c]
add eax, 0x44
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040e4a0
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412370
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0040c530
mov edx, dword [ebp - 0xa4]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4123ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x90]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4123ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
cmovae esi, dword [ebp - 0x70]
call fcn.00403610
mov ecx, eax
test ecx, ecx
je 0x412cf7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8c], eax
push esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call fcn.004032c0
test al, al
jne 0x412433
test esi, esi
jne 0x412412
xor ecx, ecx
jmp 0x412426
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412417
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00403ba0
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
mov byte [ebp - 4], 9
cmovae esi, dword [ebp + 8]
call fcn.00403610
mov ecx, eax
test ecx, ecx
je 0x412d01
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
push esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xa
call fcn.004032c0
test al, al
jne 0x41249c
test esi, esi
jne 0x41247b
xor ecx, ecx
jmp 0x41248f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412480
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x90]
call fcn.00403ba0
push 0
push 0x493e0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004d66c0
mov edx, dword [ebp - 0x90]
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 9
mov eax, ebx
sete byte [ebp - 0x91]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4124e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x8c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412508
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x91], 0
je 0x41265a
call fcn.0044ac30
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4125d0
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c440
push 3
push 0x53f3bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c440
mov byte [ebp - 4], 0xd
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0x13c]
push 0x37b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040dcb0
mov esi, eax
push str.DownloadAndUnzipResZip__net::CNetUtils::SyncHttpDownload:_download_res.7z__failed
push esi
mov byte [ebp - 4], 0xe
call fcn.00409410
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x13c]
call fcn.00409540
lea ecx, [ebp - 0x28]
call fcn.00408b20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00408b20
xor edi, edi
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00402df0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00436c00
mov edx, dword [ebp - 0x8c]
add esp, 4
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41261d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x412c59
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412c4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d0b
jmp 0x412c4f
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4125d0
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push 0
cmovae ecx, dword [ebp - 0x70]
push dword [eax + 0x44]
push ecx
call fcn.004c9a00
test eax, eax
jns 0x41277a
call fcn.0044ac30
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4125d0
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
mov ebx, dword [eax + 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c440
push 3
push 0x53f28c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c440
mov byte [ebp - 4], 0x10
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0x13c]
push 0x385
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040dcb0
mov esi, eax
push str.DownloadAndUnzipResZip__TrayUnzip7zFile__un_zip_failed_path:
push esi
mov byte [ebp - 4], 0x11
call fcn.00409410
test ebx, ebx
mov ecx, 0x53f018
cmovne ecx, ebx
push ecx
push esi
call fcn.00407070
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x13c]
call fcn.00409540
lea ecx, [ebp - 0x40]
call fcn.00408b20
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00408b20
or ebx, 0xffffffff
jmp 0x4125d0
mov esi, dword [ebp - 0x9c]
mov eax, dword [esi + 0x44]
mov byte [ebp - 4], 0x12
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x412799
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4127af
call fcn.00403610
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x412d10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x44]
push 6
push str.ui.ui
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004107a0
mov esi, dword [ebp - 0x8c]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412803
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040c530
mov byte [ebp - 4], 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x412837
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x58]
cmovae esi, dword [ebp - 0x58]
call fcn.00403610
mov ecx, eax
test ecx, ecx
je 0x412d1a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x8c], eax
push esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x15
call fcn.004032c0
test al, al
jne 0x41289c
test esi, esi
jne 0x41287b
xor ecx, ecx
jmp 0x41288f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412880
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x8c]
call fcn.00403ba0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
push eax
call fcn.00436c00
mov edx, dword [ebp - 0x8c]
add esp, 4
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4128d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x17
push eax
push 0x54032c
push 0xcd
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00435120
add esp, 0x10
test eax, eax
je 0x412a9e
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov dword [ebp - 0x18], 0
cmovae edx, dword [ebp - 0x58]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412937
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040c530
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00437be0
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [ebp - 4], 0x17
mov esi, eax
cmp edx, 8
jb 0x4129a7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41299d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d24
push edx
push ecx
call fcn.00448aa0
add esp, 8
test esi, esi
jg 0x412b99
call fcn.0044ac30
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412a82
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c440
push 3
push 0x53f28c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c440
mov byte [ebp - 4], 0x1a
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0x13c]
push 0x394
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040dcb0
mov esi, eax
push str.TrayUnzip7zFile_failed__save_path_failed._path
push esi
mov byte [ebp - 4], 0x1b
call fcn.00409410
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov eax, 0x53f018
cmovae ecx, dword [ebp - 0x58]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00407070
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x13c]
call fcn.00409540
lea ecx, [ebp - 0x40]
call fcn.00408b20
lea ecx, [ebp - 0x28]
call fcn.00408b20
lea ecx, [ebp - 0x88]
call fcn.00408b20
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00408b70
jmp 0x4125d0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x9c]
sub esp, 0x18
mov edx, esp
mov esi, dword [eax + 0x9c]
mov ecx, esi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412ad0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0040c530
call fcn.00412d40
add esp, 0x1c
test eax, eax
jne 0x412b99
call fcn.0044ac30
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412a82
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040c440
push 3
push 0x53f28c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040c440
mov byte [ebp - 4], 0x1d
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0x13c]
push 0x39a
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040dcb0
mov esi, eax
push str.TrayUnzip7zFile_failed__get_UI_resource_failed.
push esi
mov byte [ebp - 4], 0x1e
call fcn.00409410
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
jmp 0x412a67
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412a82
mov edx, dword [ebp - 0x74]
mov edi, 1
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x412bf3
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d29
push edx
push ecx
call fcn.00448aa0
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4125d2
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412c40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d2e
push edx
push ecx
call fcn.00448aa0
add esp, 8
jmp 0x4125d2
push edx
push ecx
call fcn.00448aa0
add esp, 8
mov esi, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
je 0x412c95
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x412c95
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x412c95
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x412ccf
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412cc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412d33
push edx
push ecx
call fcn.00448aa0
add esp, 8
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.00448d48
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004032a0
push 0x80004005
call fcn.004032a0
push 0x80004005
call fcn.004032a0
call fcn.004ff559
push 0x80004005
call fcn.004032a0
push 0x80004005
call fcn.004032a0
call fcn.004ff559
call fcn.004ff559
call fcn.004ff559
call fcn.004ff559
int3