Function at 0x542410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b2e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x778400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
cmp dword [ebp + 8], 0
je 0x54244d
cmp dword [ebp + 0x10], 0
jne 0x542454
xor eax, eax
jmp 0x54271d
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.00543220
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.00673010
add esp, 8
push str._7z_
lea eax, [ebp - 0x114]
push eax
call fcn.00673020
add esp, 8
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.00543420
mov dword [ebp - 0x248], eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [ebp - 0x230]
call fcn.00419d50
mov dword [ebp - 4], 0
push str.7ZFile.7z
lea ecx, [ebp - 0x230]
call fcn.004157f0
push str.begin_run_WriteFile_
call fcn.004e64c0
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x230]
call fcn.0041af60
push eax
mov ecx, dword [ebp - 0x234]
call fcn.00542e70
test eax, eax
jne 0x542570
push 0
lea edx, [ebp - 0x114]
push edx
mov ecx, dword [ebp - 0x234]
call fcn.00542ed0
mov eax, dword [ebp - 0x234]
cmp dword [eax], 0
je 0x54253c
push 0x107
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x234]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx + 8]
call eax
push str.Write_7z_file_error
mov ecx, dword [ebp + 0x18]
call fcn.004157b0
mov dword [ebp - 0x244], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00419eb0
mov eax, dword [ebp - 0x244]
jmp 0x54271d
push str.end_run_WriteFile_
call fcn.004e64c0
add esp, 4
lea ecx, [ebp - 0x230]
call fcn.0041af60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
lea ecx, [ebp - 0x230]
call fcn.0041af60
push eax
push str.Temp_File_:__s__Flag_:__d_n
call fcn.0066de6e
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0041af60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x542629
mov ecx, dword [ebp - 0x234]
cmp dword [ecx], 0
je 0x5425e6
push 0x107
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
mov edx, dword [eax]
mov ecx, dword [ecx]
mov eax, dword [edx + 8]
call eax
push 0x6e66bc
mov ecx, dword [ebp + 0x18]
call fcn.004157b0
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.004157d0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00419eb0
mov eax, dword [ebp - 0x23c]
jmp 0x54271d
push str.begin_run_Unzip_
call fcn.004e64c0
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x230]
call fcn.0041af60
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x234]
call fcn.00542b90
test eax, eax
jne 0x5426c5
push 0
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.00542ed0
mov edx, dword [ebp - 0x234]
cmp dword [edx], 0
je 0x542694
push 0x107
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x234]
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax + 8]
call edx
push 0x6e66e8
mov ecx, dword [ebp + 0x18]
call fcn.004157b0
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00419eb0
mov eax, dword [ebp - 0x240]
jmp 0x54271d
push str.end_run_Unzip_
call fcn.004e64c0
add esp, 4
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x5426ee
push 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x234]
call fcn.00542ed0
push str.end_remove_temp_dir_
call fcn.004e64c0
add esp, 4
mov dword [ebp - 0x238], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00419eb0
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066c98d
mov esp, ebp
pop ebp
ret 0x18