Function at 0x4256b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9e9
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x4e96d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f2cd9], 0
xorps xmm0, xmm0
movsd qword [ebp - 0x5c], xmm0
jne 0x425758
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42574a
movsd xmm0, qword [ebp - 0x5c]
mov ecx, eax
push 0x4f2cd9
sub esp, 8
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x347
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.0046bf00
jmp 0x42574c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f3d40], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f3d40]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov eax, dword [0x4f3d40]
push str.cmd:OnRClick
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [0x4f3d40]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3d40]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
mov dword [ebp - 0x4c], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push edi
lea ecx, [ebp - 0x44]
call fcn.00413290
push ecx
call fcn.00425cb0
call fcn.0046c0e0
mov esi, eax
mov ecx, esi
call fcn.0046e8e0
cmp byte [0x4f2ce9], 0
jne 0x425841
push 0xf0
call fcn.0046e4f0
add esp, 4
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x425833
movsd xmm0, qword [ebp - 0x5c]
mov ecx, eax
push 0x4f2ce9
sub esp, 8
movsd qword [esp], xmm0
push 0x4cea7a
push 0
push 0
push 0x35d
push str.C:BuildAgentwork6ef1b807bd9726a1RemoteInstallerInstallerUIMainDlg.cpp
push 0x48
call fcn.0046bf00
jmp 0x425835
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4f3e70], eax
mov ecx, esi
call fcn.0046e8f0
mov ecx, dword [0x4f3e70]
lea ecx, [ecx + 0xd0]
call fcn.0046e8e0
mov eax, dword [0x4f3e70]
push dword [ebp - 0x20]
push str.Computers_selected:___d_
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov ecx, dword [0x4f3e70]
add esp, 0xc
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x4f3e70]
lea ecx, [ecx + 0xd0]
call fcn.0046e8f0
cmp dword [ebp - 0x20], 0
lea ebx, [edi + 0xd0]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
jne 0x4258ac
push 1
push 0x9c47
push dword [ebx]
call esi
push 1
jmp 0x4258b9
push 0
push 0x9c47
push dword [ebx]
call esi
push 0
push 0x9c48
push dword [ebx]
call esi
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x74], xmm0
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x74]
push 1
push eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], ecx
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0x1111
push dword [edi + 0xfc]
xorps xmm0, xmm0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x70]
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 4]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_SetFocus]
test byte [ebp - 0x5c], 0x46
mov dword [ebp - 0x24], 0
je 0x42595f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x42595f
push eax
lea ecx, [edi + 0xfc]
call fcn.0042fc40
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42595f
cmp dword [eax + 0x30], 5
je 0x42595f
push 0
jmp 0x425961
push 1
push 0x9c49
push dword [ebx]
call esi
push ecx
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00430390
mov esi, dword [edi + 4]
mov ebx, eax
mov edi, dword [ebp - 0x4c]
mov edx, edi
mov ecx, dword [ebp - 0x50]
call fcn.004313d0
push 0
push esi
push edi
push eax
push 0x142
push dword [ebx]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
sub eax, 0x9c47
je 0x425c81
dec eax
je 0x425c7a
dec eax
jne 0x425c8f
push dword [ebp - 0x24]
lea ecx, [ebp - 0x8c]
call fcn.00451be0
lea edx, [ebp - 0x8c]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00462100
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x425c3f
xor al, al
mov byte [ebp + 0xf], al
call fcn.0040d990
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x425a06
push 0x80004005
call fcn.0040abe0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov edx, 1
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x425a3c
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0041a8d0
mov eax, dword [ebp - 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 0x14]
neg eax
sbb esi, esi
neg esi
push dword [ecx - 8]
push ecx
call fcn.004721a5
mov edx, eax
add esp, 8
test edx, edx
js 0x425c35
mov ecx, dword [ebp - 0x14]
cmp edx, dword [ecx - 8]
jg 0x425c35
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + edx*2], cx
test esi, esi
jne 0x425a9a
push 0x4e6654
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x80004005
push eax
call fcn.0047ad64
mov dword [ebp - 0x5c], str.agent_install.log
lea ebx, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x4d1110
or edi, 0xffffffff
mov edi, edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.0041a940
add eax, 0x10
add esp, 4
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00419ae0
push ecx
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x34]
call fcn.0042f130
add esp, 4
mov byte [ebp - 4], 6
push dword [ebx]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00419430
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
push dword [eax]
call fcn.004199f0
mov byte [ebp - 4], 6
mov ecx, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425b24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425b44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00419430
mov esi, dword [ebp - 0x18]
add esp, 0xc
push 0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x40], eax
mov edx, edi
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov dword [ebp - 0x3c], eax
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425b88
mov ecx, dword [eax]
push dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x40], 0
je 0x425b9d
push dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.0042ee20
or byte [ebp + 0xf], al
add esi, 0xfffffff0
mov byte [ebp - 4], 4
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425bba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 4
lea eax, [ebp - 0x54]
cmp ebx, eax
jne 0x425ab0
mov al, byte [ebp + 0xf]
mov edi, dword [ebp - 0x28]
test al, al
jne 0x425c12
push 0x7e
lea ecx, [ebp - 0x48]
call fcn.0041d2b0
mov ecx, dword [ebp - 0x1c]
push 0x30
push 0x4d036c
push dword [eax]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x48]
or esi, 0xffffffff
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x425c15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425c15
or esi, 0xffffffff
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x425c55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425c55
push 0x80070057
call fcn.0040abe0
mov ecx, dword [ebp - 0x1c]
push 1
push 0x9c49
push dword [ecx + 0xd0]
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov byte [ebp - 4], 2
test edi, edi
je 0x425c6d
mov ecx, edi
call fcn.004656f0
push edi
call fcn.004712df
add esp, 4
lea ecx, [ebp - 0x8c]
call fcn.004251c0
jmp 0x425c8f
sub esp, 8
push 5
jmp 0x425c86
sub esp, 8
push 4
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004246e0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc