Function at 0x10110d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x10dc
call fcn.10157e10
mov edi, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [edi + 0x78]
mov dword [ebp - 0x10bc], eax
test eax, eax
je 0x10111341
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10110d8f
test eax, eax
jne 0x10111341
mov esi, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov eax, esi
or eax, ecx
je 0x10110daf
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x10c8], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x10c4], eax
jmp 0x10110dcf
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [ebp - 0x10c8], eax
mov esi, eax
mov dword [ebp - 0x10c4], ecx
imul eax, dword [0x101f5f24], 0xf4240
mov dword [ebp - 0x10e8], esi
add eax, esi
mov dword [ebp - 0x10e4], ecx
adc ecx, 0
mov dword [ebp - 0x10e0], eax
mov dword [edi + 0x58], eax
mov dword [ebp - 0x10dc], ecx
mov dword [edi + 0x5c], ecx
movzx eax, word [edi + 0x4a]
mov word [ebp - 0x10be], ax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x10d8], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x10d4], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x10d0], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x10cc], eax
mov esi, dword [edi + 0x60]
lea ebx, [ebp - 0x10b0]
mov word [ebx + 0x20], si
movzx eax, word [edi + 0x64]
mov word [ebx + 0x22], ax
movzx eax, word [edi + 0x68]
mov word [ebx + 0x24], ax
movzx eax, word [edi + 0x6c]
mov word [ebx + 0x26], ax
mov eax, dword [edi + 0x70]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x74]
mov dword [ebx + 0x28], eax
movzx eax, word [edi + 0x9a]
mov word [ebx + 0x30], ax
movups xmm0, xmmword [edi + 0x9d]
movups xmm1, xmmword [edi + 0xad]
movups xmmword [ebx + 0x32], xmm0
movups xmmword [ebx + 0x42], xmm1
movups xmm0, xmmword [edi + 0xbd]
movups xmmword [ebx + 0x52], xmm0
mov eax, dword [edi + 0xcc]
mov dword [ebx + 0x61], eax
mov eax, dword [edi + 0xd0]
mov dword [ebx + 0x68], eax
xor eax, eax
dec eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], eax
lea eax, [edi + 0x79]
push dword [ebp - 0x10bc]
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebx + 0x94], 0
mov edx, edi
add esi, 0xfffffffc
cmp esi, 2
ja 0x10110ed6
mov eax, dword [edx + 0x2c]
movzx eax, word [eax]
mov word [ebp - 0x101c], ax
mov esi, dword [edx + 0xf4]
xor ebx, ebx
test esi, esi
je 0x10111044
mov edi, dword [edx + 0xf0]
test edi, edi
je 0x10111044
mov eax, 0xfffffbff
lea ecx, [esi + eax]
cmp ecx, eax
ja 0x10110f16
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
jmp 0x10111041
lea eax, [edx + 0xec]
mov dword [ebp - 0x10b8], eax
movzx eax, word [edx + 0xec]
lea ecx, [ebp - 0x1008]
mov word [ecx - 4], ax
mov word [ecx - 2], si
push esi
push edi
push ecx
mov ebx, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xbfc]
push esi
push edi
push eax
push 4
call sym.nss3.dll_HASH_HashBuf
add esp, 0x10
push dword [ebp - 0x10b8]
call fcn.100dbd50
add esp, 4
mov dword [ebp - 0x10b4], eax
mov al, byte [ebx + 0xec]
mov ecx, dword [ebx + 0xf4]
and ecx, 3
xor byte [ebp + ecx - 0x10b4], al
mov esi, dword [ebp - 0x10b4]
mov edi, dword [0x101f5f44]
lea eax, [edi + 4]
push eax
call fcn.1010d140
add esp, 4
xor ebx, ebx
test eax, eax
jne 0x10111041
mov dword [ebp - 0x10b8], esi
call sym.nss3.dll_PR_Now
push 0
push 0xf4240
push edx
push eax
call fcn.10157c20
xor ebx, ebx
mov esi, eax
mov dword [edi], eax
mov eax, dword [0x101f5f84]
mov dword [edi + 0xc], eax
test esi, esi
je 0x10111041
mov ecx, dword [0x101f5f1c]
test ecx, ecx
je 0x10111027
mov eax, dword [ebp - 0x10b8]
xor edx, edx
div ecx
mov edi, edx
imul eax, edx, 0x430
add eax, dword [0x101f5f68]
mov ecx, 0x430
lea edx, [ebp - 0x100c]
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x1040], edi
lea eax, [ebp - 0xbfc]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [ebp - 0x103c], xmm0
movups xmmword [ebp - 0x102c], xmm1
mov eax, dword [0x101f5f44]
mov dword [eax + 0xc], 0
add eax, 4
push eax
call fcn.1010d0e0
add esp, 4
mov ebx, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10111166
mov esi, dword [eax + 0x44]
lea ecx, [esi - 0xfdd]
cmp ecx, 0xfffff024
jb 0x10111155
mov edi, dword [eax + 0x40]
test edi, edi
je 0x10111155
lea ecx, [ebp - 0x100c]
push dword [ebp - 0x10bc]
lea eax, [ebp - 0x10b0]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xfec]
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, dword [0x101f5f40]
lea eax, [edi + 4]
push eax
call fcn.1010d140
add esp, 4
xor ebx, ebx
test eax, eax
jne 0x10111166
call sym.nss3.dll_PR_Now
push 0
push 0xf4240
push edx
push eax
call fcn.10157c20
mov dword [edi], eax
mov ecx, dword [0x101f5f84]
mov dword [edi + 0xc], ecx
test eax, eax
je 0x10111166
mov ebx, dword [0x101f5f70]
mov edi, dword [ebx + 0x38]
mov edx, dword [0x101f5f50]
mov dword [ebp - 0x10b8], eax
mov ecx, edi
shl ecx, 0xc
lea eax, [edx + ecx]
add eax, 4
mov word [eax - 4], si
mov ecx, dword [ebp - 0x10bc]
mov word [eax - 2], cx
push 0xffc
lea ecx, [ebp - 0x100c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x1044], edi
inc edi
mov eax, edi
xor edx, edx
div dword [0x101f5f0c]
mov dword [ebx + 0x38], edx
mov eax, dword [0x101f5f40]
mov dword [eax + 0xc], 0
add eax, 4
push eax
call fcn.1010d0e0
add esp, 4
mov ebx, dword [ebp - 0x10b8]
jmp 0x10111166
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
mov eax, dword [ebp - 0x10bc]
cmp eax, 0x20
mov edi, 0x20
cmovb edi, eax
lea eax, [edi - 0x20]
neg eax
xor ecx, ecx
cmp edi, 0x20
cmovae eax, ecx
lea edx, [edi + ebp]
add edx, 0xffffeff4
push eax
push ecx
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x100c]
push edi
lea eax, [ebp - 0x10b0]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esi]
xor ecx, dword [esi + 4]
xor ecx, dword [esi + 8]
xor ecx, dword [esi + 0xc]
xor ecx, dword [esi + 0x10]
xor ecx, dword [esi + 0x14]
xor ecx, dword [esi + 0x18]
xor ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x10d8]
xor eax, dword [ebp - 0x10d4]
xor eax, dword [ebp - 0x10d0]
xor eax, ecx
xor eax, dword [ebp - 0x10cc]
xor edx, edx
div dword [0x101f5efc]
mov eax, edx
mov dword [ebp - 0x10b8], edx
xor edx, edx
div dword [0x101f5ef8]
mov edi, edx
mov esi, dword [0x101f5f38]
shl edi, 4
lea eax, [esi + edi]
add eax, 4
push eax
call fcn.1010d140
add esp, 4
test eax, eax
jne 0x10111341
lea eax, [esi + edi]
test ebx, ebx
je 0x1011122e
mov dword [eax], ebx
mov eax, dword [0x101f5f84]
mov dword [esi + edi + 0xc], eax
jmp 0x10111257
mov ebx, eax
call sym.nss3.dll_PR_Now
push 0
push 0xf4240
push edx
push eax
call fcn.10157c20
mov dword [ebx], eax
mov ecx, dword [0x101f5f84]
mov dword [esi + edi + 0xc], ecx
test eax, eax
je 0x10111341
mov eax, dword [0x101f5f48]
mov edi, dword [ebp - 0x10b8]
mov esi, dword [eax + edi*4]
mov eax, edi
shl eax, 7
add eax, esi
imul eax, eax, 0xd0
mov ecx, dword [0x101f5f4c]
add eax, ecx
add eax, 0x2c
mov ecx, dword [ebp - 0x10d8]
mov dword [eax - 0x2c], ecx
mov ecx, dword [ebp - 0x10d4]
mov dword [eax - 0x28], ecx
mov ecx, dword [ebp - 0x10d0]
mov dword [eax - 0x24], ecx
mov ecx, dword [ebp - 0x10cc]
mov dword [eax - 0x20], ecx
mov ecx, dword [ebp - 0x10e4]
mov dword [eax - 0x18], ecx
mov ecx, dword [ebp - 0x10e8]
mov dword [eax - 0x1c], ecx
mov ecx, dword [ebp - 0x10c4]
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp - 0x10c8]
mov dword [eax - 0x14], ecx
mov ecx, dword [ebp - 0x10dc]
mov dword [eax - 8], ecx
mov ecx, dword [ebp - 0x10e0]
mov dword [eax - 0xc], ecx
movzx ecx, word [ebp - 0x10be]
mov word [eax - 4], cx
mov byte [eax - 2], 1
mov ecx, dword [ebp - 0x10bc]
mov byte [eax - 1], cl
push 0xa4
lea ecx, [ebp - 0x10b0]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
inc esi
and esi, 0x7f
mov eax, dword [0x101f5f48]
mov dword [eax + edi*4], esi
mov eax, edi
xor edx, edx
div dword [0x101f5ef8]
mov eax, dword [0x101f5f38]
shl edx, 4
add eax, edx
add eax, 4
mov dword [eax + 8], 0
push eax
call fcn.1010d0e0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 4], 2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
add esp, 0x10dc
pop esi
pop edi
pop ebx
pop ebp
ret