Function at 0x45ca80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d961
mov eax, dword fs:[0]
push eax
sub esp, 0x108
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 eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
push 0x56c5ac
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00459760
add esp, 0x10
test eax, eax
jne 0x45cbfb
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 0x45cbc2
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.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], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041c540
mov byte [ebp - 4], 2
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0x114]
push 0xc8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004066e0
mov esi, eax
push str.TrayUnzip7zFile_failed__read_resource_failed._file:
push esi
mov byte [ebp - 4], 3
call fcn.00407a90
mov ecx, dword [ebx]
mov edx, 0x56ba88
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00405390
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.00407f30
lea ecx, [ebp - 0x40]
call fcn.004070a0
lea ecx, [ebp - 0x28]
call fcn.004070a0
xor esi, esi
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x45cea1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45ce97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cebf
jmp 0x45ce97
mov edx, dword [ebx]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
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 0x45cc16
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041c630
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045d530
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x74], esi
call fcn.004070f0
test esi, esi
jg 0x45cd38
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 0x45cbc2
push 0x60
neg esi
mov dword [ebp - 0x30], eax
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x74], esi
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], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041c540
mov byte [ebp - 4], 5
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0x114]
push 0xcf
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov esi, eax
push str.TrayUnzip7zFile_failed__save_path_failed._path:
push esi
mov byte [ebp - 4], 6
call fcn.00407a90
mov ecx, dword [ebx]
mov edx, 0x56ba88
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00405390
push str._error
push esi
call fcn.00407a90
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x74]
call fcn.00407730
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.00407f30
lea ecx, [ebp - 0x28]
call fcn.004070a0
lea ecx, [ebp - 0x40]
jmp 0x45cbbd
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45cbc2
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x45cdc7
push eax
lea ecx, [ebp - 0x40]
call fcn.0041f2b0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x75]
cmovae ecx, dword [ebp - 0x40]
push edx
mov byte [ebp - 4], 7
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.00454cc0
push dword [ebx]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0041f2b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00456450
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.004070f0
lea ecx, [ebp - 0x70]
call fcn.004070a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.004070f0
mov esi, dword [ebp - 0x74]
push 0
push dword [edi]
push dword [ebx]
call fcn.0046ece0
test eax, eax
jns 0x45ce8d
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 0x45cbc2
mov ebx, dword [edi]
lea ecx, [ebp - 0x40]
push 0x60
neg esi
mov dword [ebp - 0x30], eax
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x74], esi
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], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041c540
mov byte [ebp - 4], 0xb
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0x114]
push 0xdf
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004066e0
mov esi, eax
push str.TrayUnzip7zFile__un_zip_failed_path:
push esi
mov byte [ebp - 4], 0xc
call fcn.00407a90
test ebx, ebx
mov ecx, 0x56ba88
cmovne ecx, ebx
push ecx
push esi
call fcn.00405390
push str.error
jmp 0x45cd02
mov esi, 1
jmp 0x45cbc4
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov eax, esi
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
call fcn.005143e9
int3