Function at 0x612fa0
Capabilities:
Print debug messages

Disassembly:
push esi
sub esp, 0x6c
test ecx, ecx
je 0x612fbe
mov esi, ecx
push ecx
call fcn.00683dd0
add esp, 4
cmp eax, 1
je 0x612fc3
mov dword [esi], 0xffffffff
add esp, 0x6c
pop esi
ret
movups xmm0, xmmword [0x6e98c6]
movups xmmword [esp + 0x5b], xmm0
movups xmm0, xmmword [0x6e98bb]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [0x6e98ab]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [0x6e989b]
movups xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [0x6e988b]
movups xmmword [esp + 0x20], xmm0
movups xmm0, xmmword [0x6e987b]
movups xmmword [esp + 0x10], xmm0
movups xmm0, xmmword [str.Error_cleaning_up_spin_keys_for_thread]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x27]
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0xc
mov eax, 0x27
nop word cs:[eax + eax]
mov ecx, eax
inc eax
cmp ecx, 0x69
ja 0x61304e
cmp byte [esp + ecx], 0
jne 0x613040
cmp ecx, 0x69
ja 0x61305a
mov word [esp + eax - 1], 0xa
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
nop dword [eax + eax]
push ebx
push edi
push esi
sub esp, 0x70
mov ebx, dword [esp + 0x80]
mov esi, 3
test ebx, ebx
je 0x6130ec
push 0x714e98
call fcn.00683900
add esp, 4
mov eax, dword [0x715228]
test eax, eax
je 0x6130df
cmp eax, 1
jne 0x6130ad
mov eax, dword [0x71522c]
cmp dword [eax + 4], ebx
jne 0x6130df
jmp 0x6130f8
dec eax
xor edx, edx
mov ecx, dword [0x71522c]
jmp 0x6130c7
inc edi
mov edx, edi
cmp edx, eax
ja 0x6130df
lea edi, [edx + eax]
shr edi, 1
cmp dword [ecx + edi*8 + 4], ebx
je 0x6130f5
jbe 0x6130c0
cmp edi, edx
je 0x6130df
dec edi
mov eax, edi
cmp edx, eax
jbe 0x6130c7
push 0x714e98
call fcn.00683a70
add esp, 4
mov eax, esi
add esp, 0x70
pop esi
pop edi
pop ebx
ret
lea eax, [ecx + edi*8]
mov edi, dword [eax]
push 0x714e98
call fcn.00683a70
add esp, 4
test edi, edi
je 0x6130ec
mov eax, dword [edi + 0x14]
test eax, eax
je 0x6130ec
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x6130ec
mov esi, 0x16
test byte [edi + 0x24], 4
jne 0x6130ec
call fcn.00611450
test eax, eax
je 0x61313c
mov eax, dword [eax + 0xb4]
jmp 0x61313e
xor eax, eax
mov esi, 0x24
cmp eax, ebx
je 0x6130ec
cmp dword [edi + 0x68], 0
mov eax, dword [edi + 0x14]
je 0x613158
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x613164
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x14]
mov esi, dword [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x613180
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x18], 0
test esi, esi
je 0x613190
mov eax, dword [edi + 4]
mov dword [esi], eax
lea eax, [edi + 0x1c]
push eax
call fcn.00683c00
add esp, 4
lea eax, [edi + 0x38]
push eax
call fcn.00683dd0
add esp, 4
cmp eax, 1
je 0x6131c2
mov dword [edi + 0x38], 0xffffffff
mov ecx, edi
call fcn.00612040
xor esi, esi
jmp 0x6130ec
movups xmm0, xmmword [0x6e98c6]
movups xmmword [esp + 0x5f], xmm0
movups xmm0, xmmword [0x6e98bb]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [0x6e98ab]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [0x6e989b]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [0x6e988b]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [0x6e987b]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [str.Error_cleaning_up_spin_keys_for_thread]
movups xmmword [esp + 4], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x2b]
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0xc
mov eax, 0x27
mov ecx, eax
inc eax
cmp ecx, 0x69
ja 0x613241
cmp byte [esp + ecx + 4], 0
jne 0x613232
cmp ecx, 0x69
ja 0x61324d
mov word [esp + eax + 3], 0xa
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
nop dword [eax]
push ebx
push edi
push esi
sub esp, 0x70
push 0x714e98
call fcn.00683900
add esp, 4
mov esi, 3
mov eax, dword [0x715228]
test eax, eax
je 0x613387
mov ebx, dword [esp + 0x80]
cmp eax, 1
jne 0x6132a0
mov eax, dword [0x71522c]
cmp dword [eax + 4], ebx
je 0x6132d8
jmp 0x613387
dec eax
xor edx, edx
mov ecx, dword [0x71522c]
jmp 0x6132bb
inc edi
mov edx, edi
cmp edx, eax
ja 0x613387
lea edi, [edx + eax]
shr edi, 1
cmp dword [ecx + edi*8 + 4], ebx
je 0x6132d5
jbe 0x6132b0
cmp edi, edx
je 0x613387
dec edi
mov eax, edi
jmp 0x6132b3
lea eax, [ecx + edi*8]
mov edi, dword [eax]
test edi, edi
je 0x613387
mov eax, dword [edi + 0x14]
test eax, eax
je 0x613387
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x613387
mov esi, 0x16
test byte [edi + 0x24], 4
jne 0x613387
call fcn.00611450
test eax, eax
je 0x61331b
mov eax, dword [eax + 0xb4]
jmp 0x61331d
xor eax, eax
mov esi, 0x24
cmp eax, ebx
je 0x613387
cmp dword [edi + 0x68], 0
je 0x61339d
mov esi, dword [esp + 0x84]
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x61334a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x18], 0
test esi, esi
je 0x61335a
mov eax, dword [edi + 4]
mov dword [esi], eax
lea eax, [edi + 0x1c]
push eax
call fcn.00683c00
add esp, 4
lea eax, [edi + 0x38]
push eax
call fcn.00683dd0
add esp, 4
cmp eax, 1
je 0x6133bd
mov dword [edi + 0x38], 0xffffffff
mov ecx, edi
call fcn.00612040
xor esi, esi
push 0x714e98
call fcn.00683a70
add esp, 4
mov eax, esi
add esp, 0x70
pop esi
pop edi
pop ebx
ret
push 0
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x61332c
cmp dword [edi + 0x68], 0
jne 0x61332c
mov esi, 0x10
jmp 0x613387
movups xmm0, xmmword [0x6e98c6]
movups xmmword [esp + 0x5f], xmm0
movups xmm0, xmmword [0x6e98bb]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [0x6e98ab]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [0x6e989b]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [0x6e988b]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [0x6e987b]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [str.Error_cleaning_up_spin_keys_for_thread]
movups xmmword [esp + 4], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x2b]
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0xc
mov eax, 0x27
mov ecx, eax
inc eax
cmp ecx, 0x69
ja 0x61343c
cmp byte [esp + ecx + 4], 0
jne 0x61342d
cmp ecx, 0x69
ja 0x613448
mov word [esp + eax + 3], 0xa
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
nop dword [eax + eax]
push ebx
push edi
push esi
sub esp, 0x70
mov ebx, dword [esp + 0x80]
push 0x714e98
call fcn.00683900
add esp, 4
mov esi, 3
test ebx, ebx
je 0x61357e
xor edi, edi
mov eax, dword [0x715228]
test eax, eax
je 0x6134d8
cmp eax, 1
jne 0x6134a3
mov eax, dword [0x71522c]
cmp dword [eax + 4], ebx
je 0x6134d6
jmp 0x6134d8
dec eax
xor edx, edx
mov ecx, dword [0x71522c]
jmp 0x6134b7
inc edi
mov edx, edi
cmp edx, eax
ja 0x6134cf
lea edi, [edx + eax]
shr edi, 1
cmp dword [ecx + edi*8 + 4], ebx
je 0x6134d3
jbe 0x6134b0
cmp edi, edx
je 0x6134cf
dec edi
mov eax, edi
cmp edx, eax
jbe 0x6134b7
xor edi, edi
jmp 0x6134d8
lea eax, [ecx + edi*8]
mov edi, dword [eax]
push 0x714e98
call fcn.00683a70
add esp, 4
push 0x714e98
call fcn.00683900
add esp, 4
test edi, edi
je 0x61357e
mov eax, dword [edi + 0x14]
test eax, eax
je 0x61357e
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetHandleInformation]
test eax, eax
je 0x61357e
mov eax, dword [edi + 0x24]
mov esi, 0x16
test al, 4
jne 0x61357e
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], 0
or eax, 4
mov dword [edi + 0x24], eax
xor esi, esi
test ecx, ecx
je 0x61357e
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x68], 0
je 0x61357e
mov eax, dword [edi + 0x18]
test eax, eax
je 0x61354c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x18], 0
lea eax, [edi + 0x1c]
push eax
call fcn.00683c00
add esp, 4
lea eax, [edi + 0x38]
push eax
call fcn.00683dd0
add esp, 4
cmp eax, 1
je 0x613594
mov dword [edi + 0x38], 0xffffffff
mov ecx, edi
call fcn.00612040
push 0x714e98
call fcn.00683a70
add esp, 4
mov eax, esi
add esp, 0x70
pop esi
pop edi
pop ebx
ret
movups xmm0, xmmword [0x6e98c6]
movups xmmword [esp + 0x5f], xmm0
movups xmm0, xmmword [0x6e98bb]
movups xmmword [esp + 0x54], xmm0
movups xmm0, xmmword [0x6e98ab]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [0x6e989b]
movups xmmword [esp + 0x34], xmm0
movups xmm0, xmmword [0x6e988b]
movups xmmword [esp + 0x24], xmm0
movups xmm0, xmmword [0x6e987b]
movups xmmword [esp + 0x14], xmm0
movups xmm0, xmmword [str.Error_cleaning_up_spin_keys_for_thread]
movups xmmword [esp + 4], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x2b]
push 0xa
push ecx
push eax
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0xc
mov eax, 0x27
mov ecx, eax
inc eax
cmp ecx, 0x69
ja 0x613613
cmp byte [esp + ecx + 4], 0
jne 0x613604
cmp ecx, 0x69
ja 0x61361f
mov word [esp + eax + 3], 0xa
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
nop
mov eax, dword [0x715224]
ret