Function at 0x436c00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486cb9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4b1014]
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.004687c2
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_IN_time___d_
push 0
push 5
call fcn.00458800
add esp, 0x14
test esi, esi
je 0x4372d0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x436c6d
push 0x80004005
call fcn.00420020
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 0x436c94
push 0x80004005
call fcn.00420020
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 0x436cb8
push 0x80004005
call fcn.00420020
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 0x49a3cc
mov dword [ebp - 0x24], 0
call fcn.0044f800
or esi, 0xffffffff
cmp eax, 0x4b5590
je 0x437216
push ecx
push 0x49a3cc
mov ecx, ebx
call fcn.0044f640
cmp byte [eax + 8], 4
jne 0x437216
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x436d14
push 0x80004005
call fcn.00420020
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push 0x49a3cc
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044f640
mov edx, dword [eax]
test edx, edx
jne 0x436d3a
xor ecx, ecx
jmp 0x436d49
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436d40
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042ffa0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0045aa70
mov ecx, dword [0x4b541c]
test ecx, ecx
jne 0x436d9e
push 0x230
call fcn.0045dac5
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 4
call fcn.00462380
add esp, 0x10
mov ecx, esi
call fcn.00428910
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b541c], ecx
cmp byte [ecx + 0x208], 0
je 0x436dc5
lea eax, [ecx + 0x214]
lea edx, [ecx + 0x20c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045b9e0
mov ecx, dword [0x4b541c]
add esp, 4
test ecx, ecx
jne 0x436dff
push 0x230
call fcn.0045dac5
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 7
call fcn.00462380
add esp, 0x10
mov ecx, esi
call fcn.00428910
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b541c], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0042bae0
test al, al
je 0x436f06
push str.CDispatcherHandler::CrossDomainRequest
push str._s_stats_url_encoded
push 3
push 5
call fcn.00458800
add esp, 0x10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.0045ac50
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x436e49
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042e930
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 [0x4b7874]
cmp eax, dword [ecx + 4]
jle 0x436eae
push 0x4b7874
call fcn.0045dc44
add esp, 4
cmp dword [0x4b7874], 0xffffffff
jne 0x436eae
push 0x48a300
mov dword [0x4b77e8], 0x49f2b0
call fcn.0045dfb8
push 0x4b7874
call fcn.0045dc05
add esp, 8
mov ecx, dword [0x4b1e10]
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 0x49a3cc
mov ecx, ebx
call fcn.0044f640
mov ecx, eax
call fcn.0044eef0
lea ecx, [ebp - 0x64]
call fcn.0044ee30
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 0x436f09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x436f09
or esi, 0xffffffff
push str.onSuccessId
mov ecx, ebx
mov dword [ebp - 0x28], 0xffffffff
call fcn.0044f800
cmp eax, 0x4b5590
je 0x436f4d
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044f640
cmp byte [eax + 8], 1
jne 0x436f4d
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044f640
mov ecx, eax
call fcn.0044efa0
mov dword [ebp - 0x28], eax
push str.onFailureId
mov ecx, ebx
call fcn.0044f800
cmp eax, 0x4b5590
je 0x436f90
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044f640
cmp byte [eax + 8], 1
jne 0x436f90
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044f640
mov ecx, eax
call fcn.0044efa0
cmp eax, 0xffffffff
jne 0x437169
cmp dword [ebp - 0x28], 0xffffffff
jne 0x437169
push 0x4973c4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.0042dad0
push 0x4973c4
lea ecx, [ebp - 0x50]
call fcn.0042dad0
push 0x4973c4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0xffffffff
call fcn.0042dad0
push 0x4973c4
lea ecx, [ebp - 0x44]
call fcn.0042dad0
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.0042eb20
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f800
cmp eax, 0x4b5590
je 0x437066
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f640
cmp byte [eax + 8], 4
jne 0x437066
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f640
mov edx, dword [eax]
test edx, edx
jne 0x43703f
xor ecx, ecx
jmp 0x437051
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x437047
sub ecx, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042ffa0
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x18]
call fcn.0045aa70
push str.referer
mov ecx, ebx
call fcn.0044f800
cmp eax, 0x4b5590
je 0x4370c6
push ecx
push str.referer
mov ecx, ebx
call fcn.0044f640
cmp byte [eax + 8], 4
jne 0x4370c6
push ecx
push str.referer
mov ecx, ebx
call fcn.0044f640
mov edx, dword [eax]
test edx, edx
jne 0x4370a3
xor ecx, ecx
jmp 0x4370b1
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4370a8
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042ffa0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x18]
call fcn.0045aa70
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.0045a7b0
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x28], 0
je 0x43711f
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042eb20
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 0x437105
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.0042a390
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x4371ea
mov esi, dword [ebp - 0x14]
push esi
push str.CDispatcherHandler::CrossDomainRequest
push str._s_download_failed__url__s__
push 3
push 0
call fcn.00458800
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 0x437158
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.0042a390
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
jmp 0x4371e7
push 0x10
call fcn.0045dac5
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.0044eef0
lea eax, [ebp - 0x24]
push eax
push 0
push esi
push 0x436880
push 0
push 0
call fcn.00464f02
add esp, 0x18
test eax, eax
jne 0x437200
push ecx
mov ecx, esi
call fcn.00435890
push str.crossDomainRequest_beginthreadex_error
lea ecx, [ebp - 0x1c]
call fcn.0042d970
push str.CDispatcherHandler::CrossDomainRequest
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458800
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 0x43723b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43723b
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 0x4371ea
push 0x1e
push str.crossDomainRequest_url_missing
lea ecx, [ebp - 0x1c]
call fcn.0042f2f0
push str.CDispatcherHandler::CrossDomainRequest
push str._s_url_error
push 3
push 5
call fcn.00458800
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 0x437259
call fcn.0042f1a0
mov dword [ebx + 8], eax
call fcn.004687c2
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_OUT_time___d_
push 0
push 5
call fcn.00458800
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 0x437296
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 0x4372b4
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 0x4372d0
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.0045daaf
mov esp, ebp
pop ebp
ret 8