Function at 0x404730
Capabilities:
Copy file
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4bb7b7
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x4e27e0]
xor eax, esp
mov dword [esp + 0x3b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e27e0]
xor eax, esp
push eax
lea eax, [esp + 0x3d4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3e4]
push eax
xor ecx, ecx
mov dword [esp + 0x50], eax
call fcn.004059d0
test al, al
je 0x40540c
mov ebx, 7
xor ebp, ebp
xor eax, eax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xf4], ebp
mov word [esp + 0xe4], ax
mov dword [esp + 0x3dc], ebp
xor ecx, ecx
push 0x11
mov eax, str.AVG_Secure_Search
lea esi, [esp + 0x90]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], cx
call fcn.004033f0
push 1
mov edx, esi
push edx
lea eax, [esp + 0x13c]
push eax
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x3e8], 1
call fcn.00409f00
mov byte [esp + 0x3dc], 3
cmp dword [esp + 0xa4], 8
jb 0x404818
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0047cc0e
add esp, 4
xor eax, eax
xor edx, edx
mov word [esp + 0x74], ax
push 8
mov eax, str.notfound
lea esi, [esp + 0x74]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], dx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
call fcn.004033f0
mov byte [esp + 0x3dc], 4
xor ecx, ecx
push 0x12
mov eax, str.igtbinitialenabled
lea esi, [esp + 0xac]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], ebp
mov word [esp + 0xb0], cx
call fcn.004033f0
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0x74]
mov edx, esi
lea ebx, [esp + 0x18]
mov byte [esp + 0x3e0], 5
call fcn.0040a270
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3e4], 6
call fcn.004030c0
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x4048d6
mov eax, dword [esp + 0x18]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0xc0], edi
jb 0x404903
mov edx, dword [esp + 0xac]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov byte [esp + 0x3dc], 3
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], ax
cmp dword [esp + 0x88], edi
jb 0x404939
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
push 0x47
mov eax, str.ReOfferCampaignApp:_Update:_Read_registry_value:__igtbinitialenabled_
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], dx
call fcn.004033f0
mov eax, esi
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3e0], bl
call fcn.00402ec0
add esp, 4
mov byte [esp + 0x3dc], 3
cmp dword [esp + 0x88], edi
jb 0x404995
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0047cc0e
add esp, 4
lea edx, [esp + 0xe0]
push edx
mov ebx, 0x4c84a8
lea esi, [esp + 0x34]
call fcn.00408ee0
add esp, 4
mov ecx, dword [esp + 0x4c]
add ecx, 0xa4
push ecx
mov ebx, 8
push eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x3e4], bl
mov dword [esp + 0x58], ecx
call fcn.00408fa0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3e4], 9
call fcn.004030c0
cmp dword [esp + 0x2c], ebx
jb 0x404a00
mov eax, dword [esp + 0x18]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
mov edi, 7
mov byte [esp + 0x3dc], 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], ebx
jb 0x404a2f
mov edx, dword [esp + 0x34]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov word [esp + 0x74], ax
push 0x12
mov eax, str.igtbinitialenabled
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
call fcn.004033f0
mov ecx, esi
push ecx
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x3e4], 0xa
call fcn.0040a490
mov byte [esp + 0x3dc], 3
cmp dword [esp + 0x88], ebx
jb 0x404a91
mov eax, dword [esp + 0x74]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
push 0x48
mov eax, str.ReOfferCampaignApp:_Update:_Write_registry_value:__igtbinitialenabled_
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], cx
call fcn.004033f0
mov edx, esi
push edx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x3e0], 0xb
call fcn.00402ec0
add esp, 4
mov byte [esp + 0x3dc], 3
cmp dword [esp + 0x88], ebx
jb 0x404aee
mov eax, dword [esp + 0x74]
push eax
call fcn.0047cc0e
add esp, 4
call fcn.004076a0
mov ecx, dword [esp + 0x50]
push ecx
push str.ROC_
lea edi, [esp + 0x1c]
call fcn.00408e20
push eax
mov ebx, str..exe
lea esi, [esp + 0x108]
mov byte [esp + 0x3e8], 0xc
call fcn.00408ee0
add esp, 0xc
mov edi, 8
mov byte [esp + 0x3dc], 0xe
cmp dword [esp + 0x2c], edi
jb 0x404b43
mov edx, dword [esp + 0x18]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov ebx, 7
mov word [esp + 0x18], ax
xor ecx, ecx
push 0x2f
mov eax, str.ReOfferCampaignApp:_Update:_build_ProceesName:
lea esi, [esp + 0x74]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], cx
call fcn.004033f0
mov byte [esp + 0x3dc], 0xf
mov eax, dword [esp + 0x100]
cmp dword [esp + 0x114], edi
jae 0x404b9b
lea eax, [esp + 0x100]
cmp eax, ebp
setne dl
movzx eax, dl
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.00402aa0
add esp, 8
mov byte [esp + 0x3dc], 0xe
cmp dword [esp + 0x88], edi
jb 0x404bcf
mov edx, dword [esp + 0x74]
push edx
call fcn.0047cc0e
add esp, 4
push 0x206
lea ecx, [esp + 0x1ca]
xor eax, eax
push ebp
push ecx
mov word [esp + 0x1d0], ax
call fcn.004a2540
add esp, 0xc
push 0x104
lea edx, [esp + 0x1c8]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov word [esp + 0x74], ax
push 0x27
mov eax, str.ReOfferCampaignApp:_Update:_this_file_:
lea esi, [esp + 0x74]
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
call fcn.004033f0
mov byte [esp + 0x3dc], 0x10
xor ecx, ecx
lea eax, [esp + 0x1c4]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x404c52
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c8]
lea esi, [esp + 0xac]
call fcn.004033f0
lea edx, [esp + 0x70]
push edx
mov ecx, esi
mov byte [esp + 0x3e0], 0x11
call fcn.00402ec0
add esp, 4
cmp dword [esp + 0xc0], edi
jb 0x404ca5
mov eax, dword [esp + 0xac]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
mov byte [esp + 0x3dc], 0xe
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], cx
cmp dword [esp + 0x88], edi
jb 0x404cdb
mov edx, dword [esp + 0x74]
push edx
call fcn.0047cc0e
add esp, 4
push str.ProgramFiles
lea edi, [esp + 0xc8]
call fcn.0040e1e0
add esp, 4
mov eax, edi
push eax
mov ebx, 0x4c8610
lea esi, [esp + 0x34]
mov byte [esp + 0x3e0], 0x12
call fcn.00408ee0
add esp, 4
push eax
mov ebx, str.AVG_Secure_Search
lea esi, [esp + 0x18]
mov byte [esp + 0x3e0], 0x13
call fcn.00408ee0
add esp, 4
push 0xffffffffffffffff
push ebp
mov ecx, edi
mov byte [esp + 0x3e4], 0x14
call fcn.004030c0
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x404d4f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047cc0e
add esp, 4
mov bl, 0x12
xor edx, edx
mov esi, 7
mov byte [esp + 0x3dc], bl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x404d7f
mov eax, dword [esp + 0x34]
push eax
call fcn.0047cc0e
add esp, 4
mov dword [esp + 0x88], esi
xor ecx, ecx
push 0x2f
mov eax, str.ReOfferCampaignApp:_Update:_ProgramFiles_path:
lea esi, [esp + 0x74]
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], cx
call fcn.004033f0
mov edx, esi
push edx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3e0], 0x15
call fcn.00402ec0
add esp, 4
mov byte [esp + 0x3dc], bl
cmp dword [esp + 0x88], edi
jb 0x404ddb
mov eax, dword [esp + 0x74]
push eax
call fcn.0047cc0e
add esp, 4
lea ecx, [esp + 0xc4]
push ecx
mov ebx, 0x4c8610
lea esi, [esp + 0x34]
call fcn.00408ee0
add esp, 4
lea edx, [esp + 0xfc]
push edx
push eax
lea edi, [esp + 0x1c]
mov byte [esp + 0x3e4], 0x16
call fcn.00408fa0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xcc]
mov byte [esp + 0x3e4], 0x17
call fcn.004030c0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x404e40
mov eax, dword [esp + 0x18]
push eax
call fcn.0047cc0e
add esp, 4
xor ecx, ecx
mov edi, 7
mov byte [esp + 0x3dc], 0x12
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], esi
jb 0x404e6f
mov edx, dword [esp + 0x34]
push edx
call fcn.0047cc0e
add esp, 4
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], esi
jae 0x404e86
lea eax, [esp + 0xc8]
push ebp
push eax
lea eax, [esp + 0x1cc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebp
je 0x405383
mov eax, 0x4c8678
lea ecx, [esp + 0x70]
call fcn.004034a0
push ebp
lea ecx, [esp + 0xc8]
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x78]
mov byte [esp + 0x3e4], 0x18
call fcn.00402e00
mov ecx, eax
push 1
mov eax, 0x4c8678
call fcn.00402d20
xor edx, edx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], dx
xor eax, eax
mov dword [esp + 0xc0], edi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], ax
push 1
mov eax, 0x4c867c
lea ecx, [esp + 0x90]
mov byte [esp + 0x3e0], 0x1a
call fcn.00402d20
push 2
mov eax, 0x4c8680
lea ecx, [esp + 0x90]
call fcn.00402d20
push 6
mov eax, str.PROMPT
lea ecx, [esp + 0x90]
call fcn.00402d20
push 2
mov eax, 0x4c8680
lea ecx, [esp + 0x90]
call fcn.00402d20
push 5
mov eax, str.CMPID
lea ecx, [esp + 0x90]
call fcn.00402d20
push 1
mov eax, 0x4c8688
lea ecx, [esp + 0x90]
call fcn.00402d20
mov ebx, dword [esp + 0x4c]
push ebp
add ebx, 0xa4
push ebx
or eax, 0xffffffff
lea esi, [esp + 0x94]
call fcn.00402e00
push 0xffffffffffffffff
push ebp
mov eax, esi
lea ecx, [esp + 0xb0]
call fcn.004030c0
mov ecx, esi
push ecx
push 0x4c868c
lea edi, [esp + 0x38]
call fcn.00408e20
add esp, 8
push 0xffffffffffffffff
push ebp
mov ecx, esi
mov byte [esp + 0x3e4], 0x1b
call fcn.004030c0
mov byte [esp + 0x3dc], 0x1a
cmp dword [esp + 0x48], 8
jb 0x404fef
mov edx, dword [esp + 0x34]
push edx
call fcn.0047cc0e
add esp, 4
push ebp
lea eax, [esp + 0x90]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x78]
call fcn.00402e00
push ebx
push str.ROC_
lea edi, [esp + 0x120]
call fcn.00408e20
add esp, 8
mov eax, 0x4c8690
lea ecx, [esp + 0x54]
mov byte [esp + 0x3dc], 0x1c
call fcn.004034a0
push 1
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x184]
push edx
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x3e8], 0x1d
call fcn.00409f00
mov bl, 0x1f
mov edi, 8
mov byte [esp + 0x3dc], bl
cmp dword [esp + 0x6c], edi
jb 0x405071
mov eax, dword [esp + 0x58]
push eax
call fcn.0047cc0e
add esp, 4
mov eax, dword [esp + 0x74]
xor ecx, ecx
mov esi, 7
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], cx
cmp dword [esp + 0x88], edi
jae 0x405096
lea eax, [esp + 0x74]
lea ecx, [esp + 0x30]
call fcn.004034a0
mov byte [esp + 0x3dc], 0x20
mov eax, dword [esp + 0x11c]
cmp dword [esp + 0x130], edi
jae 0x4050be
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x14]
call fcn.004034a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x180]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x3e4], 0x21
call fcn.0040a490
cmp dword [esp + 0x2c], edi
jb 0x4050f8
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
mov byte [esp + 0x3dc], bl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], dx
cmp dword [esp + 0x48], edi
jb 0x405121
mov eax, dword [esp + 0x34]
push eax
call fcn.0047cc0e
add esp, 4
mov eax, str.ReOfferCampaignApp:_Update:__Register_ROC.exe_to
lea ecx, [esp + 0x30]
call fcn.004034a0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x3e0], 0x22
call fcn.00402ec0
add esp, 4
mov byte [esp + 0x3dc], bl
cmp dword [esp + 0x48], edi
jb 0x405162
mov edx, dword [esp + 0x34]
push edx
call fcn.0047cc0e
add esp, 4
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x11c], ebp
je 0x4052d1
mov eax, 0x4c87c8
lea ecx, [esp + 0x30]
call fcn.004034a0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3e0], 0x23
call fcn.00402ec0
add esp, 4
lea esi, [esp + 0x30]
mov byte [esp + 0x3dc], bl
call fcn.004092a0
mov eax, str.ReOfferCampaignApp:_Update:__before_run_as_user
lea ecx, [esp + 0x30]
call fcn.004034a0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x90]
mov byte [esp + 0x3e0], 0x24
call fcn.00402ec0
add esp, 4
lea esi, [esp + 0x30]
mov byte [esp + 0x3dc], bl
call fcn.004092a0
call fcn.0040da10
test al, al
je 0x40522c
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.0040ee10
mov esi, eax
add esp, 8
mov eax, str.ReOfferCampaignApp:_Update:_SYSTEM_Account____after_run_as_user
lea ecx, [esp + 0x30]
call fcn.004034a0
mov ecx, esi
lea esi, [esp + 0x30]
mov byte [esp + 0x3dc], 0x25
call fcn.00402c10
jmp 0x405290
mov ecx, dword [esp + 0x90]
cmp dword [esp + 0xa4], edi
jae 0x405243
lea ecx, [esp + 0x90]
mov eax, dword [esp + 0xc8]
cmp dword [esp + 0xdc], edi
jae 0x40525a
lea eax, [esp + 0xc8]
push ecx
push eax
call fcn.0040bec0
mov byte [esp + 0x58], al
add esp, 8
mov eax, str.ReOfferCampaignApp:_Update:_Administrator_Account____after_run_as_user
lea ecx, [esp + 0x30]
call fcn.004034a0
mov edx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x3e4], 0x26
call fcn.00402aa0
add esp, 8
lea esi, [esp + 0x30]
mov byte [esp + 0x3dc], bl
call fcn.004092a0
mov eax, str.ReOfferCampaignApp:_Update:__Run_Reoffer_Campaign
lea ecx, [esp + 0x30]
call fcn.004034a0
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x3e0], 0x27
call fcn.00403580
add esp, 4
lea esi, [esp + 0x30]
call fcn.004092a0
mov esi, 7
lea ecx, [esp + 0x17c]
call fcn.00402ba0
cmp dword [esp + 0x130], edi
jb 0x4052f6
mov edx, dword [esp + 0x11c]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov dword [esp + 0x130], esi
mov dword [esp + 0x12c], ebp
mov word [esp + 0x11c], ax
cmp dword [esp + 0xc0], edi
jb 0x405327
mov ecx, dword [esp + 0xac]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], ebp
mov word [esp + 0xac], dx
cmp dword [esp + 0xa4], edi
jb 0x405358
mov eax, dword [esp + 0x90]
push eax
call fcn.0047cc0e
add esp, 4
mov dword [esp + 0xa4], esi
xor ecx, ecx
lea esi, [esp + 0x70]
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], cx
call fcn.004092a0
mov edi, 7
mov esi, 8
cmp dword [esp + 0xdc], esi
jb 0x40539c
mov edx, dword [esp + 0xc8]
push edx
call fcn.0047cc0e
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd8], ebp
mov word [esp + 0xc8], ax
cmp dword [esp + 0x114], esi
jb 0x4053cd
mov ecx, dword [esp + 0x100]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
lea ecx, [esp + 0x134]
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], ebp
mov word [esp + 0x100], dx
call fcn.00402ba0
cmp dword [esp + 0xf8], esi
jb 0x40540a
mov eax, dword [esp + 0xe4]
push eax
call fcn.0047cc0e
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b8]
xor ecx, esp
call fcn.0049bee5
add esp, 0x3cc
ret 4