Function at 0x1001c825
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
push ebx
push esi
push edi
push str.Async:
lea ecx, [ebp - 0x14]
call fcn.10001b63
push str.Started
lea ecx, [ebp - 0x10]
call fcn.10001b63
push str.crossDomainPostAjaxRequest
lea ecx, [ebp - 0xc]
call fcn.10001b63
mov eax, dword [0x1006a014]
push dword [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1006d2b4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10020985
add esp, 0xc
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10020985
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x14]
add esp, 0xc
push 0
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10001ca4
lea ecx, [ebp - 0x18]
call fcn.10001270
lea ecx, [ebp - 0x1c]
call fcn.10001270
lea ecx, [ebp - 0x20]
call fcn.10001270
lea ecx, [ebp - 0x24]
call fcn.10001270
lea ecx, [ebp - 8]
call fcn.10001270
lea ecx, [ebp - 0x28]
call fcn.10001270
lea ecx, [ebp - 0xc]
call fcn.10001270
lea ecx, [ebp - 0x10]
call fcn.10001270
lea ecx, [ebp - 0x14]
call fcn.10001270
push dword [ebp + 0x1c]
lea eax, [ebp + 0x1c]
push eax
call fcn.100206ee
mov eax, dword [eax]
push str.true
push eax
call fcn.10024667
add esp, 0x10
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
lea ecx, [ebp + 0x1c]
mov byte [ebp + 8], bl
call fcn.10001270
push 0x34
call fcn.1002536f
mov edi, eax
pop ecx
test edi, edi
je 0x1001c9b3
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 4], 0x1f
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [esi + 0x64]
lea eax, [esi + 0x18]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x24]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.100206ee
pop ecx
pop ecx
push eax
push dword [ebp + 8]
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.1001bc25
push eax
mov ecx, edi
call fcn.10015daa
mov esi, eax
jmp 0x1001c9b5
xor esi, esi
test byte [ebp - 4], 0x10
je 0x1001c9c7
and dword [ebp - 4], 0xffffffef
lea ecx, [ebp + 0x1c]
call fcn.10001270
test byte [ebp - 4], 8
je 0x1001c9d9
and dword [ebp - 4], 0xfffffff7
lea ecx, [ebp - 0x28]
call fcn.10001270
test byte [ebp - 4], 4
je 0x1001c9eb
and dword [ebp - 4], 0xfffffffb
lea ecx, [ebp - 0x24]
call fcn.10001270
test byte [ebp - 4], 2
je 0x1001c9fd
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.10001270
test byte [ebp - 4], 1
je 0x1001ca0b
lea ecx, [ebp - 0x1c]
call fcn.10001270
test bl, bl
je 0x1001ca30
xor eax, eax
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x10016b0d
push eax
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1001ca69
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x1001ca69
push esi
call fcn.100165bf
mov esi, eax
pop ecx
test esi, esi
je 0x1001ca69
push ecx
lea eax, [esi + 0x14]
mov ecx, esp
mov dword [ebp + 0x1c], esp
push eax
call fcn.10001b2d
call fcn.1002078c
pop ecx
mov ecx, esi
mov dword [edi], eax
call fcn.1001552a
push esi
call fcn.10024395
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x1c