Function at 0x601bf7c0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 9
ja case.default.0x601bf7cd
jmp dword [eax*4 + 0x601bfa2c]
mov eax, dword [0x601d326c]
push eax
call sym.nspr4.dll_PR_Lock
mov ecx, dword [0x601d3230]
push ecx
call sym.nspr4.dll_PR_Free
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
mov dword [0x601d3234], eax
call fcn.601bf4c0
mov eax, dword [0x601d326c]
push eax
call sym.nspr4.dll_PR_Unlock
mov ecx, dword [0x601d3244]
add esp, 0x10
cmp dword [ecx + 4], 4
jl 0x601bf8a8
mov edx, dword [0x601d3234]
mov dword [esp + 4], str.PRSetTraceOption:_PRTraceBufSize:__ld
mov dword [esp + 8], edx
jmp sym.nspr4.dll_PR_LogPrint
mov eax, dword [esp + 8]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
mov ecx, dword [0x601d3244]
cmp dword [ecx + 4], 4
jl 0x601bf8a8
mov dword [esp + 4], str.PRSetTraceOption:_PRTraceEnable:__p
mov dword [esp + 8], eax
jmp sym.nspr4.dll_PR_LogPrint
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov dword [eax + 0x10], 2
mov ecx, dword [0x601d3244]
cmp dword [ecx + 4], 4
jl 0x601bf8a8
mov dword [esp + 4], str.PRSetTraceOption:_PRTraceDisable:__p
mov dword [esp + 8], eax
jmp sym.nspr4.dll_PR_LogPrint
mov edx, dword [0x601d3244]
mov dword [0x601d22ec], 2
cmp dword [edx + 4], 4
jl 0x601bf8a8
push str.PRSetTraceOption:_PRTraceSuspend
call sym.nspr4.dll_PR_LogPrint
add esp, 4
ret
mov eax, dword [0x601d3244]
mov dword [0x601d22ec], 1
cmp dword [eax + 4], 4
jl 0x601bf8a8
push str.PRSetTraceOption:_PRTraceResume
call sym.nspr4.dll_PR_LogPrint
add esp, 4
ret
mov ecx, dword [0x601d3260]
push ecx
call sym.nspr4.dll_PR_Lock
mov edx, dword [0x601d3264]
mov dword [0x601d323c], 3
push edx
call sym.nspr4.dll_PR_NotifyCondVar
mov eax, dword [0x601d3260]
push eax
call sym.nspr4.dll_PR_Unlock
mov ecx, dword [0x601d3244]
add esp, 0xc
cmp dword [ecx + 4], 4
jl 0x601bf8a8
push str.PRSetTraceOption:_PRTraceSuspendRecording
call sym.nspr4.dll_PR_LogPrint
add esp, 4
ret
mov edx, dword [0x601d3244]
cmp dword [edx + 4], 4
jl 0x601bf92f
push str.PRSetTraceOption:_PRTraceResumeRecording
call sym.nspr4.dll_PR_LogPrint
add esp, 4
cmp dword [0x601d3250], 3
jne 0x601bf8a8
mov eax, dword [0x601d3260]
push eax
call sym.nspr4.dll_PR_Lock
mov ecx, dword [0x601d3264]
mov dword [0x601d323c], 4
push ecx
call sym.nspr4.dll_PR_NotifyCondVar
mov edx, dword [0x601d3260]
push edx
call sym.nspr4.dll_PR_Unlock
add esp, 0xc
ret
mov eax, dword [0x601d3260]
push eax
call sym.nspr4.dll_PR_Lock
mov ecx, dword [0x601d3264]
mov dword [0x601d323c], 5
push ecx
call sym.nspr4.dll_PR_NotifyCondVar
mov edx, dword [0x601d3260]
push edx
call sym.nspr4.dll_PR_Unlock
mov eax, dword [0x601d3244]
add esp, 0xc
cmp dword [eax + 4], 4
jl 0x601bf8a8
push str.PRSetTraceOption:_PRTraceStopRecording
call sym.nspr4.dll_PR_LogPrint
add esp, 4
ret
mov ecx, dword [0x601d3244]
cmp dword [ecx + 4], 4
jl 0x601bf9d3
push str.PRSetTraceOption:_PRTraceLockTraceHandles
call sym.nspr4.dll_PR_LogPrint
add esp, 4
mov edx, dword [0x601d326c]
push edx
call sym.nspr4.dll_PR_Lock
add esp, 4
ret
mov eax, dword [0x601d3244]
cmp dword [eax + 4], 4
jl 0x601bf9fb
push str.PRSetTraceOption:_PRTraceUnLockHandles
call sym.nspr4.dll_PR_LogPrint
add esp, 4
mov ecx, dword [0x601d326c]
push ecx
call sym.nspr4.dll_PR_Lock
add esp, 4
ret
mov edx, dword [0x601d3244]
cmp dword [edx + 4], 2
jl 0x601bf8a8
mov dword [esp + 4], str.PRSetTraceOption:_Invalid_command__ld
mov dword [esp + 8], eax
jmp sym.nspr4.dll_PR_LogPrint