Function at 0x43f850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a22f
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x59024c]
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 + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
push 0x54a18c
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0043cf00
add esp, 0x10
test eax, eax
jne 0x43f9d7
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43f99b
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.0040c7b0
push 3
push 0x54909c
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.0040c7b0
mov byte [ebp - 4], 2
call fcn.00454720
mov edi, eax
lea ecx, [ebp - 0x12c]
push 0x9b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040e020
mov esi, eax
push str.TrayUnZipFile2_failed__read_resource_failed._file:
push esi
mov byte [ebp - 4], 3
call fcn.004095f0
mov ecx, dword [ebx]
mov edx, 0x548df8
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00407180
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.00409720
lea ecx, [ebp - 0x40]
call fcn.00408ca0
lea ecx, [ebp - 0x28]
call fcn.00408ca0
xor esi, esi
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x43fd9b
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43fd91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43fdb9
jmp 0x43fd91
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 0x43f9f2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0040c8a0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00440210
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x8c], esi
call fcn.00408cf0
test esi, esi
jg 0x43fb20
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43f99b
push 0x60
neg esi
mov dword [ebp - 0x30], eax
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c7b0
push 3
push 0x54909c
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.0040c7b0
mov byte [ebp - 4], 5
call fcn.00454720
mov edi, eax
lea ecx, [ebp - 0x12c]
push 0xa2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e020
mov esi, eax
push str.TrayUnZipFile2_failed__save_path_failed._path:
push esi
mov byte [ebp - 4], 6
call fcn.004095f0
mov ecx, dword [ebx]
mov edx, 0x548df8
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00407180
push str._error
push esi
call fcn.004095f0
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x8c]
call fcn.0040e450
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00408ca0
lea ecx, [ebp - 0x40]
jmp 0x43f996
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43f99b
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x43fc83
push eax
lea ecx, [ebp - 0x40]
call fcn.004202b0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x8d]
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.00438b90
mov byte [ebp - 4], 8
call fcn.00454720
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43fc43
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0040c7b0
push 3
push 0x5494b8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0xa
call fcn.00454720
mov edi, eax
lea ecx, [ebp - 0x12c]
push 0xad
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e020
mov esi, eax
push str.TrayUnZipFile2_EncryptFile__key:
push esi
mov byte [ebp - 4], 0xb
call fcn.004095f0
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x70]
push ecx
push esi
call fcn.004095f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00408ca0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.00408ca0
push dword [ebx]
lea ecx, [ebp - 0x58]
call fcn.004202b0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0043a3b0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00408cf0
lea ecx, [ebp - 0x70]
call fcn.00408ca0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00408cf0
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x94]
push dword [edi]
push dword [ebx]
call fcn.004d4030
add esp, 8
test eax, eax
jns 0x43fd87
call fcn.00454720
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43f99b
mov ebx, dword [edi]
lea ecx, [ebp - 0x58]
push 0x60
neg esi
mov dword [ebp - 0x48], eax
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.0040c7b0
push 3
push 0x54909c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0040c7b0
mov byte [ebp - 4], 0xe
call fcn.00454720
mov edi, eax
lea ecx, [ebp - 0x12c]
push 0xb3
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040e020
mov esi, eax
push str.TrayUnzipFile2__un_zip_failed_path:
push esi
mov byte [ebp - 4], 0xf
call fcn.004095f0
test ebx, ebx
mov ecx, 0x548df8
cmovne ecx, ebx
push ecx
push esi
call fcn.00407180
push str.error
push esi
call fcn.004095f0
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x8c]
call fcn.0040e450
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x12c]
call fcn.00409720
lea ecx, [ebp - 0x70]
call fcn.00408ca0
lea ecx, [ebp - 0x58]
jmp 0x43f996
mov esi, 1
jmp 0x43f99d
push edx
push ecx
call fcn.00448d6e
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.00448d5d
mov esp, ebp
pop ebp
ret
call fcn.004f28b9
int3