Function at 0x407182
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x7c
mov eax, 0x53534a
call fcn.004fa4d4
and dword [ebp - 0x20], 0
push 0x346
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.CFreezeWrapWinApp::Postback
call fcn.00401769
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call fcn.004147ed
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
push str.stubinfo.ini
call fcn.00401769
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push eax
lea ebx, [edi + 0x53c]
push ebx
call fcn.0042d442
mov byte [ebp - 4], 2
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x1c]
call fcn.004139f3
pop ecx
pop ecx
mov dword [ebp - 4], 3
mov eax, dword [ebx]
push 0x4000000
mov ecx, ebx
call dword [eax + 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ebx, str.StubInfo
test eax, eax
je 0x407228
push dword [ebp - 0x1c]
push 0x53ea98
push str.SilentPostback
push ebx
call esi
lea eax, [ebp - 0x48]
push eax
lea eax, [edi + 0x53c]
push eax
call fcn.0047ab8d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x407251
push dword [ebp - 0x1c]
push eax
push str.ProductFailUrl
push ebx
call esi
cmp dword [edi + 0xdb4], 0
mov eax, 0x53ea98
jne 0x407264
mov eax, 0x53eea4
push dword [ebp - 0x1c]
push eax
push str.RunAlternate
push ebx
call esi
lea eax, [edi + 0x538]
push eax
call fcn.00431b00
xor ecx, ecx
mov dword [ebp - 0x70], eax
cmp eax, ecx
je 0x407297
push dword [ebp - 0x1c]
push 0x53ea98
push str.PostbackSent
push ebx
call esi
xor ecx, ecx
mov eax, dword [edi + 0xdb4]
cmp eax, ecx
mov eax, dword [edi + 0xdd0]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], ecx
je 0x407306
cmp eax, 0x61
jne 0x4072cd
cmp dword [edi + 0xdb8], 5
jne 0x407853
jmp 0x407818
cmp eax, 0x46
jne 0x4072f1
mov eax, dword [edi + 0xdb8]
cmp eax, 2
je 0x407818
cmp eax, 5
je 0x407818
cmp eax, 0x3eb
jmp 0x4072c2
cmp eax, 0x44
jne 0x407853
cmp dword [edi + 0xdb8], 0x3eb
jmp 0x4072c2
cmp eax, 0xd
jne 0x407818
cmp dword [edi + 0x1150], ecx
jne 0x407818
lea ecx, [ebp - 0x14]
call fcn.00404433
mov byte [ebp - 4], 5
xor ebx, ebx
cmp dword [edi + 0x6e4], ebx
mov dword [ebp - 0x2c], ebx
jle 0x4077aa
mov ebx, 0x53eeec
mov edi, 0x1b4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
add ecx, 0x6dc
call fcn.004081b8
mov esi, dword [eax]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x180]
test eax, eax
je 0x4074e1
mov eax, dword [esi]
push 8
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
jne 0x4074e1
lea ecx, [ebp - 0x28]
call fcn.00404433
mov byte [ebp - 4], 6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push dword [eax + 8]
lea eax, [ebp - 0x28]
push str.Offer_was_accepted_but_failed_to_install._Err_d
push eax
call fcn.00404420
pop ecx
pop ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 7
mov eax, dword [esi]
add eax, 0x1ac
mov byte [ebp - 4], 6
mov ecx, esi
call dword [eax]
push ebx
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 8
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
add eax, edi
push ecx
mov byte [ebp - 4], 6
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x14]
call fcn.0040438f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
call fcn.00401898
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x50]
call fcn.00401898
mov ecx, dword [ebp + 8]
add ecx, 0x53c
mov eax, dword [ecx]
lea edx, [ebp - 0x54]
push edx
call dword [eax + 0x54]
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
or dword [ebp - 0x20], 1
cmp dword [eax - 0xc], 0
jne 0x407467
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp dword [eax + 8], 2
je 0x407461
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
cmp dword [eax + 8], 5
je 0x407461
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x48]
cmp eax, 4
jne 0x407467
mov byte [ebp - 0xd], 0
jmp 0x40746b
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 6
test byte [ebp - 0x20], 1
je 0x407484
and dword [ebp - 0x20], 0xfffffffe
lea ecx, [ebp - 0x54]
call fcn.00401898
cmp byte [ebp - 0xd], 0
je 0x4074d5
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 0x24], 1
call dword [eax + 0x150]
test eax, eax
je 0x4074a8
mov dword [ebp - 0x3c], 1
jmp 0x4074d5
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.invalid
mov dword [ebp - 0x18], 1
call fcn.00401769
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 8]
add ecx, 0x538
call fcn.0040496d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
jmp 0x40778c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x4075dc
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
jne 0x4075dc
mov eax, dword [esi]
push 0x40
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
jne 0x4075dc
push str.Offer_was_enabled_but_never_viewed_
lea ecx, [ebp - 0x30]
call fcn.00401769
mov byte [ebp - 4], 0xd
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0xe
mov eax, dword [esi]
add eax, 0x1ac
mov byte [ebp - 4], 0xd
mov ecx, esi
call dword [eax]
push ecx
xor eax, eax
inc eax
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.invalid
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
call fcn.00401769
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 8]
add ecx, 0x538
call fcn.0040496d
push ebx
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x10
mov eax, dword [esi]
lea ecx, [ebp - 0x5c]
add eax, edi
push ecx
mov byte [ebp - 4], 0xd
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x14]
call fcn.0040438f
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.00401898
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x5c]
call fcn.00401898
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
jmp 0x40778c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
jne 0x4076b5
push str.Offer_was_disabled_
lea ecx, [ebp - 0x34]
call fcn.00401769
mov byte [ebp - 4], 0x13
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x14
mov eax, dword [esi]
add eax, 0x1ac
mov byte [ebp - 4], 0x13
mov ecx, esi
call dword [eax]
push ecx
xor eax, eax
inc eax
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.invalid
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
call fcn.00401769
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp + 8]
add ecx, 0x538
call fcn.0040496d
push ebx
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x16
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
add eax, edi
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x14]
call fcn.0040438f
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x60]
call fcn.00401898
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x64]
call fcn.00401898
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
jmp 0x40778c
mov eax, dword [esi]
push 0x20
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x407791
push str.Offer_has_errors__check_logfile
lea ecx, [ebp - 0x38]
call fcn.00401769
mov byte [ebp - 4], 0x19
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x1a
mov eax, dword [esi]
add eax, 0x1ac
mov byte [ebp - 4], 0x19
mov ecx, esi
call dword [eax]
push ecx
xor eax, eax
inc eax
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.invalid
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], eax
call fcn.00401769
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp + 8]
add ecx, 0x538
call fcn.0040496d
push ebx
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x1c
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
add eax, edi
push ecx
mov byte [ebp - 4], 0x19
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0x1d
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004041d2
add esp, 0xc
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x14]
call fcn.0040438f
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x68]
call fcn.00401898
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x6c]
call fcn.00401898
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.00401898
inc dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x6e4]
jl 0x407342
mov edi, eax
xor ebx, ebx
lea eax, [ebp - 0x88]
push eax
call fcn.0041cdaa
mov byte [ebp - 4], 0x1f
lea eax, [edi + 0x6cc]
push eax
lea esi, [ebp - 0x88]
call fcn.0040471d
cmp dword [ebp - 0x18], ebx
je 0x4077f6
lea ecx, [edi + 0x53c]
mov eax, dword [ecx]
push 2
call dword [eax + 0x84]
test eax, eax
je 0x4077f6
push 0x30
push str.Post_Install_Verification_Failed_
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.0041cdf4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00401898
cmp dword [ebp - 0x18], ebx
jne 0x407853
xor ecx, ecx
cmp dword [edi + 0xb34], ecx
jle 0x407b86
lea ecx, [edi + 0x53c]
mov eax, dword [ecx]
push 2
mov dword [ebp - 0x44], 1
call dword [eax + 0x84]
test eax, eax
je 0x407853
push 0x30
push str.Post_Install_Verification_Failed_
push str.Bad_detection_rules_found__check_detection_logs
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push str.Engine_failed__posting_log_file...
call fcn.00401769
mov byte [ebp - 4], 0x20
push 2
mov byte [ebp - 4], 4
call fcn.0041485d
push 0x53efc8
lea ecx, [ebp - 0x2c]
call fcn.00401769
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x30]
push eax
lea esi, [edi + 0x53c]
push esi
call fcn.00462be9
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x88]
call fcn.004db503
mov byte [ebp - 4], 0x23
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x84]
test eax, eax
je 0x4078c9
push 0x53e940
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.004db9ba
mov eax, dword [esi]
push 0x800
mov ecx, esi
call dword [eax + 0x84]
test eax, eax
je 0x4078ef
push 0x53ea04
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.004db9ba
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x84]
test eax, eax
je 0x407912
push str.DB._
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.004db9ba
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov byte [ebp - 4], 0x24
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
setne bl
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x6c]
call fcn.00401898
test bl, bl
je 0x407964
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov byte [ebp - 4], 0x25
push eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.004db92e
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x6c]
call fcn.00401898
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x54]
mov byte [ebp - 4], 0x26
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
setne bl
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x6c]
call fcn.00401898
test bl, bl
je 0x4079b6
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov byte [ebp - 4], 0x27
push eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x88]
call fcn.004db92e
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x6c]
call fcn.00401898
lea eax, [ebp - 0x68]
push eax
lea eax, [edi + 0x538]
push eax
call fcn.004049a0
mov byte [ebp - 4], 0x28
mov ebx, dword [edi + 0xdb8]
lea ecx, [ebp + 8]
lea eax, [edi + 0xdb0]
push ecx
push eax
call fcn.0042ac13
mov byte [ebp - 4], 0x29
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x407a13
cmp dword [ebp - 0x3c], eax
je 0x4079fa
push 0x61
pop ebx
push str.offers_cancelled
jmp 0x407a20
push 0x62
lea ecx, [ebp + 8]
pop ebx
cmp dword [ebp - 0x40], eax
je 0x407a0c
push str.Offer_errors
jmp 0x407a23
push str.offers_not_viewed_installed
jmp 0x407a23
cmp dword [ebp - 0x44], eax
je 0x407a28
push 0x5f
pop ebx
push str.bad_detection_rules_found
lea ecx, [ebp + 8]
call fcn.00401732
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
mov esi, str._LoadLocalizedString_error_
push esi
call fcn.00401769
mov byte [ebp - 4], 0x2a
push 0x72
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x29
call fcn.00401000
mov byte [ebp - 4], 0x2b
add esp, 8
mov ecx, esp
mov dword [ebp - 0x74], esp
push esi
call fcn.00401769
mov byte [ebp - 4], 0x2c
push 0x73
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x2b
call fcn.00401000
mov byte [ebp - 4], 0x2d
add esp, 8
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x74], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x2e
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x6c], esp
push eax
lea eax, [edi + 0xdb0]
push eax
call fcn.00401fcc
mov byte [ebp - 4], 0x2f
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
lea ebx, [ebp - 0x88]
call fcn.0040184e
mov byte [ebp - 4], 0x30
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x31
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x32
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.0040184e
mov byte [ebp - 4], 0x33
push ecx
mov eax, esp
mov dword [ebp - 0x54], esp
push eax
call fcn.004019c2
mov byte [ebp - 4], 0x34
add edi, 0xd58
mov byte [ebp - 4], 0x2d
call fcn.00437d38
test eax, eax
je 0x407b2f
push dword [ebp - 0x1c]
push 0x53ea98
push str.LogSent
push str.StubInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x38]
call fcn.00401898
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x34]
call fcn.00401898
mov byte [ebp - 4], 0x28
lea ecx, [ebp + 8]
call fcn.00401898
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x68]
call fcn.00401898
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x88]
call fcn.004db7df
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x30]
call fcn.00401898
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00401898
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.00401898
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401898
mov eax, dword [ebp - 0x70]
call fcn.004fa5ac
ret 4