Function at 0x436790
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4885f9
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4b3014]
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.00469dac
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_IN_time___d_
push 0
push 5
call fcn.00458400
add esp, 0x14
test esi, esi
je 0x436e60
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4367fd
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x436824
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x436848
push 0x80004005
call fcn.0041ffc0
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 0x49b2bc
mov dword [ebp - 0x24], 0
call fcn.0044f380
or esi, 0xffffffff
cmp eax, 0x4b75d0
je 0x436da6
push ecx
push 0x49b2bc
mov ecx, ebx
call fcn.0044f1c0
cmp byte [eax + 8], 4
jne 0x436da6
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x4368a4
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
push 0x49b2bc
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.0044f1c0
mov edx, dword [eax]
test edx, edx
jne 0x4368ca
xor ecx, ecx
jmp 0x4368d9
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4368d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042fb30
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0045bba0
mov ecx, dword [0x4b745c]
test ecx, ecx
jne 0x43692e
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 4
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b745c], ecx
cmp byte [ecx + 0x208], 0
je 0x436955
lea eax, [ecx + 0x214]
lea edx, [ecx + 0x20c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045cf90
mov ecx, dword [0x4b745c]
add esp, 4
test ecx, ecx
jne 0x43698f
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 7
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [0x4b745c], ecx
lea eax, [ebp - 0x14]
push eax
call fcn.0042b670
test al, al
je 0x436a96
push str.CDispatcherHandler::CrossDomainRequest
push str._s_stats_url_encoded
push 3
push 5
call fcn.00458400
add esp, 0x10
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.0045bd80
mov esi, eax
mov byte [ebp - 4], 8
mov ecx, dword [esi]
cmp dword [ecx - 4], 1
jle 0x4369d9
push dword [ecx - 0xc]
mov ecx, esi
call fcn.0042e4c0
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 [0x4b98b4]
cmp eax, dword [ecx + 4]
jle 0x436a3e
push 0x4b98b4
call fcn.0045f632
add esp, 4
cmp dword [0x4b98b4], 0xffffffff
jne 0x436a3e
push 0x48bf10
mov dword [0x4b9828], 0x49ffa0
call fcn.0045f989
push 0x4b98b4
call fcn.0045f5f3
add esp, 8
mov ecx, dword [0x4b3e10]
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 0x49b2bc
mov ecx, ebx
call fcn.0044f1c0
mov ecx, eax
call fcn.0044ea70
lea ecx, [ebp - 0x64]
call fcn.0044e9b0
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 0x436a99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x436a99
or esi, 0xffffffff
push str.onSuccessId
mov ecx, ebx
mov dword [ebp - 0x28], 0xffffffff
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x436add
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044f1c0
cmp byte [eax + 8], 1
jne 0x436add
push ecx
push str.onSuccessId
mov ecx, ebx
call fcn.0044f1c0
mov ecx, eax
call fcn.0044eb20
mov dword [ebp - 0x28], eax
push str.onFailureId
mov ecx, ebx
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x436b20
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044f1c0
cmp byte [eax + 8], 1
jne 0x436b20
push ecx
push str.onFailureId
mov ecx, ebx
call fcn.0044f1c0
mov ecx, eax
call fcn.0044eb20
cmp eax, 0xffffffff
jne 0x436cf9
cmp dword [ebp - 0x28], 0xffffffff
jne 0x436cf9
push 0x4983ec
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xc
call fcn.0042d660
push 0x4983ec
lea ecx, [ebp - 0x50]
call fcn.0042d660
push 0x4983ec
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0xffffffff
call fcn.0042d660
push 0x4983ec
lea ecx, [ebp - 0x44]
call fcn.0042d660
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.0042e6b0
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x436bf6
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f1c0
cmp byte [eax + 8], 4
jne 0x436bf6
push ecx
push str.additionalRequestHeaders
mov ecx, ebx
call fcn.0044f1c0
mov edx, dword [eax]
test edx, edx
jne 0x436bcf
xor ecx, ecx
jmp 0x436be1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436bd7
sub ecx, dword [ebp - 0x28]
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042fb30
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x18]
call fcn.0045bba0
push str.referer
mov ecx, ebx
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x436c56
push ecx
push str.referer
mov ecx, ebx
call fcn.0044f1c0
cmp byte [eax + 8], 4
jne 0x436c56
push ecx
push str.referer
mov ecx, ebx
call fcn.0044f1c0
mov edx, dword [eax]
test edx, edx
jne 0x436c33
xor ecx, ecx
jmp 0x436c41
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436c38
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042fb30
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x18]
call fcn.0045bba0
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.0045a3b0
mov byte [ebp - 4], 0xe
cmp byte [ebp - 0x28], 0
je 0x436caf
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042e6b0
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 0x436c95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.0042a2e0
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x436d7a
mov esi, dword [ebp - 0x14]
push esi
push str.CDispatcherHandler::CrossDomainRequest
push str._s_download_failed__url__s__
push 3
push 0
call fcn.00458400
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 0x436ce8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.0042a2e0
mov byte [ebp - 4], 2
lea edx, [esi - 0x10]
jmp 0x436d77
push 0x10
call fcn.0045f4a5
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.0044ea70
lea eax, [ebp - 0x24]
push eax
push 0
push esi
push 0x436410
push 0
push 0
call fcn.004668e2
add esp, 0x18
test eax, eax
jne 0x436d90
push ecx
mov ecx, esi
call fcn.00435420
push str.crossDomainRequest_beginthreadex_error
lea ecx, [ebp - 0x1c]
call fcn.0042d500
push str.CDispatcherHandler::CrossDomainRequest
push str._s__beginthreadex_error
push 3
push 5
call fcn.00458400
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 0x436dcb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x436dcb
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 0x436d7a
push 0x1e
push str.crossDomainRequest_url_missing
lea ecx, [ebp - 0x1c]
call fcn.0042ee80
push str.CDispatcherHandler::CrossDomainRequest
push str._s_url_error
push 3
push 5
call fcn.00458400
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 0x436de9
call fcn.0042ed30
mov dword [ebx + 8], eax
call fcn.00469dac
push eax
push str.CDispatcherHandler::CrossDomainRequest
push str._s_OUT_time___d_
push 0
push 5
call fcn.00458400
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 0x436e26
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 0x436e44
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 0x436e60
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.0045f48f
mov esp, ebp
pop ebp
ret 8