Function at 0x405730
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453db8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x5c], esi
push str.Patch_enter
push 0x8e
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconTrayIconTrayIcon.cpp
push 2
push 0x46eef4
call fcn.00404f10
add esp, 0x14
cmp byte [esi + 0x1e], 0
je 0x40578a
mov al, 1
jmp 0x405a09
push 0x1f
xor eax, eax
mov dword [ebp - 0x40], 0
push str.C:WindowsSystem32Taskbar.dll
lea ecx, [ebp - 0x40]
mov byte [esi + 0x1e], 1
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004029b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 0x17
xor eax, eax
mov dword [ebp - 0x28], 0
push str.C:WindowsExplorer.exe
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004029b0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call fcn.0040ba20
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov esi, dword [ebp - 0x54]
lea edi, [ebp - 0x40]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
nop dword [eax]
push edi
mov ecx, esi
call fcn.00402600
add esi, 0x18
lea eax, [ebp - 0x10]
add edi, 0x18
mov dword [ebp - 0x64], esi
cmp edi, eax
jne 0x405830
push ecx
mov edx, esi
mov ecx, esi
call fcn.0040b640
add esp, 4
mov dword [ebp - 0x50], esi
push fcn.004026e0
push 2
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
call fcn.0042d3a4
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], eax
cmp esi, eax
je 0x4059d9
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x405892
mov eax, dword [esi]
push eax
push str.parse_file:_s_n
call fcn.0040c530
add esp, 8
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4058aa
mov eax, dword [esi]
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x6c], esi
cmp esi, 0xffffffff
je 0x4059a3
test esi, esi
je 0x4059a3
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov dword [ebp - 0x70], edi
mov byte [ebp - 4], 7
cmp edi, 0xffffffff
je 0x40596b
test edi, edi
je 0x40596b
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x405937
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MapViewOfFile_failed__err:_d_n
call fcn.0040c500
add esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov byte [ebp - 4], 5
jmp 0x4059c4
mov eax, dword [ecx + 0x3c]
add eax, ecx
push eax
push ecx
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x5c]
call fcn.00405da0
mov ecx, dword [ebp - 0x44]
test al, al
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], ecx
call edi
mov byte [ebp - 4], 5
jmp 0x4059c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFileMapping_failed__err:_d_n
call fcn.0040c500
add esp, 8
cmp edi, 0xffffffff
je 0x405997
test edi, edi
je 0x405997
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov byte [ebp - 4], 5
jmp 0x4059c4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 5
jmp 0x4059c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateFile_failed__err:_d_n
call fcn.0040c500
add esp, 8
mov byte [ebp - 4], 5
cmp esi, 0xffffffff
je 0x4059c7
test esi, esi
je 0x4059c7
push esi
call edi
mov esi, dword [ebp - 0x48]
add esi, 0x18
mov dword [ebp - 0x48], esi
cmp esi, dword [ebp - 0x58]
jne 0x405888
mov eax, dword [ebp - 0x44]
movzx eax, al
push eax
push str.Patch_leave_bPathResult:_d
push 0xb5
push str.D:qci_workspace_root_workspaces__qci_pipeline_10991585_1QQPCMgrPacket_srcMainUpdateTrayIconTrayIconTrayIcon.cpp
push 2
push 0x46eef4
call fcn.00404f10
add esp, 0x18
lea ecx, [ebp - 0x54]
call fcn.004088f0
mov al, byte [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cd02
mov esp, ebp
pop ebp
ret