Function at 0x476709
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5240c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x597790]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Loading_settings_from_auto_run_config...
call fcn.00401769
and dword [esp + 0x3c], 0
or ebx, 0xffffffff
push 2
mov dword [esp + 0x40], ebx
call fcn.0041485d
push 0x4000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.runonce
call fcn.00401769
mov dword [esp + 0x40], 1
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x20
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.keeplog
call fcn.00401769
mov dword [esp + 0x40], 2
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x1000000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.sendlog
call fcn.00401769
mov dword [esp + 0x40], 3
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x100
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.logwindow
call fcn.00401769
mov dword [esp + 0x40], 4
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.test
call fcn.00401769
mov dword [esp + 0x40], 5
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 4
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.demo
call fcn.00401769
mov dword [esp + 0x40], 6
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x80
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.installproduct
call fcn.00401769
mov dword [esp + 0x40], 7
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x8000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.noreq
call fcn.00401769
mov dword [esp + 0x40], 8
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x2000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.initprogress
call fcn.00401769
mov dword [esp + 0x40], 9
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x40
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.noprop
call fcn.00401769
mov dword [esp + 0x40], 0xa
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x8000000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.pingdialog
call fcn.00401769
mov dword [esp + 0x40], 0xb
mov dword [esp + 0x40], ebx
call fcn.00476cc5
push 0x4000000
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.silentpostback
call fcn.00401769
mov dword [esp + 0x40], 0xc
mov dword [esp + 0x40], ebx
call fcn.00476cc5
lea eax, [edi + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x55bea4
call fcn.00401769
mov dword [esp + 0x40], 0xd
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x94]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.selftest
call fcn.00401769
mov dword [esp + 0x40], 0xe
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x50]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.displayname
call fcn.00401769
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x54]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.shortname
call fcn.00401769
mov dword [esp + 0x40], 0x10
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x58]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.accountid
call fcn.00401769
mov dword [esp + 0x40], 0x11
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x5c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.campaignname
call fcn.00401769
mov dword [esp + 0x40], 0x12
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ping
call fcn.00401769
mov dword [esp + 0x40], 0x13
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [edi + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.productfailurl
call fcn.00401769
mov dword [esp + 0x40], 0x14
mov dword [esp + 0x40], ebx
call fcn.00476dc4
lea eax, [esp + 0x24]
push eax
call fcn.00414eed
mov dword [esp + 0x38], 0x15
lea eax, [esp + 0x1c]
push eax
call fcn.00414eed
mov byte [esp + 0x38], 0x16
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.runfromiqax
call fcn.00401769
mov byte [esp + 0x40], 0x17
mov byte [esp + 0x40], 0x16
call fcn.00476dc4
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.runfromclickonce
call fcn.00401769
mov byte [esp + 0x40], 0x18
mov byte [esp + 0x40], 0x16
call fcn.00476dc4
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], 0
jne 0x476ad6
and dword [edi + 0xd8], 0
jmp 0x476afc
lea eax, [esp + 0x24]
call fcn.00415259
cmp eax, 1
je 0x476af2
push dword [esp + 0x28]
call fcn.004f63aa
pop ecx
test eax, eax
jle 0x476acd
mov dword [edi + 0xd8], 1
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jne 0x476b0f
and dword [edi + 0xdc], 0
jmp 0x476b35
lea eax, [esp + 0x1c]
call fcn.00415259
cmp eax, 1
je 0x476b2b
push dword [esp + 0x20]
call fcn.004f63aa
pop ecx
test eax, eax
jle 0x476b06
mov dword [edi + 0xdc], 1
lea eax, [edi + 0xe0]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.psid
call fcn.00401769
mov byte [esp + 0x40], 0x19
mov byte [esp + 0x40], 0x16
call fcn.00476dc4
lea esi, [edi + 0x28]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x476bc0
push 1
push 0xae
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CIQWrapperConfig::LoadAutoRun
call fcn.00401769
mov byte [esp + 0x44], 0x1a
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Run_setting_is_empty_
call fcn.00401769
mov byte [esp + 0x48], 0x1b
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.norun
call fcn.00401769
mov byte [esp + 0x4c], 0x1c
mov eax, dword [edi]
push 1
mov byte [esp + 0x50], 0x16
mov ecx, edi
call dword [eax + 0x14]
jmp 0x476c33
push str.self
mov ecx, esi
call fcn.0040412c
test eax, eax
jne 0x476be0
lea esi, [esp + 0x10]
call fcn.00413a61
mov byte [esp + 0x38], 0x1d
jmp 0x476c1c
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push esi
call fcn.0040184e
mov byte [esp + 0x3c], 0x1e
push ecx
lea eax, [edi + 0x24]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x40], 0x1f
mov byte [esp + 0x40], 0x16
lea esi, [esp + 0x18]
call fcn.004139f3
pop ecx
pop ecx
mov byte [esp + 0x38], 0x20
push eax
lea ecx, [edi + 0x28]
call fcn.004044ef
mov byte [esp + 0x38], 0x16
lea ecx, [esp + 0x10]
call fcn.00401898
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
lea eax, [edi + 0x28]
push eax
push str.RunFilename
push ecx
call fcn.00404236
add esp, 0xc
mov byte [esp + 0x3c], 0x21
push 2
mov byte [esp + 0x40], 0x16
call fcn.0041485d
lea eax, [edi + 0x98]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x476c87
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x3c], 0x22
mov byte [esp + 0x3c], 0x16
call fcn.00477d57
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
mov byte [esp + 0x38], 0x15
lea ecx, [esp + 0x1c]
call fcn.00415022
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x24]
call fcn.00415022
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret