Function at 0x100cc2e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [0x101d2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
call sym.nss3.dll_PR_NewLock
mov dword [0x101d4cb0], eax
push str.NSPR_LOG_MODULES
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
jne 0x100cc320
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [eax], 0
mov esi, eax
je 0x100cc30e
xor ebx, ebx
mov dword [ebp - 0x60], 0x4000
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov edi, eax
mov dword [ebp - 0x64], 0
cmp ebx, edi
jge 0x100cc3ae
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x58], 0
lea eax, [esi + ebx]
push ecx
lea edx, [ebp - 0x54]
push edx
push ecx
lea ecx, [ebp - 0x50]
push ecx
push str._63_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789____n:_d_n
push eax
call fcn.100cc520
add esp, 0x18
test eax, eax
je 0x100cc3ae
add ebx, dword [ebp - 0x58]
push 0x101b3c68
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100cc3f6
jmp 0x100cc3ee
lea ecx, [ebp - 0x58]
lea eax, [esi + ebx]
push ecx
push str.____n
push eax
call fcn.100cc520
add esp, 0xc
add ebx, dword [ebp - 0x58]
cmp eax, 0xffffffff
jne 0x100cc342
xor eax, eax
cmp dword [ebp - 0x64], 0
cmove eax, dword [ebp - 0x60]
push eax
call sym.nss3.dll_PR_SetLogBuffering
add esp, 4
push str.NSPR_LOG_FILE
call sym.nss3.dll_PR_GetEnv
add esp, 4
test eax, eax
je 0x100cc3d9
cmp byte [eax], 0
mov esi, eax
jne 0x100cc444
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
mov dword [0x101d4cc0], eax
jmp 0x100cc30e
xor eax, eax
inc eax
mov dword [ebp - 0x64], eax
jmp 0x100cc391
push str.bufsize
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100cc422
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x60]
cmp eax, 0x1ff
cmovg ecx, eax
mov dword [ebp - 0x60], ecx
jmp 0x100cc391
push 0x101af7d1
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100cc483
mov byte [0x101d4cb4], 1
jmp 0x100cc391
push esi
call sym.nss3.dll_PR_SetLogFile
add esp, 4
test eax, eax
jne 0x100cc30e
push esi
push str.Unable_to_create_nspr_log_file__s_n
call sym.nss3.dll_PR_smprintf
add esp, 8
test eax, eax
je 0x100cc30e
mov esi, eax
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100cc30e
push str.append
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100cc4a5
mov byte [0x101d4cb8], 1
jmp 0x100cc391
mov eax, dword [0x101d4cbc]
mov dword [ebp - 0x5c], eax
push 0x101b0aa3
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], eax
je 0x100cc391
cmp dword [ebp - 0x68], 0
jne 0x100cc4ed
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
test eax, eax
mov dword [ebp - 0x5c], eax
jne 0x100cc4cc
jmp 0x100cc391
mov eax, dword [ebp - 0x5c]
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x100cc4db
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
jmp 0x100cc391