Function at 0x10395710
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10422aeb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x104c5878]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.AppleIDIncubator.0
mov dword [ebp - 4], 0x15
cmp dword [ebx + 0x20], 0
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10395774
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10395774
push 0xffffffffffffffff
push eax
call esi
push dword [ebx + 0x20]
call edi
mov dword [ebx + 0x20], 0
cmp dword [ebx + 0x40], 0
je 0x10395792
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x10395792
push 0xffffffffffffffff
push eax
call esi
push dword [ebx + 0x40]
call edi
mov dword [ebx + 0x40], 0
mov byte [ebp - 4], 0x14
lea ecx, [ebx + 0x1dc]
call fcn.1036f7d0
mov byte [ebp - 4], 0x13
lea eax, [ebx + 0x1c0]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push eax
call edi
mov byte [ebp - 4], 0x12
lea esi, [ebx + 0x19c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.10309b30
mov byte [ebp - 4], 0x12
push 0x18
push dword [esi]
call fcn.103b6ca6
add esp, 8
mov byte [ebp - 4], 0x11
lea esi, [ebx + 0x194]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x19
mov ecx, esi
call fcn.10309b30
mov byte [ebp - 4], 0x11
push 0x18
push dword [esi]
call fcn.103b6ca6
add esp, 8
mov byte [ebp - 4], 0x10
lea esi, [ebx + 0x18c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x1b
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.103a4350
mov byte [ebp - 4], 0x10
push 0x50
push dword [esi]
call fcn.103b6ca6
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebx + 0x180]
call fcn.10367720
mov dword [ebx + 0x180], 0
mov byte [ebp - 4], 0xe
mov ecx, dword [ebx + 0x174]
call fcn.10367720
mov dword [ebx + 0x174], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebx + 0x168]
call fcn.10367720
mov dword [ebx + 0x168], 0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebx + 0x15c]
call fcn.10367720
mov dword [ebx + 0x15c], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebx + 0x150]
call fcn.10367720
mov dword [ebx + 0x150], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebx + 0x144]
call fcn.10367720
mov dword [ebx + 0x144], 0
mov byte [ebp - 4], 9
mov ecx, dword [ebx + 0x138]
call fcn.10367720
mov dword [ebx + 0x138], 0
mov byte [ebp - 4], 8
mov ecx, dword [ebx + 0x12c]
call fcn.10367720
mov dword [ebx + 0x12c], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebx + 0x120]
call fcn.10367720
mov dword [ebx + 0x120], 0
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 0x114]
call fcn.10367720
mov dword [ebx + 0x114], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebx + 0x108]
call fcn.10367720
mov dword [ebx + 0x108], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x9c]
call fcn.10367720
mov dword [ebx + 0x9c], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x90]
call fcn.10367720
mov dword [ebx + 0x90], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x84]
call fcn.10367720
mov dword [ebx + 0x84], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x78]
call fcn.10367720
mov dword [ebx + 0x78], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x6c]
call fcn.10367720
mov dword [ebx + 0x6c], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x54]
push eax
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret