Function at 0x435340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486269
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4b0014]
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 - 0x30], esi
call fcn.00467b9c
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_IN_time___d_
push 0
push 5
call fcn.004569b0
add esp, 0x14
test esi, esi
je 0x435a10
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4353ad
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4353d4
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x4353f8
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov ecx, ebx
push 0x4993c4
mov dword [ebp - 0x24], 0
call fcn.0044dd20
or esi, 0xffffffff
cmp eax, 0x4b45d0
je 0x435956
push ecx
push 0x4993c4
mov ecx, ebx
call fcn.0044db60
cmp byte [eax + 8], 4
jne 0x435956
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x435454
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push 0x4993c4
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044db60
mov edx, dword [eax]
test edx, edx
jne 0x43547a
xor ecx, ecx
jmp 0x435489
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435480
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042e6c0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00459ac0
mov ecx, dword [0x4b445c]
test ecx, ecx
jne 0x4354de
push 0x230
call fcn.0045d295
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 4
call fcn.00461b50
add esp, 0x10
mov ecx, esi
call fcn.004285c0
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b445c], ecx
cmp byte [ecx + 0x208], 0
je 0x435505
lea eax, [ecx + 0x214]
lea edx, [ecx + 0x20c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045ad80
mov ecx, dword [0x4b445c]
add esp, 4
test ecx, ecx
jne 0x43553f
push 0x230
call fcn.0045d295
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 7
call fcn.00461b50
add esp, 0x10
mov ecx, esi
call fcn.004285c0
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b445c], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0042ad90
test al, al
je 0x435646
push str.CDispatcherHandler::CrossDomainRequest
push str._s_stats_url_encoded
push 3
push 5
call fcn.004569b0
add esp, 0x10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.00459ca0
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x435589
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042d050
mov eax, dword [ebp - 0x5c]
mov esi, dword [esi]
and eax, 0xffffff04
or eax, 0x104
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4b68b4]
cmp eax, dword [ecx + 4]
jle 0x4355ee
push 0x4b68b4
call fcn.0045d431
add esp, 4
cmp dword [0x4b68b4], 0xffffffff
jne 0x4355ee
push 0x489a00
mov dword [0x4b6828], 0x49dab0
call fcn.0045d788
push 0x4b68b4
call fcn.0045d3f2
add esp, 8
mov ecx, dword [0x4b0e10]
push 0xffffffffffffffff
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
push ecx
push 0x4993c4
mov ecx, ebx
call fcn.0044db60
mov ecx, eax
call fcn.0044d410
lea ecx, [ebp - 0x64]
call fcn.0044d350
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435649
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x435649
or esi, 0xffffffff
push str.onSuccessId
mov ecx, ebx
mov dword [ebp - 0x28], 0xffffffff
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x43568d
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044db60
cmp byte [eax + 8], 1
jne 0x43568d
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044db60
mov ecx, eax
call fcn.0044d4c0
mov dword [ebp - 0x28], eax
push str.onFailureId
mov ecx, ebx
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x4356d0
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044db60
cmp byte [eax + 8], 1
jne 0x4356d0
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044db60
mov ecx, eax
call fcn.0044d4c0
cmp eax, 0xffffffff
jne 0x4358a9
cmp dword [ebp - 0x28], 0xffffffff
jne 0x4358a9
push 0x4963d4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.0042c3c0
push 0x4963d4
lea ecx, [ebp - 0x50]
call fcn.0042c3c0
push 0x4963d4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0xffffffff
call fcn.0042c3c0
push 0x4963d4
lea ecx, [ebp - 0x44]
call fcn.0042c3c0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x54]
call fcn.0042d240
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x4357a6
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044db60
cmp byte [eax + 8], 4
jne 0x4357a6
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044db60
mov edx, dword [eax]
test edx, edx
jne 0x43577f
xor ecx, ecx
jmp 0x435791
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435787
sub ecx, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042e6c0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x18]
call fcn.00459ac0
push str.referer
mov ecx, ebx
call fcn.0044dd20
cmp eax, 0x4b45d0
je 0x435806
push ecx
push str.referer
mov ecx, ebx
call fcn.0044db60
cmp byte [eax + 8], 4
jne 0x435806
push ecx
push str.referer
mov ecx, ebx
call fcn.0044db60
mov edx, dword [eax]
test edx, edx
jne 0x4357e3
xor ecx, ecx
jmp 0x4357f1
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4357e8
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042e6c0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x18]
call fcn.00459ac0
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.004587e0
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x28], 0
je 0x43585f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042d240
mov byte [ebp - 4], 0xd
mov eax, esi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435845
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00429fc0
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x43592a
mov esi, dword [ebp - 0x14]
push esi
push str.CDispatcherHandler::CrossDomainRequest
push str._s_download_failed__url__s__
push 3
push 0
call fcn.004569b0
mov byte [ebp - 4], 0xd
add esp, 0x14
mov edx, dword [ebp - 0x2c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435898
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00429fc0
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
jmp 0x435927
push 0x10
call fcn.0045d295
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], 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], 3
call fcn.0044d410
lea eax, [ebp - 0x24]
push eax
push 0
push esi
push 0x434fc0
push 0
push 0
call fcn.004646d2
add esp, 0x18
test eax, eax
jne 0x435940
push ecx
mov ecx, esi
call fcn.00433fd0
push str.crossDomainRequest_beginthreadex_error
lea ecx, [ebp - 0x1c]
call fcn.0042c260
push str.CDispatcherHandler::CrossDomainRequest
push str._s__beginthreadex_error
push 3
push 5
call fcn.004569b0
mov byte [ebp - 4], 2
add esp, 0x10
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43597b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43597b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x43592a
push 0x1e
push str.crossDomainRequest_url_missing
lea ecx, [ebp - 0x1c]
call fcn.0042da10
push str.CDispatcherHandler::CrossDomainRequest
push str._s_url_error
push 3
push 5
call fcn.004569b0
add esp, 0x10
mov ebx, dword [ebp - 0x30]
mov eax, 8
mov word [ebx], ax
push dword [edi - 0xc]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x435999
call fcn.0042d8c0
mov dword [ebx + 8], eax
call fcn.00467b9c
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_OUT_time___d_
push 0
push 5
call fcn.004569b0
mov byte [ebp - 4], 1
add esp, 0x14
mov edx, dword [ebp - 0x1c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4359d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4359f4
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], esi
dec esi
test esi, esi
jg 0x435a10
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.0045d27f
mov esp, ebp
pop ebp
ret 8