Function at 0x1000b67e
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.10001052
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x10014684
lea ecx, [ebp + 8]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000362d
push str.nss3.dll
lea ecx, [ebp - 0x24]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000362d
push str.msvcr120.dll
lea ecx, [ebp - 0x10]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.1000362d
push str.msvcp120.dll
lea ecx, [ebp - 0xc]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.1000362d
push str.mozglue.dll
lea ecx, [ebp - 0x20]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.1000362d
push str.softokn3.dll
lea ecx, [ebp - 0x1c]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000362d
push str.msvcp
lea ecx, [ebp - 0x18]
call fcn.1000346a
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000362d
push str.msvcr
lea ecx, [ebp - 0x14]
call fcn.1000346a
push 0x5a
pop esi
mov dword [ebp - 8], esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
call fcn.1000362d
push 0x10015788
push dword [ebp - 8]
lea ecx, [ebp - 4]
call fcn.10003272
mov ecx, eax
call fcn.1000346a
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000b7c7
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 0xa
call fcn.10005ea5
cmp dword [ebp - 8], 0x96
mov dword [ebp - 4], ebx
jne 0x1000b77d
jmp 0x1000b7db
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.10003437
mov ecx, dword [ebp - 4]
call fcn.10005ea5
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.1000362d
push 0x10015788
push esi
lea ecx, [ebp - 4]
call fcn.10003272
mov ecx, eax
call fcn.1000346a
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000b821
mov ecx, dword [ebp - 4]
add esi, 0xa
call fcn.10005ea5
mov dword [ebp - 4], ebx
cmp esi, 0x96
jne 0x1000b7db
jmp 0x1000b835
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.10003437
mov ecx, dword [ebp - 4]
call fcn.10005ea5
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call esi
push dword [ebp - 0xc]
mov dword [edi + 0xa8], eax
call esi
push dword [ebp - 0x20]
mov dword [edi + 0xac], eax
call esi
push dword [ebp - 0x24]
mov dword [edi + 0xb0], eax
call esi
push dword [ebp - 0x1c]
mov dword [edi + 0xb4], eax
call esi
mov dword [edi + 0xb8], eax
cmp dword [edi + 0xac], ebx
je 0x1000b960
cmp dword [edi + 0xb0], ebx
je 0x1000b960
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x1000b960
test eax, eax
je 0x1000b960
push ecx
mov edx, str.NSS_Init
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PK11_GetInternalKeySlot
mov dword [edi + 0x68], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PK11_Authenticate
mov dword [edi + 0x80], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PK11SDR_Decrypt
mov dword [edi + 0x7c], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.NSSBase64_DecodeBuffer
mov dword [edi + 0x70], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PK11_CheckUserPassword
mov dword [edi + 0x74], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.NSS_Shutdown
mov dword [edi + 0x78], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PK11_FreeSlot
mov dword [edi + 0x6c], eax
call fcn.10010969
mov ecx, dword [edi + 0xb4]
mov edx, str.PR_GetError
mov dword [edi + 0x84], eax
call fcn.10010969
mov dword [edi + 0x88], eax
lea eax, [ebp - 0x22c]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x14]
call fcn.10005ea5
mov ecx, dword [ebp - 0x18]
call fcn.10005ea5
mov ecx, dword [ebp - 0x1c]
call fcn.10005ea5
mov ecx, dword [ebp - 0x20]
call fcn.10005ea5
mov ecx, dword [ebp - 0xc]
call fcn.10005ea5
mov ecx, dword [ebp - 0x10]
call fcn.10005ea5
mov ecx, dword [ebp - 0x24]
call fcn.10005ea5
mov ecx, dword [ebp + 8]
call fcn.10005ea5
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4