Function at 0x50efa0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 8]
add ecx, 8
call fcn.0040dd70
movzx ecx, al
test ecx, ecx
je 0x50efed
push str.QRCode_Url_empty
call fcn.005564a0
add esp, 4
jmp 0x50f270
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x10], 0
jne 0x50f010
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14], 0
jne 0x50f033
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x14], eax
lea edx, [ebp - 0xc0]
push edx
call fcn.004bcd60
add esp, 4
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 8]
add ecx, 0xc
call fcn.0040d360
lea ecx, [ebp - 0xc0]
call fcn.00413870
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx + 8]
add ecx, 0xc
call fcn.0040d3c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx + 8]
add ecx, 0xc
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x50f0a5
push str.QRCode_save_path_exits
call fcn.005564a0
add esp, 4
jmp 0x50f270
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x20], 0
je 0x50f101
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
je 0x50f0ea
push 1
mov ecx, dword [ebp - 0xa8]
call fcn.0050f3b0
mov dword [ebp - 0xc8], eax
jmp 0x50f0f4
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x20], 0
push 0x6fe300
push 0x98
call fcn.00613623
add esp, 8
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x50f13b
push 0xffffffffffffffff
push 0x64
push 0xa
mov ecx, dword [ebp - 0xac]
call fcn.004a07d0
mov dword [ebp - 0xb0], eax
jmp 0x50f145
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xb0]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0x20], 0
jne 0x50f165
jmp 0x50f270
push 0
mov edx, dword [ebp - 0xa4]
mov ecx, dword [edx + 8]
add ecx, 8
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0xa0]
call fcn.00421730
mov ecx, eax
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0xb8]
call fcn.00421610
lea ecx, [ebp - 0xa0]
call fcn.00421ba0
cmp dword [ebp - 0xa4], 0
je 0x50f1bc
mov eax, dword [ebp - 0xa4]
add eax, 4
mov dword [ebp - 0xb4], eax
jmp 0x50f1c6
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb8]
call fcn.0040d3c0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421970
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x20]
call fcn.004a11b0
lea ecx, [ebp - 0x1c]
call fcn.00421c30
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xcc], ecx
push 0x4e20
push 0
lea edx, [ebp - 0xd0]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 8]
add ecx, 0xc
call fcn.0040d3c0
push eax
push str.QRCode_download_path_s_suc
call fcn.005564a0
add esp, 8
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0xbc], edx
lea ecx, [ebp - 0xb8]
call fcn.00413870
xor eax, eax
jne 0x50efc3
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0x18], 0
je 0x50f2a5
mov edx, dword [ebp - 0xa4]
add edx, 0x1c
push edx
mov eax, dword [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp - 0xa4]
mov edx, dword [edx]
mov ecx, dword [eax + 0x18]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret