Function at 0x4a2660
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6be3b7
mov eax, dword fs:[0]
push eax
sub esp, 0x7d4
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Thread_PerformSelfUninstall...
push 0
push 4
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004cf6b0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x71c], 0
add esp, 0x1c
mov dword [ebp - 0x718], 0xf
mov byte [ebp - 0x72c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a26e0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x72c]
call fcn.0049f3b0
push 1
push 0x71880c
lea ecx, [ebp - 0x72c]
mov dword [ebp - 4], 0
call fcn.0049f250
push 0xd
push str.agshelper.exe
lea ecx, [ebp - 0x72c]
call fcn.0049f250
push 0x200
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.00651620
lea eax, [ebp - 0x314]
push 1
push eax
call fcn.004cfcc0
push str.AdobeGCClient
lea eax, [ebp - 0x314]
push 0x104
push eax
call fcn.004cfa40
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x77c], 0
add esp, 0x20
mov dword [ebp - 0x778], 0xf
mov byte [ebp - 0x78c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a2785
sub ecx, edx
lea eax, [ebp - 0x314]
push ecx
push eax
lea ecx, [ebp - 0x78c]
call fcn.0049f3b0
push 1
push 0x71880c
lea ecx, [ebp - 0x78c]
mov byte [ebp - 4], 1
call fcn.0049f250
push 0xd
push str.agshelper.exe
lea ecx, [ebp - 0x78c]
call fcn.0049f250
cmp dword [ebp - 0x718], 0x10
lea ecx, [ebp - 0x72c]
push 0
cmovae ecx, dword [ebp - 0x72c]
lea eax, [ebp - 0x78c]
cmp dword [ebp - 0x778], 0x10
push ecx
cmovae eax, dword [ebp - 0x78c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4a2c49
push str.Copied_agshelper_to_temp_location
push 0
push 4
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
lea ecx, [ebp - 0x314]
mov dword [ebp - 0x764], 0
add esp, 0x14
mov dword [ebp - 0x760], 0xf
mov byte [ebp - 0x774], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a2843
sub ecx, edx
lea eax, [ebp - 0x314]
push ecx
push eax
lea ecx, [ebp - 0x774]
call fcn.0049f3b0
push 1
push 0x71880c
lea ecx, [ebp - 0x774]
mov byte [ebp - 4], 2
call fcn.0049f250
push 0x11
push str.dispatchtable.xml
lea ecx, [ebp - 0x774]
call fcn.0049f250
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x74c], 0
mov dword [ebp - 0x748], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x75c], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a28b0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x75c]
call fcn.0049f3b0
push 1
push 0x71880c
lea ecx, [ebp - 0x75c]
mov byte [ebp - 4], 3
call fcn.0049f250
push 0x11
push str.dispatchtable.xml
lea ecx, [ebp - 0x75c]
call fcn.0049f250
cmp dword [ebp - 0x748], 0x10
lea ecx, [ebp - 0x75c]
push 0
cmovae ecx, dword [ebp - 0x75c]
lea eax, [ebp - 0x774]
cmp dword [ebp - 0x760], 0x10
push ecx
cmovae eax, dword [ebp - 0x774]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4a2b81
push str.Copied_dispatchtable_to_temp_location
push 0
push 4
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
xorps xmm0, xmm0
mov dword [ebp - 0x7d0], 0x44
push 0x400
lea eax, [ebp - 0x714]
movlpd qword [ebp - 0x7cc], xmm0
push 0
push eax
movlpd qword [ebp - 0x7c4], xmm0
movlpd qword [ebp - 0x7bc], xmm0
movlpd qword [ebp - 0x7b4], xmm0
movlpd qword [ebp - 0x7ac], xmm0
movlpd qword [ebp - 0x7a4], xmm0
movlpd qword [ebp - 0x79c], xmm0
movlpd qword [ebp - 0x794], xmm0
movups xmmword [ebp - 0x7e0], xmm0
call fcn.00651620
mov edx, dword [ebp - 0x718]
lea ecx, [ebp - 0x72c]
mov esi, dword [ebp - 0x72c]
add esp, 0x20
cmp edx, 0x10
cmovae ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a29d0
sub ecx, edi
lea eax, [ebp - 0x72c]
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
lea eax, [ebp - 0x714]
push eax
call fcn.006656a6
xor eax, eax
mov dword [ebp - 0x734], 0
add esp, 0xc
mov dword [ebp - 0x730], 7
mov word [ebp - 0x744], ax
push 1
push 0x717e70
lea ecx, [ebp - 0x744]
mov byte [ebp - 4], 4
call fcn.004a3920
lea ecx, [ebp - 0x714]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2a32
sub ecx, edx
lea eax, [ebp - 0x714]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x744]
call fcn.004a3920
push 1
push 0x717e70
lea ecx, [ebp - 0x744]
call fcn.004a3920
push 1
push 0x719e08
lea ecx, [ebp - 0x744]
call fcn.004a3920
push 0x11
push str.__UninstallClient
lea ecx, [ebp - 0x744]
call fcn.004a3920
cmp dword [ebp - 0x730], 8
lea ecx, [ebp - 0x7e0]
push ecx
lea ecx, [ebp - 0x7d0]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0x744]
cmovae eax, dword [ebp - 0x744]
push 0
push eax
lea eax, [ebp - 0x714]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea esi, [ebp - 0x72c]
test eax, eax
jne 0x4a2af0
cmp dword [ebp - 0x718], 0x10
cmovae esi, dword [ebp - 0x72c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Launch_Failed__s_d
jmp 0x4a2b0b
cmp dword [ebp - 0x718], 0x10
cmovae esi, dword [ebp - 0x72c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Launched__s_d
push 0
push 4
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
mov edx, dword [ebp - 0x730]
add esp, 0x1c
cmp edx, 8
jb 0x4a2b62
mov ecx, dword [ebp - 0x744]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2b58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2d07
push edx
push ecx
call fcn.0063bb18
add esp, 8
xor eax, eax
mov dword [ebp - 0x734], 0
mov dword [ebp - 0x730], 7
mov word [ebp - 0x744], ax
jmp 0x4a2b9d
push str.Failed_to_copy_dispatchtable
push 0
push 2
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
add esp, 0x14
mov edx, dword [ebp - 0x748]
cmp edx, 0x10
jb 0x4a2bd7
mov ecx, dword [ebp - 0x75c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2bcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2d07
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x74c], 0
mov dword [ebp - 0x748], 0xf
mov byte [ebp - 0x75c], 0
cmp edx, 0x10
jb 0x4a2c2c
mov ecx, dword [ebp - 0x774]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2c22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2d07
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov dword [ebp - 0x764], 0
mov dword [ebp - 0x760], 0xf
mov byte [ebp - 0x774], 0
jmp 0x4a2c65
push str.Failed_to_copy_agshelper
push 0
push 2
push 0x718614
push dword [0x7f9e6c]
call fcn.005645a0
add esp, 0x14
mov edx, dword [ebp - 0x778]
cmp edx, 0x10
jb 0x4a2c9b
mov ecx, dword [ebp - 0x78c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2c91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2d07
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x718]
mov dword [ebp - 0x77c], 0
mov dword [ebp - 0x778], 0xf
mov byte [ebp - 0x78c], 0
cmp edx, 0x10
jb 0x4a2cec
mov ecx, dword [ebp - 0x72c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2ce2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2d07
push edx
push ecx
call fcn.0063bb18
add esp, 8
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.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
int3