Function at 0x150a9810
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x151047d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x10028]
mov dword [ebp - 0x38], esi
test esi, esi
je 0x150a9852
push dword [esi]
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
rdtsc
sub dword [ebx + 0x10034], eax
mov edi, dword [sym.imp.kernel32.dll_SetEvent]
cmp dword [ebx], 0
jne 0x150a9899
push dword [0x151b5b14]
call edi
push 0x2710
push dword [0x151b5b10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0x1db
push 0x1511ba2c
push 0x1511bca4
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
cmp dword [ebp + 0x14], 0
jg 0x150a98cf
push dword [0x151b5b14]
call edi
push 0x2710
push dword [0x151b5b10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0x1dc
push 0x1511ba2c
push 0x1511bcb0
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x150a9907
push dword [0x151b5b14]
call edi
push 0x2710
push dword [0x151b5b10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0x1dd
push 0x1511ba2c
push 0x1511bcc0
call sym.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_
add esp, 0xc
inc dword [ebx + 0x10030]
mov dword [ebp - 0x4c], 0x1000000
mov dword [ebp - 0x48], 0
xor edi, edi
mov dword [ebp - 0x24], edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
mov edi, dword [ebx + 0x18]
mov dword [ebp - 0x2c], edi
mov eax, edi
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
cmp eax, dword [edx + 0x1c]
je 0x150a99cb
mov eax, dword [eax + 0x10]
cdq
add dword [ebp - 0x44], eax
adc ebx, edx
mov dword [ebp - 0x40], ebx
test edi, edi
je 0x150a99c0
mov ecx, dword [ebp + 0x18]
lea edx, [ecx - 1]
add edx, dword [edi + 8]
lea eax, [ecx - 1]
not eax
and edx, eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x1c]
cmp ecx, eax
jl 0x150a99bd
cmp ebx, dword [ebp - 0x48]
jg 0x150a99a6
mov ecx, dword [ebp - 0x44]
jl 0x150a998b
cmp ecx, dword [ebp - 0x4c]
jae 0x150a99a6
mov al, byte [edi + 0xe]
mov edx, dword [ebp - 0x1c]
cmp al, byte [edx + 0xe]
jne 0x150a99a6
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x24], edi
mov ecx, edx
mov dword [ebp - 0x14], ecx
jmp 0x150a99a9
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x10]
cdq
sub dword [ebp - 0x44], eax
sbb ebx, edx
mov dword [ebp - 0x40], ebx
mov edi, dword [edi + 0x14]
mov dword [ebp - 0x2c], edi
jmp 0x150a9953
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
jmp 0x150a9938
mov edi, dword [ebp - 0x24]
test edi, edi
jne 0x150a9a4c
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
je 0x150a9a10
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx + 8]
sub ecx, dword [eax + 8]
add dword [ebp - 0x20], ecx
cmp dword [eax + 0x10], 0x1000000
jl 0x150a9a08
inc ebx
mov dword [ebp - 0x30], ebx
add edx, ecx
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x150a99e5
push dword [sym.Core.dll_class_FOutputDevice__GLog]
push 0x1511bcc8
call sym.Core.dll_public:_int___thiscall_FMemCache::Exec_wchar_t_const___class_FOutputDevice__
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0x1511bce0
push dword [sym.Core.dll_class_FOutputDeviceError__GError]
call sym.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__
add esp, 0x28
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov ebx, dword [ebp - 0x18]
je 0x150a9a70
push ecx
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::UpdateMaxCachedTime_class_FMemCache::FCacheItem__
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
push dword [ecx]
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::Unhash_unsigned_long_long_unsigned___int64__
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
je 0x150a9aac
mov edx, dword [ecx + 0x18]
mov eax, dword [edx]
or eax, dword [edx + 4]
je 0x150a9a9b
push edx
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::UpdateMaxCachedTime_class_FMemCache::FCacheItem__
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
push dword [eax + 4]
push dword [eax]
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::Unhash_unsigned_long_long_unsigned___int64__
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0x18]
mov ecx, ebx
call sym.Core.dll_private:_class_FMemCache::FCacheItem____thiscall_FMemCache::MergeWithNext_class_FMemCache::FCacheItem__
mov ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x150a9a70
mov edx, dword [edi + 8]
mov ecx, dword [ebp + 0x18]
dec edx
add edx, ecx
lea eax, [ecx - 1]
not eax
and edx, eax
mov dword [ebp + 0x18], edx
mov ax, word [ebx + 4]
mov word [edi + 0xc], ax
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, 0xffffff
cmp dword [ebp + 0x14], eax
cmovle eax, dword [ebp + 0x14]
add eax, 0x1000000
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 0xc
xor ecx, eax
shr ecx, 0xc
xor ecx, eax
and ecx, 0x3fff
mov eax, dword [ebx + ecx*4 + 0x24]
mov dword [edi + 0x1c], eax
mov dword [ebx + ecx*4 + 0x24], edi
cmp dword [ebx + 0x20], 0
je 0x150a9b76
mov ecx, dword [ebp + 0x14]
add ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp + 0x14], eax
cmp ecx, eax
jae 0x150a9b35
movzx eax, byte [edi + 0xe]
push eax
push dword [edi + 0x14]
push edi
push dword [ebp + 0x14]
push ecx
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::CreateNewFreeSpace_unsigned_char___unsigned_char___class_FMemCache::FCacheItem___class_FMemCache::FCacheItem___int_
mov edx, dword [ebp + 0x18]
cmp dword [ebx + 0x20], 0
je 0x150a9b76
mov eax, edx
sub eax, dword [edi + 8]
cmp eax, 0x100
jl 0x150a9b76
push 0x1511bd80
push dword [sym.Core.dll_class_FOutputDeviceError__GError]
call sym.Core.dll_public:_void___cdecl_FOutputDevice::Logf_wchar_t_const__
add esp, 8
movzx eax, byte [edi + 0xe]
push eax
push edi
push dword [edi + 0x18]
push dword [ebp + 0x18]
push dword [edi + 8]
mov ecx, ebx
call sym.Core.dll_private:_void___thiscall_FMemCache::CreateNewFreeSpace_unsigned_char___unsigned_char___class_FMemCache::FCacheItem___class_FMemCache::FCacheItem___int_
mov eax, dword [ebp + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
mov dword [ebx + 0x10], edi
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
sub eax, dword [edi + 8]
add dword [ebx + 0x1005c], eax
rdtsc
add eax, 0xfffffff4
add dword [ebx + 0x10034], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x150a9bb4
push dword [esi]
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18