Function at 0x46f2ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a654b
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx]
mov esi, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
mov dword [esp + 0xc8], edi
cmp dword [ebx + 4], edi
jne 0x46f35c
push dword [ebx]
jmp 0x46f904
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
lea eax, [esp + 0x20]
push eax
push esi
mov eax, str.TargetedContentInfo_PresentationInfo
mov byte [esp + 0xd0], 2
call fcn.0047ccfe
mov byte [esp + 0xc8], 3
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x46f5ba
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea edx, [esp + 0x2c]
mov byte [esp + 0xc8], 4
call fcn.0047dea0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x1c], edi
test eax, eax
je 0x46f5a9
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x2c]
cmp dword [eax + 0x14], 8
jb 0x46f3eb
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047d944
mov dword [esp + 0x10], edi
push 0x5c3e98
lea eax, [esp + 0x44]
mov byte [esp + 0xcc], 6
mov ecx, dword [esp + 0x18]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 7
call fcn.00409aa3
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x46f44a
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f44a
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x10], edi
jne 0x46f47d
mov byte [esp + 0xc8], 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x46f588
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f588
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x46f588
push dword [esp + 0x10]
call fcn.0047d079
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
push str.TotalSeconds
lea eax, [esp + 0x40]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 8
call fcn.00409aa3
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x46f4ce
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f4ce
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x10], edi
je 0x46f450
push dword [esp + 0x10]
call fcn.0047d079
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
push str.TotalCount
lea eax, [esp + 0x28]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 9
call fcn.00409aa3
mov byte [esp + 0xc8], 6
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x46f529
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f529
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x46f450
push esi
call fcn.0047d079
mov dword [esp + 0x74], eax
lea eax, [esp + 0x6c]
lea ebx, [esp + 0x58]
call fcn.0047034f
mov byte [esp + 0xc8], 5
dec dword [esi + 4]
cmp dword [esi + 4], edi
jg 0x46f564
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov byte [esp + 0xc8], 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x46f584
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f584
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x1c]
add dword [esp + 0x18], 0x1c
cmp dword [esp + 0x1c], eax
jb 0x46f3db
lea esi, [esp + 0x2c]
mov byte [esp + 0xc8], 3
call fcn.0040b1e1
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x48]
mov eax, str.TargetedContentInfo_ClickInfo
call fcn.0047ccfe
lea esi, [esp + 0x20]
mov byte [esp + 0xc8], 0xa
call fcn.00409aa3
mov byte [esp + 0xc8], 3
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x46f5fe
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f5fe
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x20]
cmp ecx, edi
je 0x46f88e
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
lea edx, [esp + 0x2c]
mov byte [esp + 0xc8], 0xb
call fcn.0047dea0
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], ax
mov byte [esp + 0xc8], 0xc
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [esp + 0x18], edi
test eax, eax
je 0x46f869
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x1c]
add eax, dword [esp + 0x2c]
cmp dword [eax + 0x14], 8
jb 0x46f679
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0047d944
mov dword [esp + 0x10], edi
push 0x5c3e98
lea eax, [esp + 0x28]
mov byte [esp + 0xcc], 0xe
mov ecx, dword [esp + 0x18]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 0xf
call fcn.00409aa3
mov byte [esp + 0xc8], 0xe
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x46f6d8
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f6d8
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x10], edi
jne 0x46f70b
mov byte [esp + 0xc8], 0xc
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x46f848
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f848
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x46f848
push dword [esp + 0x10]
call fcn.0047d079
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
push str.TotalClicks
lea eax, [esp + 0x40]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 0x10
call fcn.00409aa3
mov byte [esp + 0xc8], 0xe
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x46f75c
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f75c
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x10], edi
je 0x46f6de
push dword [esp + 0x10]
call fcn.0047d079
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
push str.ClickedURL
lea eax, [esp + 0x44]
push eax
call fcn.0047d944
lea esi, [esp + 0x10]
mov byte [esp + 0xc8], 0x11
call fcn.00409aa3
mov byte [esp + 0xc8], 0xe
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x46f7b7
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f7b7
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x10], edi
je 0x46f6de
push dword [esp + 0x10]
lea ebx, [esp + 0xa0]
call fcn.0047d2d7
mov ebx, eax
lea eax, [esp + 0x80]
mov byte [esp + 0xc8], 0x12
call fcn.0040ab21
push 1
xor edi, edi
lea esi, [esp + 0xa0]
mov byte [esp + 0xcc], 0xe
call fcn.0040b028
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
call fcn.0044e013
mov byte [esp + 0xc8], 0xd
mov ecx, dword [esp + 0x10]
dec dword [ecx + 4]
cmp dword [ecx + 4], edi
jg 0x46f826
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [esp + 0xc8], 0xc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x46f846
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f846
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
cmp dword [esp + 0x18], eax
jb 0x46f669
push 1
xor edi, edi
lea esi, [esp + 0x84]
call fcn.0040b028
lea esi, [esp + 0x2c]
mov byte [esp + 0xc8], 3
call fcn.0040b1e1
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
call fcn.0046f9b0
push 0x5cb19c
push dword [esp + 0x48]
call fcn.0047cd57
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x58], eax
jne 0x46f8be
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x48], eax
je 0x46f8cc
push str.TargetedContent_statistics_migrated.
push 3
pop ecx
call fcn.0047c666
pop ecx
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x46f8ec
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jg 0x46f8ec
mov eax, dword [ecx]
push 1
call dword [eax]
lea esi, [esp + 0x48]
call fcn.0042cdcc
lea esi, [esp + 0x58]
call fcn.004c601a
mov eax, dword [esp + 0x28]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret