Function at 0x4350e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c270
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_IN_time___d_
push 0
push 5
call fcn.004506f0
add esp, 0x14
test esi, esi
je 0x435854
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43514e
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x435175
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x435199
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
mov ecx, ebx
push 0x461d6c
mov dword [ebp - 0x30], 0
call fcn.004497b0
cmp eax, 0x47ae10
je 0x435796
cmp byte [ebx + 8], 0
jne 0x4351d3
mov esi, 0x47ae10
jmp 0x43524b
mov ecx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], 0x461d6c
mov dword [ebp - 0x1c], 0
call fcn.00449b10
mov ecx, dword [ebx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x435225
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x43521e
cmp dword [ebp - 0x1c], 1
jne 0x43521e
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x435247
lea esi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x20], 0
je 0x435247
cmp dword [ebp - 0x1c], 1
jne 0x435247
call fcn.004489d0
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 2
cmp byte [esi + 8], 4
jne 0x435796
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43526a
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
cmp byte [ebx + 8], 0
jne 0x435286
mov esi, 0x47ae10
jmp 0x4352fe
mov ecx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
push eax
mov dword [ebp - 0x20], 0x461d6c
mov dword [ebp - 0x1c], 0
call fcn.00449b10
mov ecx, dword [ebx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4352d8
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4352d1
cmp dword [ebp - 0x1c], 1
jne 0x4352d1
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x4352fa
lea esi, [eax + 0x18]
mov byte [ebp - 4], 7
cmp dword [ebp - 0x20], 0
je 0x4352fa
cmp dword [ebp - 0x1c], 1
jne 0x4352fa
call fcn.004489d0
push dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 5
mov edx, dword [esi]
test edx, edx
jne 0x435308
xor ecx, ecx
jmp 0x435319
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435310
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.004410c0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x24]
call fcn.00453880
cmp dword [0x47accc], 0
jne 0x43536a
push 0x204
call fcn.0045690d
mov esi, eax
mov dword [ebp - 0x38], esi
push 0x204
push 0
push esi
mov byte [ebp - 4], 8
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov ecx, esi
call fcn.00428840
mov byte [ebp - 4], 5
mov dword [0x47accc], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042b000
test al, al
je 0x43538d
push str.CDispatcherHandler::CrossDomainRequest
push str._s_stats_url_encoded
push 3
push 5
call fcn.004506f0
add esp, 0x10
push str.onSuccessId
mov ecx, ebx
mov dword [ebp - 0x38], 0xffffffff
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43544c
cmp byte [ebx + 8], 0
jne 0x4353b8
mov esi, 0x47ae10
jmp 0x435430
mov ecx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onSuccessId
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [ebx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43540a
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x435403
cmp dword [ebp - 0x14], 1
jne 0x435403
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43542c
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 0
je 0x43542c
cmp dword [ebp - 0x14], 1
jne 0x43542c
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 5
cmp byte [esi + 8], 1
jne 0x43544c
push str.onSuccessId
mov ecx, ebx
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
mov dword [ebp - 0x38], eax
push str.onFailureId
mov ecx, ebx
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43550a
cmp byte [ebx + 8], 0
jne 0x435470
mov esi, 0x47ae10
jmp 0x4354e8
mov ecx, dword [ebx]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.onFailureId
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [ebx]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4354c2
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4354bb
cmp dword [ebp - 0x14], 1
jne 0x4354bb
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x4354e4
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0
je 0x4354e4
cmp dword [ebp - 0x14], 1
jne 0x4354e4
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 5
cmp byte [esi + 8], 1
jne 0x43550a
push str.onFailureId
mov ecx, ebx
call fcn.004497b0
mov ecx, eax
call fcn.00448fa0
cmp eax, 0xffffffff
jne 0x4356e8
cmp dword [ebp - 0x38], 0xffffffff
jne 0x4356e8
push 0x460244
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call fcn.0042c540
push 0x460244
lea ecx, [ebp - 0x58]
call fcn.0042c540
push 0x460244
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x54], 0xffffffff
call fcn.0042c540
push 0x460244
lea ecx, [ebp - 0x4c]
call fcn.0042c540
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x5c]
call fcn.0042d300
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.004497b0
cmp eax, 0x47ae10
je 0x4355d6
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.004497b0
cmp byte [eax + 8], 4
jne 0x4355d6
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.004497b0
mov edx, dword [eax]
test edx, edx
jne 0x4355b3
xor ecx, ecx
jmp 0x4355c1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4355b8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.004410c0
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x24]
call fcn.00453880
push str.referer
mov ecx, ebx
call fcn.004497b0
cmp eax, 0x47ae10
je 0x435634
push str.referer
mov ecx, ebx
call fcn.004497b0
cmp byte [eax + 8], 4
jne 0x435634
push str.referer
mov ecx, ebx
call fcn.004497b0
mov edx, dword [eax]
test edx, edx
jne 0x435611
xor ecx, ecx
jmp 0x43561f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435616
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.004410c0
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x24]
call fcn.00453880
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x18]
call fcn.004524b0
mov byte [ebp - 4], 0x11
cmp byte [ebp - 0x14], 0
jne 0x4356b0
mov esi, dword [ebp - 0x28]
push esi
push str.CDispatcherHandler::CrossDomainRequest
push str._s_download_failed__url__s__
push 3
push 0
call fcn.004506f0
mov byte [ebp - 4], 0x10
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
add esp, 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435684
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.00429dd0
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4357be
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4357be
mov byte [ebp - 4], 0x10
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4356d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x5c]
call fcn.00429dd0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
jmp 0x43576a
push 0x10
call fcn.0045690d
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov byte [esi + 8], 0
mov ecx, esi
and dword [esi + 8], 0xfffffeff
push ebx
mov dword [esi + 0xc], 0
mov byte [ebp - 4], 5
call fcn.00448ef0
lea eax, [ebp - 0x30]
push eax
push 0
push esi
push 0x434d20
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
jne 0x435780
push ecx
mov ecx, esi
call fcn.00433d70
push str.crossDomainRequest_beginthreadex_error
lea ecx, [ebp - 0x2c]
call fcn.0042c3e0
push str.CDispatcherHandler::CrossDomainRequest
push str._s__beginthreadex_error
push 3
push 5
call fcn.004506f0
mov byte [ebp - 4], 2
add esp, 0x10
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4357be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4357be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
jmp 0x43576a
push 0x1e
push str.crossDomainRequest_url_missing
lea ecx, [ebp - 0x2c]
call fcn.0042d9b0
push str.CDispatcherHandler::CrossDomainRequest
push str._s_url_error
push 3
push 5
call fcn.004506f0
add esp, 0x10
or ebx, 0xffffffff
mov esi, dword [ebp - 0x3c]
mov eax, 8
mov word [esi], ax
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x4357dc
call fcn.0042d8e0
mov dword [esi + 8], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_OUT_time___d_
push 0
push 5
call fcn.004506f0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43581a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435838
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x435854
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004568f7
mov esp, ebp
pop ebp
ret 8