Function at 0x416d80
Capabilities:
Copy file
Read file via mapping
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448237
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov edi, ecx
xor ebx, ebx
mov ecx, 0x45d48c
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xac], ebx
call edx
add eax, 0x10
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x450dd8
mov dword [ebp - 4], ebx
call fcn.004037b0
mov byte [ebp - 4], 1
mov eax, dword [0x45d538]
cmp eax, ebx
je 0x416e41
xor edx, edx
cmp eax, ebx
setne dl
cmp edx, ebx
je 0x417d08
cmp byte [eax + 0x25], bl
je 0x416e2b
cmp edx, ebx
je 0x417d08
cmp byte [eax + 0x24], bl
je 0x416e2b
mov ecx, 1
jmp 0x416e2d
xor ecx, ecx
add dword [ebp - 0xa4], ecx
cmp edx, ebx
je 0x417d08
mov eax, dword [eax]
cmp eax, ebx
jne 0x416e03
lea eax, [edi + 4]
push 0x450dd8
push eax
mov ebx, 0xf
call fcn.004036d0
mov esi, dword [0x45d538]
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0xa4]
mov dword [ebp - 0xa0], edi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x88], esi
mov edi, edi
test esi, esi
je 0x417d27
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], 0
jne 0x416ec9
mov eax, dword [esi + 8]
movzx ecx, al
push ecx
mov edx, eax
mov ecx, eax
shr edx, 8
and edx, 0xff
push edx
shr ecx, 0x10
and ecx, 0xff
push ecx
shr eax, 0x18
push eax
add edi, 8
push str._u._u._u._u
call fcn.00403fb0
add esp, 0x14
jmp 0x416f88
mov edx, dword [esi + 0xc]
mov ebx, dword [edi + 8]
lea eax, [edi + 8]
lea edi, [edx - 0x10]
sub ebx, 0x10
cmp edi, ebx
je 0x416f88
cmp dword [ebx + 0xc], 0
jl 0x416f7e
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x416f7e
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x416f15
cmp eax, dword [edi]
jne 0x416f15
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x416f51
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x416f2e
call fcn.00403620
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.0042d7c7
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416f6a
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x8c]
add esi, 0x10
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x88]
jmp 0x416f88
mov ebx, dword [edx - 0xc]
push edx
push eax
call fcn.004036d0
cmp byte [esi + 0x24], 0
je 0x417cfe
mov ecx, dword [ebp - 0x88]
cmp byte [ecx + 0x25], 0
je 0x417cfe
mov esi, dword [ebp - 0x8c]
mov edx, dword [esi + 8]
add esi, 8
cmp dword [edx - 0xc], 0
je 0x417cfe
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x78]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x417d27
cmp dword [0x45f350], 0
je 0x417008
mov eax, dword [esi]
cmp dword [eax - 4], 1
jle 0x416fed
mov ecx, dword [eax - 0xc]
push ecx
push esi
call fcn.00403590
mov eax, dword [esi]
mov edx, dword [0x45f350]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x800f
push edx
call ebx
jmp 0x41700e
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
push eax
push str.Installing_Agent_on__s
lea edi, [ebp - 0xb0]
call fcn.00403fb0
mov edx, dword [0x45f3ec]
add esp, 8
cmp dword [edx - 0xc], 0
je 0x41704d
mov ecx, dword [ebp - 0xb0]
push 0x357
push str.CInstaller::RemoteInstall
push str.Installer.cpp
call fcn.00403d90
add esp, 0xc
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x9c]
fild dword [ecx]
mov edx, dword [ebp - 0x98]
fmul qword [0x4548f8]
fadd qword [0x454900]
fidiv dword [edx]
call fcn.00444e30
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x4170a0
push 0
push eax
push 0x800d
push ecx
call ebx
mov eax, dword [0x45f350]
test eax, eax
je 0x4170a0
push 0
push 1
push 0x800e
push eax
call ebx
lea eax, [ebp - 0xf0]
push 0x451828
push eax
mov ecx, esi
call fcn.0041c5e0
push eax
lea ecx, [ebp - 0x90]
push ecx
mov ebx, str.ADMIN_
mov byte [ebp - 4], 2
call fcn.00406e80
add esp, 0x10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xf0]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4170f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
push ecx
mov ecx, dword [ebp - 0x90]
push eax
call fcn.004166d0
test eax, eax
je 0x41729d
cmp eax, 0x55
je 0x41729d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push 0
push 0
lea ecx, [ebp - 0xbc]
push ecx
push 0x400
mov dword [ebp - 0xbc], 0
call esi
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xbc]
push ecx
call esi
push eax
push str._d_:__s
lea edi, [ebp - 0x84]
call fcn.00403fb0
mov eax, dword [ebp - 0x88]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
add esp, 0xc
push edx
push eax
push str._User____s__Pass____s
call fcn.00402cc0
mov ecx, dword [0x45f3ec]
add esp, 0xc
cmp dword [ecx - 0xc], 0
je 0x417248
lea edx, [ebp - 0xfc]
push edx
mov ecx, str.Failed_to_connect:
call fcn.004037b0
mov ecx, edi
push ecx
lea edx, [ebp - 0x100]
push edx
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.0040bd10
push 0x379
mov byte [ebp - 4], 7
mov ecx, dword [eax]
mov edx, dword [0x45f3ec]
push str.CInstaller::RemoteInstall
push str.Installer.cpp
call fcn.00403d90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x100]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xfc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417248
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xa
push 0
lea eax, [ebp - 0xa0]
call fcn.00417dc0
mov ebx, 1
add dword [ebp - 0x94], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417295
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
jmp 0x417cdc
mov byte [ebp - 4], 8
mov edx, dword [esi]
mov ecx, dword [ebp - 0x80]
push 0
mov byte [ebp - 0x79], 1
call fcn.0040dff0
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 9
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x4172f4
mov ecx, edi
lea eax, [ebp - 0x84]
call fcn.00403660
mov esi, dword [ebp - 0x84]
cmp dword [esi - 8], edi
jge 0x417309
push 0x80070057
call fcn.004036b0
push edi
xor ecx, ecx
push esi
mov dword [esi - 0xc], edi
push ecx
mov word [esi + 0x208], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417323
sub eax, edx
sar eax, 1
js 0x4172ff
cmp eax, dword [esi - 8]
jg 0x4172ff
mov ecx, dword [ebp - 0x98]
mov dword [esi - 0xc], eax
xor edx, edx
mov word [esi + eax*2], dx
mov eax, dword [ebp - 0x9c]
fild dword [eax]
fmul qword [0x4548f8]
fadd qword [0x454950]
fidiv dword [ecx]
call fcn.00444e30
mov ecx, dword [0x45f350]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x417393
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x417393
push 0
push 2
push 0x800e
push eax
call esi
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0xf8]
push eax
mov ebx, str._sca_install.exe
call fcn.00406e80
mov eax, dword [eax]
mov ecx, dword [ebp - 0x84]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 8
push 0
push eax
push ecx
call edi
test eax, eax
mov eax, dword [ebp - 0xf8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4173e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x417422
lea ecx, [ebp - 0x104]
push ecx
mov ecx, str.Failed_to_copy_installation_file_on_remote_computer
mov byte [ebp - 0x10c], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x10c]
push edx
mov dword [ebp - 0x108], eax
call fcn.00433e48
cmp dword [0x45f370], 0
je 0x417476
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0xf4]
push ecx
mov ebx, str._sca_backup.sbf
call fcn.00406e80
mov eax, dword [eax]
mov edx, dword [0x46024c]
add esp, 8
push 0
push eax
push edx
call edi
mov eax, dword [ebp - 0xf4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x9c]
fild dword [ecx]
mov edx, dword [ebp - 0x98]
fmul qword [0x4548f8]
fadd qword [0x454948]
fidiv dword [edx]
call fcn.00444e30
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x4174c1
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x4174c1
push 0
push 3
push 0x800e
push eax
call esi
mov dword [ebp - 0xe4], 0
jmp 0x4174d0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x80]
add eax, 8
mov dword [ebp - 0xc0], eax
mov eax, dword [eax]
push str._WINDIR__sca_install.exe__service
push eax
mov edx, ecx
call fcn.0040d8b0
add esp, 8
cmp eax, 0x430
jne 0x4177af
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
add eax, 0x10
mov dword [ebp - 0xb4], eax
mov edi, 0xcc
mov byte [ebp - 4], 0xa
call fcn.004032e0
test eax, eax
je 0x417537
push eax
mov eax, edi
lea edi, [ebp - 0xb4]
call fcn.00403490
mov eax, dword [ebp - 0xb4]
push 0x34
push 0x450b90
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4176d0
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0xa8], esi
mov edi, 0xcb
mov byte [ebp - 4], 0xb
call fcn.004032e0
test eax, eax
je 0x417595
push eax
mov eax, edi
lea edi, [ebp - 0xa8]
call fcn.00403490
mov esi, dword [ebp - 0xa8]
mov edx, dword [0x45d48c]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d48c
call eax
add eax, 0x10
mov dword [ebp - 0xb8], eax
mov ecx, 0x45335c
mov byte [ebp - 4], 0xc
test ecx, 0xffff0000
jne 0x4175dd
mov edx, ecx
movzx edi, dx
call fcn.004032e0
test eax, eax
je 0x4175f3
push eax
mov eax, edi
lea edi, [ebp - 0xb8]
call fcn.00403490
jmp 0x4175f3
push 0x45335c
lea eax, [ebp - 0xb8]
push eax
mov ebx, 2
call fcn.004036d0
mov byte [ebp - 4], 0xd
mov ebx, dword [ebp - 0xb8]
push ebx
call fcn.00430074
mov edi, eax
add esp, 4
test edi, edi
js 0x417690
mov ebx, 1
cmp dword [esi - 4], ebx
jle 0x417630
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [ebp - 0xa8]
push edx
call fcn.00403590
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx]
cmp dword [eax - 4], ebx
jle 0x41764d
mov eax, dword [eax - 0xc]
push eax
push ecx
call fcn.00403590
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ecx]
push ebx
push 0
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
lea ecx, [ebp - 0x128]
push ecx
mov ecx, str.Istaller_service_is_marked_for_deletion_on_remote_PC._Reboot_needed.
mov byte [ebp - 0x130], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x130]
push edx
mov dword [ebp - 0x12c], eax
call fcn.00433e48
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x9c]
fild dword [eax]
mov ebx, dword [ebp - 0x98]
fmul qword [0x4548f8]
fadd qword [0x454940]
fidiv dword [ebx]
call fcn.00444e30
mov ecx, dword [0x45f350]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x417747
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x417747
push 0
push 0
push 0x800e
push eax
call edi
mov edx, dword [ebp - 0x80]
mov esi, dword [ebp - 0xc0]
mov ecx, dword [esi]
push edx
call fcn.0040dd60
add esp, 4
test eax, eax
je 0x41782c
mov edx, dword [esi]
mov ecx, dword [ebp - 0x80]
push 0
call fcn.0040dff0
mov eax, dword [ebp - 0x80]
mov ecx, dword [esi]
add esp, 4
push eax
call fcn.0040dd60
add esp, 4
test eax, eax
je 0x41782c
cmp dword [ebp - 0xe4], 0
jne 0x4177f7
mov eax, dword [esi]
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.0040da80
add esp, 8
mov dword [ebp - 0xe4], 1
jmp 0x4174d0
test eax, eax
je 0x4176f6
cmp eax, 0x431
je 0x4176f6
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, str.Failed_to_install_service_on_remote_computer
mov byte [ebp - 0x124], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x45684c
lea edx, [ebp - 0x124]
push edx
mov dword [ebp - 0x120], eax
call fcn.00433e48
lea edx, [ebp - 0x134]
push edx
mov ecx, str.Failed_to_start_service_on_remote_computer
mov byte [ebp - 0x13c], 0
call fcn.004037b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x138], eax
push 0x45684c
lea eax, [ebp - 0x13c]
push eax
call fcn.00433e48
mov ecx, dword [ebp - 0x9c]
fild dword [ecx]
fmul qword [0x4548f8]
fadd qword [0x454938]
fidiv dword [ebx]
call fcn.00444e30
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x417871
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x417871
push 0
push 5
push 0x800e
push eax
call edi
cmp dword [0x45f370], 0
je 0x41788d
mov edx, dword [ebp - 0x80]
mov ecx, dword [esi]
push 0x83
push edx
call fcn.0040e3d0
add esp, 8
cmp dword [0x45f374], 0
je 0x4178a9
mov eax, dword [ebp - 0x80]
mov ecx, dword [esi]
push 0x84
push eax
call fcn.0040e3d0
add esp, 8
mov edx, dword [ebp - 0x80]
mov ecx, dword [esi]
push 0x82
push edx
call fcn.0040e3d0
mov esi, dword [ebp - 0x8c]
add esp, 8
push esi
call fcn.0040e4e0
test al, al
je 0x4178d6
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4178c2
mov eax, dword [ebp - 0x9c]
fild dword [eax]
fmul qword [0x4548f8]
fadd qword [0x454930]
fidiv dword [ebx]
call fcn.00444e30
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x41791b
push 0
push eax
push 0x800d
push ecx
call edi
mov eax, dword [0x45f350]
test eax, eax
je 0x41791b
push 0
push 8
push 0x800e
push eax
call edi
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.0040da80
add esp, 8
test eax, eax
je 0x417957
mov edx, dword [0x45f3ec]
cmp dword [edx - 0xc], 0
je 0x417957
push 0x3c8
push str.CInstaller::RemoteInstall
push str.Installer.cpp
mov ecx, str.Failed_to_uninstall_service_on_remote_computer
call fcn.00403d90
add esp, 0xc
inc dword [ebp - 0xac]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417983
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x79], 0
mov dword [ebp - 4], 4
je 0x417c63
xor edi, edi
mov esi, vtable.ATL::CDacl.0
mov dword [ebp - 0xdc], edi
mov byte [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 2
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov bl, 0xf
lea eax, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040ffc0
lea edx, [ebp - 0xe0]
push edx
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.00410210
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], bl
call fcn.0040fda0
lea eax, [ebp - 0x78]
call fcn.0040ff60
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.00410210
lea ecx, [ebp - 0x78]
call fcn.0040fda0
mov dword [ebp - 0xec], vtable.ATL::CSecurityDesc.0
mov dword [ebp - 0xe8], edi
lea ecx, [ebp - 0xe0]
lea ebx, [ebp - 0xec]
mov byte [ebp - 4], 0x12
call fcn.00410850
mov edx, dword [ebp - 0xe8]
push str.GlobalInstallerMapFile
push 0x618
push edi
push 4
lea eax, [ebp - 0x118]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x118], 0xc
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x618
push edi
push edi
mov ebx, eax
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x8c]
mov edi, eax
mov eax, dword [ecx + 8]
push eax
push 0x104
push edi
call fcn.0042ddb4
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0x10]
add esp, 0xc
push eax
lea eax, [edi + 0x208]
push 0x104
push eax
call fcn.0042ddb4
mov ecx, dword [0x460250]
add esp, 0xc
push ecx
push 0x104
lea edx, [edi + 0x410]
push edx
call fcn.0042ddb4
mov eax, dword [0x45f350]
mov ecx, dword [0x45f348]
add esp, 0xc
push 0
push eax
push 0x8010
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], vtable.ATL::CSecurityDesc.0
call fcn.00410b70
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], esi
test eax, eax
je 0x417be5
mov ecx, dword [ebp - 0xcc]
xor edi, edi
mov esi, ecx
mov ebx, eax
test ecx, ecx
je 0x417b67
mov ecx, dword [ebx + edi*4]
test ecx, ecx
je 0x417b55
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + edi*4], 0
inc edi
cmp edi, esi
jb 0x417b46
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0042d4be
add esp, 4
xor esi, esi
mov dword [ebp - 0xd0], esi
jmp 0x417be7
xor esi, esi
mov ecx, dword [ebp - 0xdc]
push ecx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xc8], esi
call fcn.0042d4be
mov ebx, dword [ebp - 0xd0]
add esp, 4
mov dword [ebp - 0xdc], esi
cmp ebx, esi
je 0x417c4a
mov eax, dword [ebp - 0xcc]
xor edi, edi
mov esi, eax
test eax, eax
je 0x417c41
mov ecx, dword [ebx + edi*4]
test ecx, ecx
je 0x417c2f
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [ebx + edi*4], 0
inc edi
cmp edi, esi
jb 0x417c20
mov ebx, dword [ebp - 0xd0]
push ebx
call fcn.0042d4be
add esp, 4
mov ecx, dword [ebp - 0xdc]
push ecx
mov dword [ebp - 0xe0], vtable.ATL::CAcl.0
call fcn.0042d4be
add esp, 4
mov edx, dword [ebp - 0x90]
push 0
push 0
push edx
call dword [sym.imp.MPR.dll_WNetCancelConnection2W]
mov eax, dword [ebp - 0x9c]
fild dword [eax]
mov ecx, dword [ebp - 0x98]
fld qword [0x4548f8]
fmul st(1), st(0)
faddp st(1)
fidiv dword [ecx]
call fcn.00444e30
mov ecx, dword [0x45f350]
test ecx, ecx
je 0x417cce
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x800d
push ecx
call esi
mov eax, dword [0x45f350]
test eax, eax
je 0x417cce
xor edx, edx
cmp byte [ebp - 0x79], dl
push 0
setne dl
dec edx
and edx, 0xa
push edx
push 0x800e
push eax
call esi
mov eax, 1
add dword [ebp - 0x94], eax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x90]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417cfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x88]
test eax, eax
jne 0x417d12
push 0x80004005
call fcn.004036b0
mov ecx, dword [eax]
mov edi, dword [ebp - 0x8c]
mov dword [ebp - 0x88], ecx
mov esi, ecx
jmp 0x416e80
mov eax, dword [0x45f350]
test eax, eax
je 0x417d40
push 0
push 0x64
push 0x800d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xac]
xor edx, edx
cmp eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x80]
sete dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 - 0x14]
xor ecx, ebp
call fcn.0042d4af
mov esp, ebp
pop ebp
ret