Function at 0x403f50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bc407
mov eax, dword fs:[0]
push eax
sub esp, 0xa30
mov eax, dword [0x4e27e0]
xor eax, esp
mov dword [esp + 0xa28], eax
push ebx
push esi
push edi
mov eax, dword [0x4e27e0]
xor eax, esp
push eax
lea eax, [esp + 0xa40]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
mov word [esp + 0x1c], ax
xor ebx, ebx
push 0x18
mov eax, 0x4c7fd0
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.004033f0
mov ecx, esi
push ecx
mov dword [esp + 0xa4c], ebx
call fcn.00403580
mov esi, 8
add esp, 4
mov dword [esp + 0xa48], 0xffffffff
cmp dword [esp + 0x30], esi
jb 0x403ff8
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call fcn.00488817
push ebx
call fcn.004898f0
add esp, 4
call fcn.00489efa
test eax, eax
je 0x404041
call fcn.00489f8e
mov eax, dword [eax + 0x40]
cmp eax, ebx
je 0x404041
mov dword [eax + 0x3c], 0x1d4c0
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
call fcn.0048a6c4
lea eax, [esp + 0x144]
call fcn.00411a20
mov dword [esp + 0x5b4], ebx
mov byte [esp + 0x1a3], 0x2f
mov byte [esp + 0x19f], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], ebx
call fcn.00411e80
mov ecx, dword [esp + 0x38]
cmp ecx, 1
mov edx, dword [eax]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
mov byte [esp + 0x19c], 1
mov dword [esp + 0x150], edx
jle 0x4040b3
mov byte [esp + 0x1b0], 1
mov dword [esp + 0xa48], 1
xor eax, eax
mov cl, byte [eax + 0x4c8058]
mov byte [esp + eax + 0x1a4], cl
inc eax
cmp cl, bl
jne 0x4040c0
mov edi, str.update_installation
lea esi, [esp + 0x144]
call fcn.0040b000
mov edi, esi
call fcn.004121b0
mov eax, esi
push eax
mov ecx, str.update_installation
lea edi, [esp + 0x9c]
call fcn.0040b160
mov ecx, eax
mov byte [esp + 0xa48], 2
mov eax, dword [ecx + 0x14]
push 0x4c8084
mov edi, 1
call fcn.004034e0
test eax, eax
mov edi, 8
sete byte [esp + 0x13]
mov byte [esp + 0xa48], 1
cmp dword [esp + 0xb0], edi
jb 0x404147
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.0047cc0e
add esp, 4
cmp byte [esp + 0x13], bl
je 0x4041b4
xor edx, edx
push 0x28
mov eax, 0x4c8088
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.004033f0
mov eax, esi
push eax
mov byte [esp + 0xa4c], 3
call fcn.00403580
add esp, 4
mov byte [esp + 0xa48], 1
cmp dword [esp + 0x30], edi
jb 0x40419e
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047cc0e
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call fcn.00404730
movzx eax, al
mov dword [esp + 0x34], eax
jmp 0x4045d0
lea ecx, [esp + 0x144]
push ecx
mov ecx, str.uninstall
lea edi, [esp + 0x9c]
call fcn.0040b160
mov ecx, eax
mov byte [esp + 0xa48], 4
mov eax, dword [ecx + 0x14]
push 0x4c8084
mov edi, 1
call fcn.004034e0
test eax, eax
mov edi, 8
sete byte [esp + 0x13]
mov byte [esp + 0xa48], 1
cmp dword [esp + 0xb0], edi
jb 0x404216
mov edx, dword [esp + 0x9c]
push edx
call fcn.0047cc0e
add esp, 4
cmp byte [esp + 0x13], bl
je 0x404282
xor eax, eax
mov word [esp + 0x1c], ax
push 0x2b
mov eax, str.ReOfferCampaignApp:_Run_with_UNINSTALL_flag
lea esi, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
call fcn.004033f0
mov ecx, esi
push ecx
mov byte [esp + 0xa4c], 5
call fcn.00403580
add esp, 4
mov byte [esp + 0xa48], 1
cmp dword [esp + 0x30], edi
jb 0x40426d
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
mov ecx, dword [esp + 0x14]
call fcn.004057b0
movzx eax, al
mov dword [esp + 0x34], eax
jmp 0x4045d0
lea esi, [esp + 0x5bc]
call fcn.0040af60
mov byte [esp + 0xa48], 6
call fcn.0040b0b0
mov edi, str.CMPID
call fcn.0040b000
mov edi, esi
call fcn.004121b0
call fcn.0040b290
test al, al
je 0x4045ba
mov eax, str.ReOfferCampaignApp:_Run_with_PROMPT_flag
lea ecx, [esp + 0x18]
call fcn.004034a0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xa4c], 7
call fcn.00403580
add esp, 4
mov byte [esp + 0xa48], 6
cmp dword [esp + 0x30], 8
jb 0x4042f8
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047cc0e
add esp, 4
lea eax, [esp + 0x5bc]
push eax
mov ecx, str.CMPID
lea edi, [esp + 0x1c]
call fcn.0040b160
mov esi, dword [esp + 0x14]
push 0xffffffffffffffff
add esi, 0xa4
push ebx
mov ecx, esi
mov byte [esp + 0xa50], 8
call fcn.004030c0
mov edi, 8
mov byte [esp + 0xa48], 6
cmp dword [esp + 0x30], edi
jb 0x40434a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047cc0e
add esp, 4
mov eax, str.AVG_Secure_Search
lea ecx, [esp + 0x18]
call fcn.004034a0
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xbc]
push eax
mov edx, SysReAllocStringLen
mov byte [esp + 0xa54], 9
call fcn.00409f00
mov byte [esp + 0xa48], 0xb
cmp dword [esp + 0x30], edi
jb 0x404394
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0047cc0e
add esp, 4
xor edx, edx
push esi
push str.ROC_
lea edi, [esp + 0x84]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
call fcn.00408e20
add esp, 8
mov eax, edi
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0xa50], 0xc
call fcn.0040a620
cmp eax, 1
jne 0x404439
mov eax, str.ReOfferCampaignApp:_ReOffer_Campaign_application_already_run_fo_this_user__ROC1
lea ecx, [esp + 0x18]
call fcn.004034a0
lea edx, [esp + 0x18]
mov byte [esp + 0xa48], 0xd
push edx
call fcn.00403580
add esp, 4
lea esi, [esp + 0x18]
call fcn.004092a0
lea esi, [esp + 0x7c]
call fcn.004092a0
lea ecx, [esp + 0xb4]
call fcn.00402ba0
lea ebx, [esp + 0x5bc]
call fcn.0040afc0
lea ebx, [esp + 0x144]
call fcn.0040afc0
xor eax, eax
jmp 0x4046fe
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.00407200
test al, al
je 0x404465
mov eax, str.ReOfferCampaignApp:_ReOffer_Campaign_application_reached_time_out
lea ecx, [esp + 0x18]
call fcn.004034a0
lea eax, [esp + 0x18]
mov byte [esp + 0xa48], 0xe
push eax
jmp 0x4043f4
push edi
mov ecx, esi
call fcn.004059d0
test al, al
je 0x404405
mov eax, str.AVG_Secure_Search
lea ecx, [esp + 0x18]
call fcn.004034a0
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x104]
push edx
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0xa54], 0xf
call fcn.00409f00
lea esi, [esp + 0x18]
mov byte [esp + 0xa48], 0x11
call fcn.004092a0
mov eax, 0x4c7eec
lea ecx, [esp + 0x44]
call fcn.004034a0
mov eax, str.DistributionSource
lea ecx, [esp + 0x60]
mov byte [esp + 0xa48], 0x12
call fcn.004034a0
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x48]
lea edx, [esp + 0x64]
lea ebx, [esp + 0x9c]
mov byte [esp + 0xa4c], 0x13
call fcn.0040a270
lea esi, [esp + 0x60]
call fcn.004092a0
lea esi, [esp + 0x44]
mov byte [esp + 0xa48], 0x16
call fcn.004092a0
mov esi, 0x4c8314
mov ecx, ebx
call fcn.00403550
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x40457f
cmp dword [esi + 0xfc], 1
jne 0x40457f
mov ecx, esi
call fcn.00407b60
test al, al
jne 0x40457f
mov eax, str.ReOfferCampaignApp:_ReOffer_Campaign_not_enough_time_from_AV_campaign
lea ecx, [esp + 0x18]
call fcn.004034a0
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xa4c], 0x17
call fcn.00403580
add esp, 4
lea esi, [esp + 0x18]
call fcn.004092a0
mov esi, ebx
call fcn.004092a0
lea ecx, [esp + 0xfc]
call fcn.00402ba0
jmp 0x404405
mov ecx, esi
call fcn.00405440
movzx edx, al
lea esi, [esp + 0x98]
mov dword [esp + 0x34], edx
call fcn.004092a0
lea ecx, [esp + 0xfc]
call fcn.00402ba0
lea esi, [esp + 0x7c]
call fcn.004092a0
lea ecx, [esp + 0xb4]
call fcn.00402ba0
lea ebx, [esp + 0x5bc]
mov byte [esp + 0xa48], 1
call fcn.0040afc0
xor ebx, ebx
xor eax, eax
mov word [esp + 0x80], ax
push 0x16
mov eax, str.End_ReOfferCampaignApp
lea esi, [esp + 0x80]
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], ebx
call fcn.004033f0
mov ecx, esi
push ecx
mov byte [esp + 0xa4c], 0x18
call fcn.00403580
add esp, 4
cmp dword [esp + 0x94], 8
jb 0x40462c
mov edx, dword [esp + 0x80]
push edx
call fcn.0047cc0e
add esp, 4
mov edi, dword [esp + 0x5b4]
xor esi, esi
cmp edi, ebx
jle 0x404655
lea esp, [esp]
mov eax, dword [esp + esi*4 + 0x1b4]
push eax
call fcn.0047cc0e
inc esi
add esp, 4
cmp esi, edi
jl 0x404640
cmp byte [esp + 0x19e], bl
je 0x4046fa
mov ecx, dword [esp + 0x164]
push ecx
call fcn.0049d99b
mov edx, dword [esp + 0x16c]
add esp, 4
push edx
call fcn.0049d99b
mov eax, dword [esp + 0x170]
add esp, 4
push eax
call fcn.0049d99b
mov ecx, dword [esp + 0x17c]
add esp, 4
push ecx
call fcn.0049d99b
mov edx, dword [esp + 0x180]
add esp, 4
push edx
call fcn.0049d99b
mov eax, dword [esp + 0x184]
add esp, 4
push eax
call fcn.0049d99b
mov ecx, dword [esp + 0x194]
add esp, 4
push ecx
call fcn.0049d99b
mov eax, dword [esp + 0x18c]
add esp, 4
cmp eax, ebx
je 0x4046e6
push eax
call fcn.0049d99b
add esp, 4
mov eax, dword [esp + 0x154]
cmp eax, ebx
je 0x4046fa
push eax
call fcn.0049d99b
add esp, 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xa40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa28]
xor ecx, esp
call fcn.0049bee5
mov esp, ebp
pop ebp
ret