Function at 0x10032940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101411bc
mov eax, dword fs:[0]
push eax
sub esp, 0x87c
mov eax, dword [0x101811b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x86c], esi
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x888], 0
jne 0x1003298a
call fcn.10031400
cmp dword [esi + 0xc], 0
jne 0x100329a1
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xc], eax
push 0x208
lea eax, [ebp - 0x828]
push 0
push eax
call fcn.10117810
add esp, 0xc
lea eax, [ebp - 0x828]
push 0x104
push eax
call fcn.101103d0
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033aed
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x880], eax
mov dword [ebp - 4], 0
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x828]
push ecx
push dword [eax]
lea eax, [ebp - 0x880]
push str.http:__show.g.mediav.com_s_type1of4newf2showids_smid_s
push eax
call fcn.10004580
add esp, 0x10
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033af7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x884], esi
mov byte [ebp - 4], 1
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10032bc7
push 0x35
push str.d:_buildlib_commonwnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 2
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.1001e980
mov byte [ebp - 4], 3
call fcn.10058c20
mov dword [ebp - 0x878], eax
lea ecx, [ebp - 0xa8]
push 0x8e
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10011dd0
mov dword [ebp - 0x85c], eax
push str.media_ad_req_url:
push eax
mov byte [ebp - 4], 4
call fcn.10014590
mov edi, dword [ebp - 0x880]
mov ecx, 0x101472e4
test edi, edi
cmovne ecx, edi
push ecx
push dword [ebp - 0x85c]
call fcn.1000dea0
mov ecx, dword [ebp - 0x878]
add esp, 0x10
mov eax, dword [ecx]
push dword [ebp - 0x85c]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10014a50
mov edx, dword [ebp - 0x82c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10032b6c
mov ecx, dword [ebp - 0x840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032b62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b01
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10032bcd
mov ecx, dword [ebp - 0x858]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032bbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b06
push edx
push ecx
call fcn.1010be48
add esp, 8
jmp 0x10032bcd
mov edi, dword [ebp - 0x880]
mov eax, dword [ebp - 0x86c]
push 0x1c
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x870], eax
call fcn.1010c1ed
add esp, 4
mov dword [ebp - 0x85c], eax
test eax, eax
je 0x10032c6a
mov dword [eax], vtable.CHttpTaskAdapterGet.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033b0b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x85c]
add eax, 0x10
mov dword [ecx + 0x14], eax
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033b15
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x85c]
add eax, 0x10
push 0
push 0
push 1
push 0
mov dword [ecx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x85c]
mov dword [ecx + 0x10], eax
mov eax, ecx
jmp 0x10032c6c
xor eax, eax
push dword [ebp - 0x860]
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x830], 0
push eax
mov dword [ebp - 0x82c], 0
call fcn.10030a80
mov byte [ebp - 4], 5
call fcn.10031370
mov ecx, dword [eax + 0xc]
or eax, 0xffffffff
test ecx, ecx
je 0x10033957
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x85c], eax
test eax, eax
je 0x10033954
mov edx, dword [eax]
mov ecx, eax
push 0
push str.ungzip
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x85c]
push 0
push str.gzip
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x85c]
test eax, eax
je 0x10033954
mov dword [ebp - 0x860], 0
lea ecx, [ebp - 0x864]
push dword [ebp - 0x860]
mov dword [ebp - 0x864], 0
push eax
call fcn.10030b20
mov edx, dword [ebp - 0x830]
mov eax, dword [ebp - 0x864]
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x860]
mov dword [ebp - 0x878], ecx
mov dword [edx + 8], eax
test ecx, ecx
je 0x10032d5f
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10032d5f
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x878]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10032d59
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x830]
mov ecx, dword [edx + 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x830]
push edi
push 0
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x10033954
mov eax, dword [ebp - 0x830]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10033954
mov ecx, dword [ebp - 0x870]
push 0x2710
test ecx, ecx
je 0x10032dc1
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x864]
push 0
push eax
push 2
mov dword [ebp - 0x860], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x10032dc8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10033954
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10033954
add eax, 0x14
lea ecx, [ebp - 0x884]
push eax
call fcn.10030e80
mov ecx, dword [ebp - 0x82c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10032e22
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x10032e22
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x82c]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x10032e22
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x884]
cmp dword [esi - 4], 1
jle 0x10032e42
push dword [esi - 0xc]
lea ecx, [ebp - 0x884]
call fcn.10005fc0
mov esi, dword [ebp - 0x884]
mov ecx, dword [ebp - 0x86c]
push esi
call fcn.10031850
mov dword [ebp - 0x878], eax
call fcn.10058c20
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x10032fd2
push 0x35
mov dword [ebp - 0x848], ecx
mov byte [ebp - 0x858], cl
lea ecx, [ebp - 0x858]
push str.d:_buildlib_commonwnd_pluginmediaadmediaadmgr.cpp
mov dword [ebp - 0x844], 0xf
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 9
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.1001e980
mov byte [ebp - 4], 0xa
call fcn.10058c20
mov dword [ebp - 0x870], eax
lea ecx, [ebp - 0xa8]
push 0x97
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10011dd0
mov dword [ebp - 0x85c], eax
push str.parse_ad_config_return
push eax
mov byte [ebp - 4], 0xb
call fcn.10014590
mov ecx, dword [ebp - 0x85c]
add esp, 8
push dword [ebp - 0x878]
call fcn.10013ed0
mov ecx, dword [ebp - 0x870]
push dword [ebp - 0x85c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10014a50
mov edx, dword [ebp - 0x82c]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10032f79
mov ecx, dword [ebp - 0x840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032f6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b1f
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10032fd2
mov ecx, dword [ebp - 0x858]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032fc8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b24
push edx
push ecx
call fcn.1010be48
add esp, 8
cmp dword [ebp - 0x878], 0
je 0x10033a73
push 0x208
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.10117810
push 0x206
lea eax, [ebp - 0x61e]
push 0
push eax
call fcn.10117810
xor eax, eax
add esp, 0x18
mov word [ebp - 0x620], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x838]
movups xmmword [ebp - 0x838], xmm0
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10117810
movzx eax, byte [ebp - 0x829]
push eax
movzx eax, byte [ebp - 0x82a]
push eax
movzx eax, byte [ebp - 0x82b]
push eax
movzx eax, byte [ebp - 0x82c]
push eax
movzx eax, byte [ebp - 0x82d]
push eax
movzx eax, byte [ebp - 0x82e]
push eax
movzx eax, byte [ebp - 0x82f]
push eax
movzx eax, byte [ebp - 0x830]
push eax
movzx eax, word [ebp - 0x832]
push eax
movzx eax, word [ebp - 0x834]
push eax
push dword [ebp - 0x838]
lea eax, [ebp - 0x210]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.10030bb0
lea ecx, [ebp - 0x210]
add esp, 0x40
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100330b0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.10128604
mov edi, dword [ebp - 0x86c]
lea eax, [ebp - 0x620]
add esp, 0x10
push eax
push dword [edi + 0x50]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033b29
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x85c], eax
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x10033139
movzx eax, ax
lea ecx, [ebp - 0x85c]
push eax
call fcn.10004000
jmp 0x10033164
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10033142
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x85c]
call fcn.10006e00
mov eax, dword [edi + 0xc]
push 0x20
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x860], eax
call fcn.1010c1ed
mov edi, eax
add esp, 4
mov dword [ebp - 0x874], edi
test edi, edi
je 0x100331f4
mov dword [edi], vtable.CHttpTaskAdapterDownloadFile.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033b33
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x10033b3d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push 0
push 0
push 1
add eax, 0x10
push 0
mov dword [edi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x10], eax
jmp 0x100331f6
xor edi, edi
push dword [ebp - 0x860]
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x830], 0
push edi
mov dword [ebp - 0x82c], 0
call fcn.100309e0
mov eax, dword [ebp - 0x86c]
mov byte [ebp - 4], 0xe
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x874], eax
call fcn.10031370
mov edi, dword [ebp - 0x85c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100333bb
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x878], eax
test eax, eax
je 0x100333bb
mov edx, dword [eax]
mov ecx, eax
push 0
push str.ungzip
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x878]
push 0
push str.gzip
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x878]
test eax, eax
je 0x100333bb
push dword [ebp - 0x860]
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x87c], 0
push eax
mov dword [ebp - 0x878], 0
call fcn.10030b20
mov edx, dword [ebp - 0x830]
mov eax, dword [ebp - 0x87c]
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x878]
mov dword [ebp - 0x870], ecx
mov dword [edx + 8], eax
test ecx, ecx
je 0x100332fb
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100332fb
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x870]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100332f5
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x830]
mov ecx, dword [edx + 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x830]
push edi
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x830]
push dword [ebp - 0x874]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x100333bb
mov eax, dword [ebp - 0x830]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100333bb
mov ecx, dword [ebp - 0x860]
push 0x2710
test ecx, ecx
je 0x1003336d
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x864]
push 0
push eax
push 2
mov dword [ebp - 0x860], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jmp 0x10033374
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100333bb
mov eax, dword [ebp - 0x830]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100333bb
mov ecx, dword [ebp - 0x82c]
test ecx, ecx
je 0x100333b2
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100333b2
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x82c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100333b2
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x865], 0
jmp 0x100333ef
mov ecx, dword [ebp - 0x82c]
test ecx, ecx
je 0x100333e8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100333e8
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x82c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x100333e8
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x865], 1
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003340d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x865], 0
je 0x1003359e
mov eax, dword [ebp - 0x86c]
push dword [eax + 0x54]
lea eax, [ebp - 0x860]
push str.ex2_s
push eax
call fcn.100364a0
add esp, 0xc
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 0xf
push str.360ad_down_fail
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x860]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1003355d
push 0x35
push str.d:_buildlib_commonwnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], 0
call fcn.1001e980
mov byte [ebp - 4], 0x11
call fcn.10058c20
mov dword [ebp - 0x860], eax
lea ecx, [ebp - 0xa8]
push 0xa2
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.10011dd0
mov edi, eax
push str.down_media_ad_img_fail
push edi
mov byte [ebp - 4], 0x12
call fcn.10014590
mov eax, dword [ebp - 0x860]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10014a50
lea ecx, [ebp - 0x858]
call fcn.10005a20
lea ecx, [ebp - 0x840]
call fcn.10005a20
or edi, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10033578
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x880]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10033aad
mov ecx, dword [edx]
push edx
jmp 0x10033aa8
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x86c]
push dword [eax + 0x54]
lea eax, [ebp - 0x870]
push str.ex2_s
push eax
je 0x10033855
mov dword [ebp - 0x888], 1
call fcn.100364a0
add esp, 0xc
mov ecx, dword [0x10184f60]
mov eax, dword [eax]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x874], eax
test ecx, ecx
jne 0x10033650
push 0x1017c004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10184f60], 0
jne 0x10033639
push 4
call fcn.1010c1ed
add esp, 4
mov dword [ebp - 0x860], eax
mov byte [ebp - 4], 0x14
test eax, eax
je 0x10033627
mov ecx, eax
call fcn.10059a40
mov ecx, eax
jmp 0x10033629
xor ecx, ecx
mov byte [ebp - 4], 0x13
xchg dword [ebp - 0x860], eax
mov dword [0x10184f60], ecx
push 0x1017c004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10184f60]
mov eax, dword [ebp - 0x874]
push 0
push 0
push 1
push eax
push str.360ad_down_succ
call fcn.10059af0
mov edx, dword [ebp - 0x870]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100337eb
push 0x35
push str.d:_buildlib_commonwnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
call fcn.1001e980
mov byte [ebp - 4], 0x16
call fcn.10058c20
mov dword [ebp - 0x860], eax
lea ecx, [ebp - 0xa8]
push 0xaa
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.10011dd0
mov edi, eax
push str.down_media_ad_img_succ
push edi
mov byte [ebp - 4], 0x17
call fcn.10014590
mov eax, dword [ebp - 0x860]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10014a50
mov edx, dword [ebp - 0x82c]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x1003378f
mov ecx, dword [ebp - 0x840]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033785
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b47
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x844]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x100337e8
mov ecx, dword [ebp - 0x858]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100337de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033b4c
push edx
push ecx
call fcn.1010be48
add esp, 8
or edi, 0xffffffff
mov ecx, dword [ebp - 0x86c]
lea edx, [ebp - 0x418]
lea eax, [edx + 2]
mov dword [ebp - 0x860], eax
lea ecx, [ecx + 0x2c]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10033803
sub edx, dword [ebp - 0x860]
lea eax, [ebp - 0x418]
sar edx, 1
push edx
push eax
call fcn.10006e00
mov eax, dword [ebp - 0x86c]
push dword [eax]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10033905
mov eax, dword [ebp - 0x86c]
push 0
push 1
push 0x478
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10033905
call fcn.100364a0
add esp, 0xc
mov ecx, dword [0x10184f60]
mov eax, dword [eax]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x874], eax
test ecx, ecx
jne 0x100338d3
push 0x1017c004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10184f60], 0
jne 0x100338bc
push 4
call fcn.1010c1ed
add esp, 4
mov dword [ebp - 0x860], eax
mov byte [ebp - 4], 0x19
test eax, eax
je 0x100338aa
mov ecx, eax
call fcn.10059a40
mov ecx, eax
jmp 0x100338ac
xor ecx, ecx
mov byte [ebp - 4], 0x18
xchg dword [ebp - 0x860], eax
mov dword [0x10184f60], ecx
push 0x1017c004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10184f60]
mov eax, dword [ebp - 0x874]
push 0
push 0
push 1
push eax
push str.360ad_img_not_exist
call fcn.10059af0
mov edx, dword [ebp - 0x870]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033905
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10033920
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x880]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10033942
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x888], 0
jne 0x10033ac5
jmp 0x10033aad
or eax, 0xffffffff
mov ecx, dword [ebp - 0x82c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10033985
lock xadd dword [ecx + 4], eax
jne 0x10033985
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x82c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10033985
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033a73
push 0x35
push str.d:_buildlib_commonwnd_pluginmediaadmediaadmgr.cpp
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], 0xf
mov byte [ebp - 0x840], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x858]
mov byte [ebp - 4], 6
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 0xf
mov byte [ebp - 0x858], 0
call fcn.1001e980
mov byte [ebp - 4], 7
call fcn.10058c20
mov dword [ebp - 0x860], eax
lea ecx, [ebp - 0xa8]
push 0x92
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x858]
push eax
call fcn.10011dd0
mov dword [ebp - 0x874], eax
push str.synchttpget_config_fail.
push eax
mov byte [ebp - 4], 8
call fcn.10014590
mov eax, dword [ebp - 0x860]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push dword [ebp - 0x874]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.10014a50
lea ecx, [ebp - 0x858]
call fcn.10005a20
lea ecx, [ebp - 0x840]
call fcn.10005a20
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10033a91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x10033aad
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x48]
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [ebp - 0x86c]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1010c1dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003610
push 0x80004005
call fcn.10003610
call fcn.1011ae29
call fcn.1011ae29
push 0x80004005
call fcn.10003610
push 0x80004005
call fcn.10003610
call fcn.1011ae29
call fcn.1011ae29
push 0x80004005
call fcn.10003610
push 0x80004005
call fcn.10003610
push 0x80004005
call fcn.10003610
call fcn.1011ae29
call fcn.1011ae29
int3