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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x454
mov esi, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x3dc]
test eax, eax
je 0x10104017
xor ebx, ebx
jmp 0x1010402a
cmp dword [esi + 0x3d8], 0
je 0x10104013
cmp dword [esi + 0x3d4], 0
setne bl
cmp dword [esi + 0x544], 0
je 0x1010403c
push 0
push 0xffffe001
jmp 0x10104056
cmp dword [esi + 0x534], 0
je 0x10104078
mov dword [esi + 0x544], fcn.10103ff0
push 0
push 0xffffe892
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, ebx
add esp, 0x454
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi + 0x540], 0
je 0x10104090
test eax, eax
setne cl
or cl, bl
jne 0x10104045
cmp dword [esi + 0x38], 0
jne 0x10104045
test byte [esi + 0x1d], 4
jne 0x101040aa
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
mov eax, dword [esi + 0x3dc]
test eax, eax
mov dword [ebp - 0x45c], ebx
je 0x101040d8
mov dword [esi + 0x3dc], 0
movzx eax, word [esi + 0x58]
cmp eax, 0x303
ja 0x101040e5
push 3
push 0xb
push esi
call fcn.100f6e20
add esp, 0xc
jmp 0x1010411b
test bl, bl
je 0x1010413e
mov ecx, esi
call fcn.10103a10
jmp 0x10104134
mov eax, dword [esi + 0x9a4]
add eax, 4
push eax
push 0xb
push esi
call fcn.100f6e20
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x10104969
push 1
push dword [esi + 0x9a4]
push dword [esi + 0x9a0]
push esi
call fcn.1010c330
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x10104969
xor eax, eax
push 3
push eax
push eax
push esi
call fcn.1010c2b0
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x10104969
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x1010414e
mov dword [esi + 0x7c], 0
jmp 0x10104165
mov ecx, 0xd4
add ecx, dword [esi + 0x78]
call fcn.1008e690
mov edi, eax
test eax, eax
je 0x1010434c
mov eax, dword [esi + 0x48c]
mov eax, dword [eax + 4]
mov dword [esi + 0x8c], eax
push edi
call fcn.1008eda0
add esp, 4
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x48c]
mov eax, dword [eax + 4]
cmp eax, 4
je 0x1010427f
cmp eax, 2
je 0x10104290
cmp eax, 1
jne 0x10104335
mov dword [ebp - 0x450], edi
xor ebx, ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x444], ebx
test byte [esi + 0x1d], 4
jne 0x101041d5
push dword [esi + 0x174]
call fcn.100d4790
add esp, 4
movzx eax, word [esi + 0x58]
mov word [ebp - 0x458], ax
mov eax, dword [esi + 0x3bc]
mov ecx, dword [esi + 0x11c]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 4]
lea edi, [ebp - 0x2c]
mov dword [edi], 0x370
mov dword [edi + 4], 1
mov eax, dword [eax*8 + 0x101c5764]
mov dword [edi + 8], eax
mov dword [ebp - 0x454], ecx
push ecx
push 3
push ebx
push ebx
push edi
call fcn.100cf1d0
add esp, 0x14
mov ebx, eax
test eax, eax
jne 0x10104245
xor eax, eax
push dword [ebp - 0x454]
push 2
push eax
push eax
push edi
call fcn.100cf1d0
add esp, 0x14
mov ebx, eax
test eax, eax
je 0x10104587
mov edx, dword [ebp - 0x454]
cmp dword [esi + 0xa24], 1
movzx eax, word [esi + 0x5a]
jne 0x10104375
add eax, 0xfffffcfe
cmp ax, 2
mov edi, dword [ebp - 0x450]
ja 0x1010437d
cwde
movzx eax, word [eax + eax + 0x101c6084]
jmp 0x10104380
push edi
push esi
call fcn.10104b50
add esp, 8
mov ebx, eax
jmp 0x1010471a
xor eax, eax
mov dword [ebp - 0x43c], eax
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x44c], ecx
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], 0x402
mov dword [ebp - 0x440], 1
cmp dword [edi + 4], 4
jne 0x10104361
movzx eax, word [esi + 0x58]
mov word [ebp - 0x450], ax
lea eax, [edi + 0x20]
lea ecx, [edi + 0x14]
lea edx, [ebp - 0x434]
lea ebx, [ebp - 0x438]
push edx
push ebx
push eax
push ecx
push esi
call fcn.10114c80
add esp, 0x14
test eax, eax
je 0x101043dc
lea eax, [ebp - 0x2c]
mov dword [eax], 0x10002
mov ecx, dword [edi + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [edi + 0x24]
mov dword [eax + 0x14], ecx
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x18], ecx
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x438], 0x101c5ffc
mov ecx, 0x101c5ffc
jmp 0x101043e8
push 0
push 0xffffe001
call sym.nss3.dll_PR_SetError
add esp, 8
push edi
call sym.nss3.dll_SECKEY_DestroyPublicKey
jmp 0x10104356
push 0xffffd043
call fcn.1010c480
add esp, 4
xor ebx, ebx
dec ebx
jmp 0x10104969
push 0
push 0xffffe00e
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x10104717
mov edi, dword [ebp - 0x450]
jmp 0x10104380
xor eax, eax
dec eax
rol ax, 8
lea ecx, [ebp - 0x434]
mov word [ecx], ax
lea eax, [ebp - 0x430]
mov dword [eax + 4], ecx
mov dword [eax + 8], 2
push edx
push 0
push eax
push 0x370
push ebx
call sym.nss3.dll_PK11_KeyGen
add esp, 0x14
lock dec dword [ebx + 0x48]
jne 0x101043c2
push ebx
mov ebx, eax
call fcn.100cb320
mov eax, ebx
add esp, 4
test eax, eax
jne 0x1010459e
push 0xffffd045
call fcn.1010c480
add esp, 4
jmp 0x1010459c
mov ecx, dword [ebp - 0x438]
mov eax, dword [ebp - 0x434]
mov dword [esi + 0x94], ecx
lea edx, [ebp - 0x43c]
push edx
push eax
push ecx
call fcn.100fbb30
add esp, 0xc
test eax, eax
je 0x1010441b
push 0xffffe064
call fcn.1010c480
add esp, 4
mov ebx, dword [ebp - 0x43c]
jmp 0x1010457a
movzx eax, word [ebp - 0x450]
xor ecx, ecx
cmp eax, 0x301
setae cl
mov ebx, dword [ebp - 0x43c]
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x454], edx
lea ecx, [ecx*4 + 0x373]
sub esp, 0x28
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], edx
movaps xmm0, xmmword [0x101c5730]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x10c
call fcn.100c8d10
add esp, 0x28
test eax, eax
je 0x101046f2
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x450], edi
mov eax, dword [ebp - 0x434]
mov eax, dword [eax + 0xc]
add eax, 2
push eax
push 0x10
push esi
call fcn.100f6e20
add esp, 0xc
test eax, eax
jne 0x10104560
mov eax, dword [ebp - 0x454]
mov edi, dword [eax + 0x1c]
mov ebx, dword [eax + 0x34]
lea eax, [ebp - 0x44c]
push 2
push 0
push edi
push eax
call fcn.1010ba80
add esp, 0x10
test eax, eax
jne 0x10104560
cmp edi, ebx
je 0x101044ff
sub ebx, edi
xor edi, edi
push 1
push edi
push edi
lea eax, [ebp - 0x44c]
push eax
call fcn.1010ba80
add esp, 0x10
test eax, eax
jne 0x10104560
inc ebx
jne 0x101044e5
mov eax, dword [ebp - 0x454]
push dword [eax + 0x34]
push dword [eax + 0x30]
lea eax, [ebp - 0x44c]
push eax
call fcn.1010b9e0
add esp, 0xc
test eax, eax
jne 0x10104560
mov edx, dword [ebp - 0x44c]
mov ecx, esi
push 0
push dword [ebp - 0x448]
call fcn.1010c110
add esp, 8
test eax, eax
jne 0x10104560
push 1
push dword [ebp - 0x458]
push esi
call fcn.100f50f0
add esp, 0xc
test eax, eax
je 0x10104a6e
push 0xffffd045
call fcn.1010c480
add esp, 4
push dword [ebp - 0x458]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov edi, dword [ebp - 0x450]
mov ebx, dword [ebp - 0x460]
test ebx, ebx
jne 0x101046ff
jmp 0x10104708
push 0
push 0xffffd054
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [ebp - 0x450]
xor eax, eax
test byte [esi + 0x1d], 4
jne 0x101045b6
push dword [esi + 0x174]
mov ebx, eax
call fcn.100d4880
mov eax, ebx
add esp, 4
test eax, eax
je 0x101045f8
mov dword [ebp - 0x454], eax
push edi
call fcn.1008eda0
add esp, 4
lea ecx, [eax + 7]
shr ecx, 3
mov dword [ebp - 0x444], ecx
cmp eax, 0x2001
jb 0x10104642
push 0x2f
push 2
push esi
call fcn.100f4470
add esp, 0xc
push 0xffffd045
call fcn.1010c480
add esp, 4
jmp 0x1010460f
push 0xffffd045
call fcn.1010c480
add esp, 4
mov dword [ebp - 0x454], 0
xor ebx, ebx
dec ebx
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x10104626
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x1010471a
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
jmp 0x1010471a
push ecx
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [ebp - 0x448], eax
xor ebx, ebx
dec ebx
test eax, eax
je 0x10104612
xor eax, eax
cmp dword [edi + 4], 1
sete al
lea eax, [eax + eax - 1]
lea ecx, [ebp - 0x44c]
push ecx
push dword [ebp - 0x454]
push 0
push eax
push edi
call fcn.100c7ea0
add esp, 0x14
test eax, eax
je 0x10104696
push 0xffffd045
mov ebx, eax
call fcn.1010c480
add esp, 4
jmp 0x10104612
movzx edi, word [ebp - 0x458]
mov ecx, dword [ebp - 0x444]
lea eax, [ecx + 2]
cmp edi, 0x301
mov dword [ebp - 0x458], ecx
cmovb eax, ecx
push eax
push 0x10
push esi
call fcn.100f6e20
add esp, 0xc
test eax, eax
jne 0x10104a1a
mov edx, dword [ebp - 0x448]
cmp edi, 0x301
jb 0x10104a04
push 2
push dword [ebp - 0x458]
push edx
push esi
call fcn.1010c330
add esp, 0x10
jmp 0x10104a16
push 0xffffd045
call fcn.1010c480
add esp, 4
push ebx
call fcn.10116b10
add esp, 4
lea eax, [ebp - 0x44c]
push eax
call fcn.1010bf00
add esp, 4
xor ebx, ebx
dec ebx
push edi
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
test ebx, ebx
jne 0x10104969
cmp byte [ebp - 0x45c], 0
je 0x1010492e
mov edi, dword [esi + 0x3d4]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
test byte [esi + 0x1d], 4
jne 0x1010475d
push dword [esi + 0x174]
call fcn.100d4620
add esp, 4
cmp dword [esi + 0x454], 3
jne 0x1010478b
push dword [esi + 0x488]
call fcn.100f70c0
add esp, 4
mov ecx, dword [esi + 0x494]
mov ecx, dword [ecx + 0x10]
test ecx, ecx
mov edx, 4
cmovne edx, ecx
cmp eax, edx
jne 0x101047ff
mov edx, dword [esi + 0x3bc]
lea eax, [ebp - 0x430]
mov ecx, esi
push 0
push eax
call fcn.100f7700
add esp, 8
mov ebx, eax
test byte [esi + 0x1d], 4
jne 0x101047ba
push dword [esi + 0x174]
call fcn.100d4700
add esp, 4
test ebx, ebx
jne 0x10104901
movzx ecx, word [esi + 0x58]
xor eax, eax
mov dword [ebp - 0x45c], ecx
cmp ecx, 0x301
setae al
mov ebx, dword [esi + 0x488]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x430]
push ecx
push eax
push ebx
push edi
push edx
call fcn.100f46a0
add esp, 0x14
test eax, eax
je 0x10104833
xor ebx, ebx
dec ebx
jmp 0x10104901
mov ecx, dword [esi + 0x458]
mov edx, dword [esi + 0x45c]
lea ebx, [ebp - 0x430]
push ebx
push eax
call fcn.100f7c90
add esp, 8
test eax, eax
je 0x10104850
mov ebx, eax
push 0xffffd07f
call fcn.1010c480
add esp, 4
jmp 0x101047a6
cmp dword [esi + 0x60], 0
je 0x10104857
mov dword [esi + 0x88], ebx
push ebx
call fcn.100f4970
add esp, 4
mov dword [esi + 0x80], eax
jmp 0x1010489d
xor ebx, ebx
jmp 0x101047a6
mov ecx, dword [esi + 0xc4]
mov eax, dword [edi + 8]
lock inc dword [eax + 0x48]
movzx edx, word [eax + 0x80]
mov word [ecx + 0xe8], dx
mov edx, dword [eax + 0x40]
mov dword [ecx + 0xe4], edx
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x38]
mov dword [ecx + 0xe0], edx
mov byte [ecx + 0xeb], 1
lock dec dword [eax + 0x48]
jne 0x1010489d
push eax
call fcn.100cb320
add esp, 4
movzx edi, word [ebp - 0x45c]
xor eax, eax
cmp edi, 0x303
sete al
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + eax*2 + 2]
push eax
push 0xf
push esi
call fcn.100f6e20
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x10104901
cmp edi, 0x303
jne 0x101048ee
mov eax, dword [esi + 0x488]
mov ecx, eax
sar ecx, 0x1f
push 2
push ecx
push eax
push esi
call fcn.1010c2b0
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x10104901
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push esi
call fcn.1010c330
add esp, 0x10
mov ebx, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10104912
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push dword [esi + 0x3d4]
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
mov dword [esi + 0x3d4], 0
test ebx, ebx
jne 0x10104969
mov ecx, esi
call fcn.10103c90
mov ebx, eax
test eax, eax
jne 0x10104969
mov dword [esi + 0x3c], 1
cmp dword [esi + 0x38], 0
jne 0x1010495a
mov eax, dword [esi + 0x1c]
bt eax, 0x10
jae 0x1010495a
cmp dword [esi + 0x540], 0
je 0x101049c6
mov ecx, esi
xor edx, edx
call fcn.10103d30
mov ebx, eax
test eax, eax
je 0x10104986
test byte [esi + 0x1d], 4
jne 0x10104061
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
jmp 0x10104061
test byte [esi + 0x1d], 4
jne 0x1010499a
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
push 0x23
push esi
call fcn.10105f30
add esp, 8
test eax, eax
je 0x101049b5
mov dword [esi + 0x450], 0xe
jmp 0x101049bf
mov dword [esi + 0x450], 6
xor ebx, ebx
jmp 0x10104061
bt eax, 0xa
jb 0x101049da
push dword [esi + 0x168]
call sym.nss3.dll_PR_ExitMonitor
add esp, 4
mov ecx, esi
call fcn.100fc8c0
mov ebx, eax
test byte [esi + 0x1d], 4
jne 0x101049f7
push dword [esi + 0x168]
call sym.nss3.dll_PR_EnterMonitor
add esp, 4
test ebx, ebx
jne 0x10104969
jmp 0x1010495a
mov ecx, esi
push 0
push dword [ebp - 0x458]
call fcn.1010c110
add esp, 8
test eax, eax
je 0x10104a27
mov ebx, eax
mov edi, dword [ebp - 0x450]
jmp 0x10104612
push 1
mov edi, dword [ebp - 0x454]
push edi
push esi
call fcn.100f50f0
add esp, 0xc
mov dword [ebp - 0x458], eax
push edi
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov dword [ebp - 0x454], 0
cmp dword [ebp - 0x458], 0
je 0x10104a6a
push 0xffffd045
call fcn.1010c480
add esp, 4
jmp 0x10104a1c
xor ebx, ebx
jmp 0x10104a1c
lea eax, [ebp - 0x44c]
push eax
call fcn.1010bf00
add esp, 4
push dword [ebp - 0x458]
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
push dword [ebp - 0x460]
call fcn.10116b10
add esp, 4
xor ebx, ebx
mov edi, dword [ebp - 0x450]
jmp 0x1010471a