Function at 0x53ac30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x24
mov eax, dword [0x880360]
test eax, eax
je 0x53af10
mov dword [esp], ebx
call eax
xor edx, edx
xor eax, eax
sub esp, 4
mov dword [eax + 0x880280], edx
add eax, 4
cmp eax, 0x20
jb 0x53ac54
lea edi, [ebp - 0x10]
mov esi, dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x8802a4], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x5372e0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x18
mov dword [ebp - 0x14], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x536c60
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 0x18
mov dword [ebp - 0x18], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x5385a0
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
mov ebx, dword [sym.imp.kernel32.dll_Sleep]
mov dword [0x8802a4], 1
sub esp, 0x18
mov esi, eax
lea esi, [esi]
mov dword [esp], 5
call ebx
sub esp, 4
cmp dword [0x8802a4], 0x1e
jle 0x53ad18
mov dword [esp + 4], 0x64
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0x64
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp + 4], 0x64
mov dword [esp], esi
call ebx
sub esp, 8
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x977
mov eax, dword [0x880280]
mov dword [esp + 4], str.thread_commands_were_executed_in_the_wrong_order__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x97b
mov eax, dword [0x880284]
mov dword [esp + 4], str.AcquireSRWLockExclusive_didnt_block_when_called_multiple_times_from_the_same_thread__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x97f
mov eax, dword [0x880288]
mov dword [esp + 4], str.AcquireSRWLockShared_didnt_block_when_the_same_thread_holds_an_exclusive_lock__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x983
mov eax, dword [0x88028c]
mov dword [esp + 4], str.AcquireSRWLockExclusive_didnt_block_when_the_same_thread_holds_a_shared_lock__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x987
mov eax, dword [0x880290]
mov dword [esp + 4], str.AcquireSRWLockExclusive_didnt_block_when_a_second_thread_holds_the_exclusive_lock__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x98b
mov eax, dword [0x880294]
mov dword [esp + 4], str.thread_waiting_for_exclusive_access_to_the_SHMLock_was_not_preferred__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x98f
mov eax, dword [0x880298]
mov dword [esp + 4], str.TryAcquireSRWLockExclusive_didnt_behave_as_expected__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
call fcn.0057d110
mov dword [eax], 0x5f5ef4
mov dword [eax + 4], 0x993
mov eax, dword [0x88029c]
mov dword [esp + 4], str.TryAcquireSRWLockShared_didnt_behave_as_expected__occurred__ld_times_._n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00538680
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x963
call fcn.00537ed0
mov dword [esp], str.no_srw_lock_support._n
call fcn.00538570
jmp 0x53af01